/*
Theme Name: Моя тема
Theme URI: https://example.com/my-theme/
Author: Ваше имя
Author URI: https://example.com/
Description: Описание вашей темы
Version: 1.0.0
License: GPL v2 or later
Text Domain: my-theme
Tags: блог, двухколоночная, адаптивная
*/

/* === СБРОС СТИЛЕЙ === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === ОСНОВНЫЕ СТИЛИ === */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* === ШАПКА === */
.site-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.site-description {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* === МЕНЮ === */
.main-navigation ul {
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #0073aa;
}

/* === ОСНОВНОЙ КОНТЕНТ === */
.site-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    display: flex;
}

.content-area {
    flex: 3;
    margin-right: 30px;
}

/* === САЙДБАР === */
.widget-area {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

/* === ЗАПИСИ === */
.entry {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.entry-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.entry-title a {
    text-decoration: none;
    color: #222;
}

.entry-title a:hover {
    color: #0073aa;
}

.entry-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
}

/* === СТРАНИЦЫ === */
.page .entry-title {
    font-size: 32px;
}

/* === ПОДВАЛ === */
.site-footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-widgets {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
}

.footer-widget {
    flex: 1;
    padding: 0 15px;
}

.site-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .site-content {
        flex-direction: column;
    }
    
    .content-area {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-widgets {
        flex-direction: column;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin: 5px 0;
    }
}