/*
Theme Name: Classic Blog V1 (Inspired by Screenshot)
Theme URI: https://manus.im
Author: Manus
Description: A faithful reproduction of the blog design from the provided screenshot.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: classic-blog-v1
*/

body {
    background-color: #f4f7f6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.logo p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    color: #3498db;
}

/* Layout */
.main-content {
    display: flex;
    margin-top: 30px;
    gap: 30px;
}

.content-area {
    flex: 2;
}

.sidebar {
    flex: 1;
}

/* Post List */
.post-item {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
}

.post-thumbnail {
    flex: 0 0 240px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-info {
    flex: 1;
}

.post-info h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.post-info h2 a {
    color: #333;
    text-decoration: none;
}

.post-info .excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-meta {
    font-size: 12px;
    color: #999;
}

.post-meta span {
    margin-right: 15px;
}

/* Sidebar Widgets */
.widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 18px;
    border-left: 4px solid #3498db;
    padding-left: 10px;
    margin-bottom: 15px;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.search-form button {
    padding: 8px 15px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.hot-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-article-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.hot-article-item:last-child {
    border-bottom: none;
}

.hot-article-thumb {
    flex: 0 0 80px;
}

.hot-article-thumb img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.hot-article-info h3 {
    font-size: 14px;
    margin: 0 0 5px 0;
}

.hot-article-info p {
    font-size: 11px;
    color: #999;
    margin: 0;
}

/* Footer */
footer {
    background: #fff;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #eee;
}
