/**
 * Single Body Styles
 */

/* Layout Wrapper */
.rye-single-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 10px;
}

/* Main Content Area */
.site-main {
    width: 100%;
}

/* Sidebar */
.widget-area {
    width: 100%;
    margin-top: 40px;
    /* Space between content and sidebar on mobile */
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.widget-area .widget {
    margin-bottom: 2.5rem;
}

.widget-area .widget-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ffd700;
    display: inline-block;
    padding-bottom: 5px;
}

/* Desktop Layout */
@media (min-width: 992px) {
    .rye-single-layout-wrapper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .site-main {
        flex: 1;
        /* Takes remaining space */
        max-width: calc(100% - 340px);
        /* Reserve space for sidebar */
    }

    .widget-area {
        width: 300px;
        flex-shrink: 0;
        margin-top: 0;
        border-top: none;
        padding-top: 0;
        border-left: 1px solid #eee;
        padding-left: 30px;
    }
}

/* Content Typography & Spacing */
.entry-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 1.1rem;
    /* 18px */
}

/* Paragraphs */
.entry-content p {
    margin-bottom: 1.5em;
}

/* Headings */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #111;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-size: 1.3rem;

}

.entry-content h2 {
    font-size: 1.8rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.5em;
}

/* Blockquotes */
.entry-content blockquote {
    border-left: 4px solid #ffd700;
    margin: 2em 0;
    padding: 1em 1.5em;
    font-style: italic;
    background: #f9f9f9;
    color: #555;
}

/* Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* Soft corners */
    margin: 2em 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Links */
.entry-content a {
    color: #0073aa;
    /* Standard WP blue or theme specific */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #005177;
    text-decoration-thickness: 2px;
}