/*
Theme Name: Glitzra Blog
Theme URI: https://glitzra.com
Author: Glitzra
Description: Simple blog theme for Glitzra with clean list layout
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glitzra
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

.site-branding {
    text-align: center;
}

.site-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

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

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

/* Navigation */
.main-navigation {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    margin: 0;
}

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

.main-navigation a {
    color: #333;
    font-weight: 500;
}

/* Page Title */
.page-header {
    background: #f9f9f9;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}

/* Blog Posts */
.site-main {
    padding: 40px 0;
}

.posts-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Single Blog Post Item */
article {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

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

.entry-header {
    margin-bottom: 15px;
}

.entry-date {
    color: #999;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.entry-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

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

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

.entry-summary {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.post-thumbnail {
    margin: 20px 0;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination .current {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
}

.pagination a:hover,
.pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Single Post */
.single .entry-header {
    text-align: center;
    margin-bottom: 30px;
}

.single .entry-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.single .entry-meta {
    color: #999;
    font-size: 14px;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.entry-content h2 {
    font-size: 32px;
    margin: 30px 0 20px;
}

.entry-content h3 {
    font-size: 26px;
    margin: 25px 0 15px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

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

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: #ccc;
}

.footer-widget a:hover {
    color: #fff;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
    font-size: 14px;
}

/* Comments */
.comments-area {
    max-width: 800px;
    margin: 40px auto;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation li {
        margin: 5px 0;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .entry-title {
        font-size: 22px;
    }
    
    .single .entry-title {
        font-size: 32px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* WordPress Core Classes */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding-top: 10px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}