/*
Theme Name: The Elegant Muse
Theme URI: https://example.com/elegant-muse
Author: Your Name
Author URI: https://yourwebsite.com
Description: A minimal, responsive, and beautiful template focused on typography and clarity.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, full-width-template, light, one-column, accessibility-ready
Text Domain: elegant-muse
*/

/* --- Typography Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@300;400;600&display=swap');

:root {
    --color-primary: #4a5568; /* Dark Gray for text */
    --color-secondary: #a0aec0; /* Lighter Gray for meta info */
    --color-background: #ffffff;
    --color-accent: #6b46c1; /* Soft Violet for links/highlights */
    --max-width: 768px;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-primary);
    background-color: var(--color-background);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem; /* Padding for mobile screens */
}

/* --- Header & Navigation --- */
.site-header {
    padding: 3rem 0;
    text-align: center;
}

.site-title a {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

.site-title a:hover {
    color: var(--color-accent);
}

/* --- Main Content & Posts --- */
.content-area {
    padding-bottom: 5rem;
}

article {
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf2f7; /* Light divider */
}

.entry-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.entry-title a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

.entry-title a:hover {
    color: var(--color-accent);
}

.entry-meta {
    font-size: 0.85rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* --- Links & Buttons --- */
a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.read-more-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #edf2f7;
    font-size: 0.8rem;
    color: var(--color-secondary);
}

/* --- Responsiveness: Tweak layout for slightly larger screens --- */
@media (min-width: 600px) {
    .site-header {
        padding: 5rem 0;
    }

    .site-title a {
        font-size: 3rem;
    }
}
/* --- 5. Layout and Responsiveness (Grid) --- */
.main-content-area {
    display: flex;
    flex-wrap: wrap; /* Allows columns to stack on mobile */
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.content-area {
    flex: 1 1 70%; /* Takes up 70% of space */
    padding-right: 40px;
}

.widget-area {
    flex: 1 1 30%; /* Takes up 30% of space */
}

If your error is a layout problem, check if:

1.  **The Sidebar is Invisible:** Make sure you've added at least one widget to the "Sidebar" in **Appearance > Widgets**. An empty sidebar won't appear.
2.  **The Columns Aren't Side-by-Side:** Ensure your template files (`index.php`, `page.php`, etc.) correctly wrap the main content and sidebar like this:
    ```php
    <div class="main-content-area">
        <div class="content-area">
            <?php /* main loop content here */ ?>
        </div>
        <?php get_sidebar(); ?>
    </div>
    
If the issue persists, could you tell me **what specific error message you see, or what visually is not working** (e.g., "The navigation menu is broken," or "My sidebar is underneath the main content")? That detail will help me pinpoint the exact fix!