/*
Theme Name: Reportery MC Theme
Version: 16.0
*/

* { box-sizing: border-box; }
body { background-color: #000; color: #fff; font-family: 'Arial Black', sans-serif; margin: 0; }

/* Навигация */
.main-nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(0, 0, 0, 0.95); border-bottom: 1px solid #1a1a1a;
    z-index: 999; padding: 15px 40px; display: flex; align-items: center;
}
.nav-container { display: flex; width: 100%; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; }

/* Стили мобильного меню (Гамбургер) */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; z-index: 1000; }
.menu-toggle .bar { width: 25px; height: 3px; background-color: #fff; margin: 4px 0; transition: 0.3s; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(11px) rotate(45deg); background-color: #ff0000; }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); background-color: #ff0000; }

.nav-links ul { list-style: none; display: flex; gap: 20px; align-items: center; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; position: relative; padding-bottom: 5px; font-size: 13px; transition: 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: #ff0000; box-shadow: 0 0 10px #ff0000; transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #ff0000; }

.nav-social a { color: #fff; font-size: 24px; transition: 0.3s; text-shadow: 0 0 10px rgba(38, 165, 228, 0.5); }
.nav-social a:hover { color: #26A5E4; transform: scale(1.1); }

/* Мобильная адаптация навигации */
@media (max-width: 768px) {
    .main-nav { padding: 15px 20px; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 100%; left: -20px; width: calc(100% + 40px);
        background: rgba(0, 0, 0, 0.98); border-bottom: 2px solid #ff0000;
        flex-direction: column; align-items: center; padding: 0;
        max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    }
    .nav-links.active { max-height: 400px; padding: 20px 0; }
    .nav-links ul { flex-direction: column; gap: 20px; text-align: center; }
}

/* Логотип */
.hero-header { min-height: 60vh; display: flex; justify-content: center; align-items: center; padding-top: 100px; }
.main-skull-png { width: 100% !important; max-width: 450px !important; height: auto !important; object-fit: contain; filter: drop-shadow(0 0 20px rgba(255,0,0,0.3)); }

/* =========================================
   Блок "О Клубе" на ГЛАВНОЙ странице
   ========================================= */
.about-club { padding: 40px 20px; text-align: center; }
.about-text { max-width: 800px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: #ccc; font-family: 'Arial', sans-serif; font-style: italic; }

/* Контент */
.content-area { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.padding-top-nav { padding-top: 120px; }
.section-title { color: #ff0000; text-align: center; text-transform: uppercase; margin-bottom: 40px; font-size: 28px; }
.post-card { background: #080808; border: 1px solid #1a1a1a; padding: 30px; margin-bottom: 20px; }
.post-card h3 { margin-top: 0; }
.post-card h3 a { color: #fff; text-decoration: none; font-size: 24px; text-transform: uppercase; }
.post-card h3 a:hover { color: #ff0000; }
.full-content { color: #e0e0e0 !important; line-height: 1.6; font-family: 'Arial', sans-serif; }

/* Очистка обтекания для карточек новостей */
.post-card::after { content: ""; display: table; clear: both; }

/* Общие стили для картинок новостей */
.news-thumbnail { width: 100%; height: auto; object-fit: cover; border-radius: 4px; border: 1px solid #222; }

/* Небольшая картинка на главной странице (слева от текста) */
a > .news-thumbnail { 
    max-width: 250px; 
    float: left; 
    margin-right: 25px; 
    margin-bottom: 15px; 
    transition: 0.3s;
}
a > .news-thumbnail:hover { border-color: #ff0000; box-shadow: 0 0 15px rgba(255,0,0,0.3); }

/* Крупная картинка внутри самой открытой новости */
.post-card > .news-thumbnail { max-width: 100%; max-height: 600px; object-fit: contain; float: none; margin-bottom: 25px; background: #000; }

/* Кнопка "Читать далее" */
.mc-btn-readmore { display: inline-block; margin-top: 15px; color: #ff0000; text-decoration: none; font-weight: bold; text-transform: uppercase; border: 1px solid #ff0000; padding: 10px 20px; border-radius: 3px; transition: 0.3s; }
.mc-btn-readmore:hover { background: #ff0000; color: #fff; }

/* =========================================
   БЛОКИ ДЛЯ КОНТАКТОВ, УСЛУГ И ВСТУПЛЕНИЯ
   ========================================= */
.mc-box { background: #0a0a0a; border: 1px solid #222; padding: 40px; text-align: center; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.mc-box-title { color: #fff; text-transform: uppercase; letter-spacing: 2px; font-size: 18px; margin-bottom: 10px; display: block; }
.mc-box-text { color: #aaa; font-size: 16px; margin-bottom: 25px; }
.mc-phone { display: block; font-size: 28px; color: #ff0000; font-weight: bold; text-decoration: none; margin: 20px 0; transition: 0.3s; }
.mc-phone:hover { color: #fff; text-shadow: 0 0 10px #ff0000; }
.mc-btn { display: inline-block; background: #ff0000; color: #fff !important; padding: 15px 30px; text-decoration: none; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; transition: 0.3s; border-radius: 3px; margin-top: 15px; }
.mc-btn i { margin-right: 8px; font-size: 18px; }
.mc-btn:hover { background: #cc0000; box-shadow: 0 0 20px rgba(255,0,0,0.6); transform: translateY(-3px); }
.mc-list { text-align: left; max-width: 500px; margin: 20px auto; color: #ccc; line-height: 1.8; font-size: 16px; }
.mc-list li { margin-bottom: 10px; }

/* Белая кнопка Telegram, синеющая при наведении */
.mc-btn-tg { background: #fff !important; color: #000 !important; }
.mc-btn-tg:hover { background: #2AABEE !important; color: #fff !important; border-color: #2AABEE !important; box-shadow: 0 0 20px rgba(42, 171, 238, 0.6) !important; }

/* =========================================
   ОБНОВЛЕННЫЙ БЛОК ПАРТНЕРОВ (БЕЗ ФОНА, ГЛОУ-ЭФФЕКТ)
   ========================================= */
.mc-partners-section { text-align: center; margin-top: 60px; padding-top: 40px; border-top: 1px solid #1a1a1a; }
.mc-partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.mc-partner-item { background: transparent !important; border: none !important; border-radius: 0; padding: 0; width: calc(33.333% - 30px); min-width: 180px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; text-decoration: none; }
.mc-partner-item img { max-width: 100%; height: auto; max-height: 80px; filter: grayscale(100%); transition: filter 0.4s ease, transform 0.3s ease; }
.mc-partner-item:hover { transform: translateY(-5px) scale(1.05); }
.mc-partner-item:hover img { filter: grayscale(0%) drop-shadow(0 0 8px rgba(255, 0, 0, 0.9)); }
@media (max-width: 768px) { .mc-partner-item { width: calc(50% - 30px); } .mc-partner-item img { max-height: 60px; } }

/* Форсированные стили The Events Calendar */
.tribe-events .tribe-events-c-small, .tribe-events .tribe-events-calendar-list__event-description, .tribe-common .tribe-common-b2, .tribe-common .tribe-common-b3, .tribe-events-calendar-month__calendar-event-title { color: #ddd !important; }
.tribe-events .tribe-events-calendar-list__event-title a, .tribe-common h3.tribe-common-h3 { color: #ff0000 !important; }
.tribe-events-header__events-bar { background-color: #111 !important; border: 1px solid #333 !important; }
.tribe-common-c-btn, .tribe-events-c-search__button { background-color: #ff0000 !important; color: #fff !important; }
.tribe-common-c-btn:hover, .tribe-events-c-search__button:hover { background-color: #cc0000 !important; }
.tribe-common { background-color: #000 !important; }

/* =========================================
   ПОДВАЛ САЙТА (ФУТЕР)
   ========================================= */
.site-footer { background-color: #000; color: #555; text-align: center; padding: 25px 20px; border-top: 1px solid #1a1a1a; margin-top: 60px; font-size: 12px; letter-spacing: 1.5px; font-family: 'Arial', sans-serif; }
.site-footer p { margin: 0; }
/* =========================================
   СТИЛИ ДЛЯ ФОРМЫ РЕГИСТРАЦИИ (PIE REGISTER)
   ========================================= */
/* Делаем все тексты и названия полей светлыми */
.pieregWrapper label,
.pieregWrapper .fieldset label,
form.piereg_form label,
.pieregWrapper .legend,
.piereg_login_wrapper label {
    color: #e0e0e0 !important; 
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

/* Скрываем лишние системные надписи плагина, если они есть */
.pieregWrapper .piereg_message {
    color: #fff !important;
}

/* Стилизуем сами поля ввода под стиль клуба (темные с красным фокусом) */
.pieregWrapper input[type="text"],
.pieregWrapper input[type="password"],
.pieregWrapper input[type="email"] {
    background-color: #111 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    width: 100% !important;
    transition: 0.3s ease;
}

/* Красная подсветка поля при вводе текста */
.pieregWrapper input[type="text"]:focus,
.pieregWrapper input[type="password"]:focus,
.pieregWrapper input[type="email"]:focus {
    border-color: #ff0000 !important;
    outline: none !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4) !important;
}

/* Стилизуем кнопку отправки */
.pieregWrapper input[type="submit"] {
    background: #ff0000 !important;
    color: #fff !important;
    padding: 15px 30px !important;
    border: none !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    margin-top: 20px !important;
}

.pieregWrapper input[type="submit"]:hover {
    background: #cc0000 !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6) !important;
}

/* =========================================
   ФОРСИРОВАННЫЙ ЦВЕТ КЛИКАБЕЛЬНЫХ ЗАГОЛОВКОВ
   ========================================= */
.section-title a,
.section-title a:visited,
.section-title a:active {
    color: #ff0000 !important;
    text-decoration: none !important;
    transition: 0.3s !important;
}

.section-title a:hover {
    color: #fff !important;
    text-shadow: 0 0 15px #ff0000 !important;
}

/* =========================================
   ДИНАМИЧЕСКАЯ КНОПКА "ВХОД / РЕГИСТРАЦИЯ" В МЕНЮ
   ========================================= */
.main-nav .nav-links ul li.nav-auth-btn {
    margin-left: 15px;
}

.main-nav .nav-links ul li.nav-auth-btn a {
    display: inline-block;
    background: #ff0000;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.main-nav .nav-links ul li.nav-auth-btn a::after {
    display: none; /* Убираем стандартное подчеркивание меню */
}

.main-nav .nav-links ul li.nav-auth-btn a:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Кнопка выхода (делаем её менее яркой, например, серой или обводкой) */
.main-nav .nav-links ul li.nav-auth-btn:not(.nav-auth-logged-in):not(.nav-auth-login) a {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000 !important;
}

.main-nav .nav-links ul li.nav-auth-btn:not(.nav-auth-logged-in):not(.nav-auth-login) a:hover {
    background: #ff0000;
    color: #fff !important;
}

@media (max-width: 768px) {
    .main-nav .nav-links ul li.nav-auth-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}