/* =========================================
   Bundesamt f&#252;r Verfassugschutz
   ========================================= */

/* ---------- Основные настройки ---------- */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #e0e0e0;
    background-color: #121212;
    margin: 0;
    padding: 0;
}

/* ---------- Шапка ---------- */
header.forum-header {
    background-color: #b71c1c;
    color: #ffffff;
    padding: 15px 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ---------- Бургер-меню для телефона ---------- */
.burger-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger-menu button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* ---------- Главное меню ---------- */
nav.forum-nav {
    display: none;
    flex-direction: column;
    background-color: #1b1b1b;
    padding: 10px;
}

nav.forum-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav.forum-nav a:hover {
    background-color: #b71c1c;
}

/* ---------- Контейнер форума ---------- */
.container {
    padding: 10px;
}

/* ---------- Пост форума ---------- */
.forum-post {
    background-color: #1e1e1e;
    border-left: 4px solid #b71c1c;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

/* ---------- Аватар и инфо ---------- */
.forum-post-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.forum-post-header img.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #b71c1c;
}

.forum-post-header .meta {
    display: flex;
    flex-direction: column;
}

.forum-post-header .meta .username {
    font-weight: bold;
    color: #ff5252;
    font-size: 16px;
}

.forum-post-header .meta .date {
    font-size: 12px;
    color: #aaaaaa;
}

/* ---------- Контент поста ---------- */
.forum-post .content {
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 5px;
}

/* ---------- Кнопки ---------- */
.button {
    background-color: #b71c1c;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
    transition: background 0.3s;
}

.button:hover {
    background-color: #ff5252;
}

/* ---------- Форма ответа ---------- */
.reply-form textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #333333;
    border-radius: 5px;
    padding: 10px;
    resize: vertical;
    font-family: inherit;
    background-color: #1e1e1e;
    color: #e0e0e0;
}

.reply-form input[type="submit"] {
    margin-top: 10px;
    width: 100%;
    font-size: 16px;
}

/* ---------- Подвал ---------- */
footer.forum-footer {
    background-color: #1b1b1b;
    color: #aaaaaa;
    text-align: center;
    padding: 15px 10px;
    margin-top: 20px;
    font-size: 12px;
}

/* =========================================
   АДАПТИВНЫЙ ДИЗАЙН ДЛЯ МОБИЛЬНЫХ
   ========================================= */
@media (max-width: 768px) {
    nav.forum-nav {
        display: flex;
    }

    .forum-post-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .forum-post-header img.avatar {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .button {
        padding: 12px;
    }

    .forum-post {
        padding: 12px;
    }
}