/*
Theme Name: Final Project Child Theme
Theme URI: [Ваш адрес сайта]
Description: Дочерняя тема для итогового проекта.
Author: [Ваше Имя]
Author URI: [Ваш адрес сайта]
Template: twentytwentyfour
Version: 1.0.0
*/

/* --- Секция 1: Шапка (Header) --- */
/* Стиль для "Название компании" и "Слоган" */
.site-header .site-branding .site-title {
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}
.site-header .site-branding .site-description {
    color: #666;
    font-size: 14px;
}

/* Стиль для телефонов в правом верхнем углу */
.header-contact-info {
    position: absolute;
    top: 40px;
    right: 50px;
    text-align: right;
    font-size: 16px;
    color: #666;
}

/* --- Секция 2: Горизонтальное меню (Навигация) --- */
.main-navigation {
    background-color: #555; /* Темно-серый фон */
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}
.main-navigation ul {
    list-style: none;
    display: flex; /* Для горизонтального расположения */
    justify-content: center;
    margin: 0;
    padding: 0;
}
.main-navigation li a {
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s;
}
.main-navigation li a:hover {
    background-color: #777; /* Эффект при наведении */
}

/* --- Секция 3: Основной контент (Две колонки) --- */
.content-area {
    display: flex;
    max-width: 1200px;
    margin: 30px auto;
    gap: 30px;
}
.news-sidebar {
    flex: 0 0 300px; /* Фиксированная ширина для новостей */
    background-color: #f7f7f7; /* Легкий фон */
    padding: 20px;
    border: 1px solid #eee;
}
.main-content {
    flex-grow: 1; /* Оставшееся пространство для контента */
}

/* --- Секция 4: Подвал (Footer) --- */
.site-footer {
    background-color: #333; /* Темный фон подвала */
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}
.site-footer a {
    color: #fff;
    text-decoration: none;
}
/* --- Стили для всех форм плагина (Задание 3, 4, 1) --- */

/* Контейнер формы */
.fp-form-container {
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 400px;
    margin: 30px auto; /* Центрирование */
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Поля ввода (логин, пароль, email, текст сообщения) */
.fp-form-container input[type="text"],
.fp-form-container input[type="password"],
.fp-form-container input[type="email"],
.fp-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Важно, чтобы padding не увеличивал ширину */
    font-size: 16px;
    transition: border-color 0.3s;
}

/* Фокус на поле */
.fp-form-container input:focus,
.fp-form-container textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

/* Кнопка "Зарегистрироваться" / "Войти" */
.fp-form-container button[type="submit"],
.fp-form-container input[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    transition: background-color 0.3s;
}

.fp-form-container button[type="submit"]:hover,
.fp-form-container input[type="submit"]:hover {
    background-color: #005177;
}

/* Стиль для текста ошибки */
.fp-error {
    color: #dc3232;
    margin-bottom: 10px;
    font-weight: bold;
}