/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 19 2026 | 10:11:21 */
:root {
    --bg: #05070A;
    --surface: #11141D;
    --border: #222632;
    --accent: #00F0FF; 
    --neon-pink: #FF00E5;
    --white: #FFFFFF;
    --text-dim: #A0AEC0;
}

body {
    background-color: var(--bg);
    color: var(--white);
    margin: 0;
    font-family: 'Elms Sans', sans-serif;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    padding: 16px 32px;
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 1);
	box-sizing: border-box;
	padding-left: 10px;
    padding-right: 10px;
}

.site-logo {
    font-family: 'Hubot Sans', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.site-logo span {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.menu-toggle {
    background: var(--accent);
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.1s;
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-toggle .line {
    width: 22px;
    height: 3px;
    background: var(--bg);
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--neon-pink);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.menu-content {
    width: 100%;
    max-width: 900px;
    padding: 40px;
}

.menu-search {
    position: relative;
    margin-bottom: 60px;
}

.menu-search input {
    width: 100%;
    background: var(--surface);
    border: 3px solid var(--accent);
    padding: 25px 30px;
    border-radius: 0px;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    outline: none;
    box-shadow: 8px 8px 0px var(--border);
}

.main-nav ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.main-nav a {
    font-family: 'Hubot Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    padding: 20px;
    border: 2px solid var(--border);
    transition: all 0.2s;
}

.main-nav a:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    transform: translate(-5px, -5px);
    box-shadow: 8px 8px 0px var(--neon-pink);
}

@media (max-width: 768px) {
    .main-nav ul {
        grid-template-columns: 1fr;
    }
    .main-nav a {
        font-size: 1.8rem;
    }
}

/* Кнопка поиска в лайтбоксе */
.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--neon-pink);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-family: 'Hubot Sans', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--border);
    transition: 0.2s;
}

.search-submit:hover {
    transform: translateY(-55%) translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--accent);
}


/* Стилизуем стандартный блок навигации WP под наш дизайн */
.main-nav .wp-block-navigation-item {
    list-style: none;
    margin: 0;
}

.main-nav .wp-block-navigation__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.main-nav .wp-block-navigation-item__content {
    font-family: 'Hubot Sans', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: var(--white) !important;
    text-transform: uppercase;
    display: block;
    padding: 25px !important;
    border: 2px solid var(--border) !important;
    background: var(--surface);
    text-align: center;
    transition: all 0.2s ease;
}

.main-nav .wp-block-navigation-item__content:hover {
    background: var(--accent) !important;
    color: var(--bg) !important;
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px var(--neon-pink);
}

/* Смещаем хедер, если видна админка */
.admin-bar .site-header {
    top: 32px;
}

/* На мобильных устройствах админ-бар выше */
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.latest-articles {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Hubot Sans', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.section-title span {
    color: var(--neon-pink);
}

/* Сетка на 5 колонок */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
}

.news-card {
    background: var(--surface);
    border: 2px solid var(--border);
    transition: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    filter: grayscale(1);
    transition: 0.3s;
}

.news-card:hover img {
    filter: grayscale(0);
}

.news-card-body {
    padding: 15px;
}

.news-card h3 {
    font-family: 'Hubot Sans', sans-serif;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.news-card a {
    color: var(--white);
    text-decoration: none;
}

.wp-block-post-date {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* Адаптив: на планшетах 3 в ряд, на мобилках 1 */
@media (max-width: 1100px) {
    .news-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr !important; }
    .latest-articles { padding: 40px 15px; }
}


/* Полный сброс для главных секций */
.site-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 100%;
    /* Добавляем безопасные отступы для всего сайта на мобильных */
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
}

/* Ограничиваем все блоки внутри main по ширине */
.site-content > *,
.custom-editor-content,
.latest-articles,
.wp-block-columns,
.latest-articles .container {
    max-width: 1200px !important;
    width: 100% !important;
    /* ИЗМЕНЕНИЕ: margin: 0 auto вместо auto !important, чтобы flex-контейнер не косило */
    margin: 0 auto !important; 
    box-sizing: border-box !important;
}

/* Фикс для колонок, которые ты добавил в редакторе (dsds) */
.wp-block-columns {
    padding-left: 0px;
    padding-right: 0px;
}

/* Сетка новостей: принудительно 5 в ряд */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 40px 0 0 0 !important;
}

