/*
Theme Name: Lore Theme
Description: Простая черно-белая тема для лор-вселенной. Совместима с плагином Lore Core.
Version: 1.0.0
Author: You
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    border-bottom: 2px solid #000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.7;
}

/* Main Content */
.site-main {
    padding: 40px 0;
    min-height: 60vh;
}

/* Posts */
.post {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ccc;
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.post-title a {
    color: #000;
    text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-content {
    margin-bottom: 20px;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

/* Single Post */
.single-post .post-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.single-post .post-content {
    font-size: 16px;
    line-height: 1.8;
}

/* Taxonomies */
.post-taxonomies {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

.taxonomy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.taxonomy-item {
    display: inline-block;
    padding: 5px 10px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid #000;
}

.taxonomy-item:hover {
    background-color: #fff;
    color: #000;
}

.taxonomy-label {
    font-weight: bold;
    margin-right: 5px;
}

/* Archive */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
}

.archive-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.archive-description {
    color: #666;
    font-size: 16px;
}

/* Read More */
.read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

.read-more:hover {
    background-color: #000;
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #ccc;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #000;
    color: #fff;
}

.pagination .current {
    background-color: #000;
    color: #fff;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #ccc;
}

.post-navigation a {
    padding: 10px 15px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
}

.post-navigation a:hover {
    background-color: #000;
    color: #fff;
}

/* Footer */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .post-title {
        font-size: 24px;
    }

    .single-post .post-title {
        font-size: 28px;
    }
}

