/*
Theme Name: My Custom Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A custom starter theme built from scratch.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: my-custom-theme
*/

/* -------------------------------
   Basic Reset
-------------------------------- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fff;
}

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

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

a:hover {
    text-decoration: underline;
}

ul {
    padding-left: 1.25rem;
}

/* -------------------------------
   Layout
-------------------------------- */
.site-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.site-header .site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-header .site-title a {
    color: inherit;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0.5rem 0 0;
}

.content-area {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
}

.site-main {
    flex: 1;
    min-width: 0;
}

.widget-area {
    width: 260px;
    flex-shrink: 0;
}

article {
    margin-bottom: 2.5rem;
}

article .entry-title {
    margin-bottom: 0.25rem;
}

article .entry-meta {
    color: #777;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.site-footer {
    border-top: 1px solid #eee;
    padding: 1.5rem 0;
    color: #777;
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 700px) {
    .content-area {
        flex-direction: column;
    }
    .widget-area {
        width: 100%;
    }
}