/* Убираем стандартные отступы WP, которые ломают сетку */
.wp-block-query ul {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Карточки новостей */
.news-card {
    background: var(--surface);
    border: 2px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Адаптив под планшеты */
@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Адаптив под мобилки */
@media (max-width: 650px) {
    .news-grid {
        grid-template-columns: 1fr !important;
    }
}


:root {
    /* Высота твоей шапки + желаемый запас воздуха */
    --header-height: 120px; 
}

/* Основной отступ для контента */
.site-content {
    margin-top: var(--header-height) !important;
}

/* Фикс для залогиненных пользователей (чтобы админка не толкала шапку на контент) */
.admin-bar .site-header {
    top: 32px !important;
}

.admin-bar .site-content {
    /* Увеличиваем отступ, когда сверху есть админ-панель (32px) */
    margin-top: calc(var(--header-height) + 32px) !important;
}

/* Адаптив для мобильного админ-бара (он там выше — 46px) */
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px !important;
    }
    .admin-bar .site-content {
        margin-top: calc(var(--header-height) + 46px) !important;
    }
    
    :root {
        --header-height: 100px; /* На мобилках можно сделать отступ чуть меньше */
    }
}

/* Если в редакторе ты используешь блоки "Columns" или "Group", 
   которые имеют свои дефолтные верхние маржи, обнулим их у самого первого элемента */
.site-content > section:first-child,
.site-content > div:first-child {
    margin-top: 0 !important;
}


.site-footer {
    background-color: var(--surface);
    border-top: 4px solid var(--border);
    margin-top: 80px;
    padding: 60px 0 20px 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr; /* Настройка ширины колонок */
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'Hubot Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Стили для 18+ */
.disclaimer-18 {
    margin-top: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.badge-18 {
    background: var(--neon-pink);
    color: var(--white);
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 1.1rem;
    line-height: 1;
}

.disclaimer-18 p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.4;
}

/* Стили меню в футере */
.footer-menu .wp-block-navigation-item__content {
    padding: 8px 0 !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
    font-size: 1rem !important;
    color: var(--white) !important;
    text-transform: none !important;
    font-weight: 500 !important;
}

.footer-menu .wp-block-navigation-item__content:hover {
    color: var(--accent) !important;
    padding-left: 10px !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Контакты */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 12px;
    line-height: 1.5;
}

.contact-list strong {
    color: var(--white);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-list a {
    color: var(--white);
    text-decoration: none;
    transition: 0.2s;
}

.contact-list a:hover {
    color: var(--accent);
}

/* Копирайт */
.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Адаптив */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .disclaimer-18 {
        justify-content: center;
        max-width: 400px;
        margin: 20px auto;
    }
    
    .footer-menu .wp-block-navigation-item__content {
        text-align: center !important;
    }
}



/* Контейнер всей статьи */
.single-post-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Стеклянный Hero-блок */
.post-hero .content-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Типографика */
.single-post-wrapper .entry-title {
    font-family: 'Hubot Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 20px 0;
    color: #ffffff;
}

.post-body-content {
    font-family: 'Elms Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 60px auto;
}

/* Мета-данные (автор, дата) */
.post-meta-strip {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3b82f6; /* Акцентный синий */
}

/* Featured Image внутри сингла */
.post-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Сетка похожих постов */
.related-posts-section {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
}

.related-grid .news-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 10px;
    transition: all 0.3s ease;
}

.related-grid .news-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
}

.related-grid .news-card img {
    border-radius: 14px;
    margin-bottom: 15px;
}

.related-grid .news-card h3 {
    font-family: 'Hubot Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Общий контейнер архивов */
.archive-container, .author-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовки */
.archive-header, .section-title {
    font-family: 'Hubot Sans', sans-serif;
    margin-bottom: 50px;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
}

/* Author Box Specific */
.author-hero-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 80px;
}

.author-avatar-wrapper img {
    border-radius: 50%;
    border: 2px solid #3b82f6;
    padding: 5px;
}

.author-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #3b82f6;
    font-weight: 800;
}

.author-info h1 {
    font-family: 'Hubot Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 5px 0 15px;
}

/* Пагинация */
.wp-block-query-pagination {
    margin-top: 60px;
    gap: 15px;
    font-family: 'Hubot Sans', sans-serif;
    font-weight: 700;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
}

.wp-block-query-pagination a:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

.wp-block-query-pagination .current {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Сетка (если еще нет в общем CSS) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

.footer-menu ul li {
	list-style-type: none;
	padding: 0!important;
}

.footer-menu ul  {
	padding: 0!important;
	margin: 0!important;
}

.footer-menu a {
	color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
    line-height: 1.5;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
    display: block;
}