/*
Theme Name: Politmoscow
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Politmoscow is a modernized take on an ever-popular WordPress layout  the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
Version: 12.2
Requires at least: 4.4
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
Text Domain: Politmoscow

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.news-single__text {
	color: #000;
}

@media (max-width: 768px) {
    .hero::before {
        content: "";
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(/wp-content/themes/politmoscow/assets-new/images/hero-decor.svg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: right;
        z-index: -1;
    }

.cover {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}
}

.data-news {
    font-size: 12px;
    margin-bottom: 5px;
}

.data-news-big {
    font-size: 12px;
    margin-bottom: 5px;
    color: #fff
}

/* Кнопка открытия */
.search-open-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
        position: absolute;
    right: 0;
    top: 5%;
}

/* Оверлей модального окна */
.modal-overlay {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

/* Контент внутри */
.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    text-align: center;
}

/* Кнопка закрытия */
.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* Стилизация самого поля поиска WP */
.search-form-wrapper input[type="search"] {
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    border-radius: 5px;
    border: none;
}


/* Основной оверлей с эффектом размытия */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.9); /* Темный глубокий фон */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px); /* Размытие заднего плана */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Когда модалка активна (добавляется через JS) */
.modal-overlay.is-active {
    display: flex;
    opacity: 1;
}

/* Контейнер формы */
.modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.is-active .modal-content {
    transform: translateY(0);
}

/* Кнопка закрытия — сделаем её изящнее */
.modal-close-btn {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease, color 0.2s ease;
}

.modal-close-btn:hover {
    transform: rotate(90deg);
    color: #ff4d4d; /* Легкий акцент при наведении */
}

/* Стилизация формы поиска WordPress */
.search-form-wrapper .search-form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    transition: border-color 0.3s ease;
}

.search-form-wrapper .search-form:focus-within {
    border-color: #0073aa; /* Цвет бренда WP или ваш основной цвет */
}

/* Поле ввода */
.search-form-wrapper input[type="search"] {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    padding: 10px 0;
    outline: none !important;
}

/* Кнопка "Найти" внутри формы (если она есть) */
.search-form-wrapper input[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 15px;
    transition: background 0.3s ease;
}

.search-form-wrapper input[type="submit"]:hover {
    background: #005177;
}

/* Убираем стандартный крестик очистки в Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.modal-overlay {
    display: none; /* Скрыто */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.is-active {
    display: flex; /* Показываем */
    opacity: 1;
}
#search-modal-trigger .dashicons-search {
    width: 35px;
    height: 35px;
    font-size: 35px;
        color: red;
    }

/* Главный контейнер */
.map-main {
    display: flex;
    width: 100%;
    height: 700px;
    
    position: absolute;
}

/* Обертка плагина */
.ru_mow_newHtml5Mapbottom {
    width: 100%;
    height: 100%;
}

.news-actual__inner {
    height: 780px;
}
@media (max-width: 768px) {
.map-main {
    display: flex;
    width: 100%;
    height: 700px;
    
    position: relative;
}
.news-actual__inner {
    height: 1245px;
}

.tag .sections {
    margin-top: 80px!important;
}
.data-news-big {
    display: none;
}

.hero-news {
        display: none;
}
}

.tag .hero-news, .tag .news-main {
    display: none;
}

.tag .sections {
    margin-top: 100px;
}

#breadcrumbs a {
    text-decoration: underline ;
}

.breadcrumb {
    padding-top: 80px;
}

.breadcrumb-top {
    padding-top: 40px!important;
}