/* style.css - Shared Minimalist Stylesheet */
:root {
    --bg-color: #fafafa;
    --text-main: #222222;
    --text-muted: #666666;
    --accent-color: #0056b3;
    --border-color: #eaeaea;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-color); text-decoration: none; transition: color 0.2s ease; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 600; margin: 1.5rem 0 0.5rem 0; }
h1 { font-size: 2rem; letter-spacing: -0.5px; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-muted); font-size: 1.05rem; }
.date { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 0.5rem; }

/* Header & Navigation */
header.site-header {
    display: flex; justify-content: space-between; align-items: baseline;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
header.site-header h1 { font-size: 1.4rem; margin: 0; }
header.site-header h1 a { color: var(--text-main); }
nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: var(--text-muted); font-size: 0.95rem; }
nav a:hover, nav a.active { color: var(--text-main); text-decoration: none; font-weight: 500; }

/* Images */
.image { display: inline-block; max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 1rem; }
.image img { display: block; width: 100%; height: auto; }
.image.left { float: left; margin-right: 1.5rem; max-width: 40%; }
.image.right { float: right; margin-left: 1.5rem; max-width: 40%; }
.image.main { width: 100%; margin: 1.5rem 0; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0; }
.image-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* Action Buttons */
ul.actions { list-style: none; display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
ul.actions a.button { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--accent-color); border-radius: 4px; text-align: center; }
ul.actions a.button.primary { background: var(--accent-color); color: #fff; }

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem; margin-top: 4rem;
    display: flex; flex-direction: column; gap: 1rem;
    font-size: 0.9rem; color: var(--text-muted);
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Responsive Adjustments */
@media (max-width: 600px) {
    header.site-header { flex-direction: column; align-items: center; text-align: center; }
    nav { justify-content: center; }
    .image.left, .image.right { float: none; max-width: 100%; margin: 0 0 1rem 0; }
    .footer-links { justify-content: center; }
    footer.site-footer { text-align: center; }
}