/*
Theme Name: WPTheme Mini
Theme URI: https://example.com/wptheme-mini
Author: Noman Akher
Author URI: https://example.com
Description: A lightweight, minimal WordPress starter theme with clean typography and no bloat. Built for speed and easy customization.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wptheme-mini
*/

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
}

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

a { color: #0057ff; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    margin: 1.5em 0 0.5em;
    font-weight: 700;
}

/* ---------- Layout ---------- */
.site-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #eef0f3;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.site-header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}
.site-brand:hover { text-decoration: none; }

.site-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0;
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-title {
    font-size: 19px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.site-description {
    color: #6b7280;
    font-size: 12.5px;
    margin-top: 2px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.main-nav a {
    display: inline-block;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
    background: #eef2ff;
    color: #2563eb;
    text-decoration: none;
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    background: #2563eb;
    color: #fff;
}

.site-wrapper {
    padding-top: 24px;
}

/* ---------- Content ---------- */
.entry {
    margin-bottom: 56px;
}

.entry-title {
    font-size: 26px;
    margin-top: 0;
}

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

.entry-content p { margin: 1em 0; }

.entry-content blockquote {
    margin: 1.5em 0;
    padding-left: 20px;
    border-left: 3px solid #ddd;
    color: #555;
    font-style: italic;
}

.entry-content pre {
    background: #f5f5f5;
    padding: 16px;
    overflow-x: auto;
    border-radius: 6px;
    font-size: 14px;
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid #eee;
    margin-top: 60px;
    padding: 30px 0 50px;
    color: #888;
    font-size: 14px;
    text-align: center;
}

/* ---------- Widgets / Sidebar ---------- */
.widget { margin-bottom: 30px; }
.widget-title { font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; color: #444; }

/* ---------- Comments ---------- */
.comment-list { list-style: none; padding: 0; }
.comment-body { border-bottom: 1px solid #eee; padding: 20px 0; }
.comment-author { font-weight: 600; }
.comment-meta { font-size: 13px; color: #888; }

@media (max-width: 600px) {
    body { font-size: 16px; }
    .site-title { font-size: 24px; }
}
