/*
Theme Name: Movable Type 2005
Theme URI: https://yoursite.com
Description: A recreation of the classic Movable Type theme from 2005
Version: 1.0
Author: Your Name
Author URI: https://yoursite.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mt-2005
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #006633;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    background-color: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 28px;
    font-weight: normal;
    color: #333;
    margin-bottom: 5px;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-title a:hover {
    color: #006633;
}

.site-description {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
}

/* Main Content */
.main-content {
    background-color: #fff;
    padding: 20px 0;
}

article {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

article:last-child {
    border-bottom: none;
}

.post-date {
    font-size: 12px;
    font-weight: bold;
    color: #006633;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.post-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #006633;
}

.post-title a {
    color: #006633;
    text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-content {
    line-height: 1.8;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 15px;
}

.post-meta {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-top: 15px;
}

.post-meta a {
    color: #666;
    margin: 0 3px;
}

/* Sidebar */
.sidebar {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
}

.sidebar-widget {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #006633;
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    margin-bottom: 6px;
    font-size: 13px;
}

.sidebar-widget a {
    color: #006633;
}

/* Calendar Widget */
#wp-calendar {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: center;
}

#wp-calendar caption {
    font-weight: bold;
    margin-bottom: 10px;
    color: #006633;
    text-transform: uppercase;
}

#wp-calendar th {
    background-color: #f0f0f0;
    padding: 5px;
    font-weight: bold;
}

#wp-calendar td {
    padding: 5px;
    border: 1px solid #e0e0e0;
}

#wp-calendar a {
    font-weight: bold;
}

/* Search Form */
.search-form {
    margin-bottom: 15px;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    font-family: Arial, sans-serif;
    font-size: 12px;
    margin-bottom: 8px;
}

.search-form input[type="submit"] {
    width: 100%;
    padding: 8px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    font-size: 12px;
    cursor: pointer;
}

.search-form input[type="submit"]:hover {
    background-color: #e0e0e0;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.comment-list {
    list-style: none;
    margin-bottom: 20px;
}

.comment {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-text {
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0;
}

/* Footer */
.site-footer {
    background-color: #f5f5f5;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        order: 2;
    }
}