/* Blog Post Layout Fix */

/* Single post and archive pages */
body.single article,
body.archive article,
body.blog article,
body.category article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Post title positioning */
.entry-title,
.entry-header .entry-title,
article .entry-title {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    padding: 0 30px !important;
    font-size: 2.5rem !important;
    color: #d4af37 !important;
}

/* Entry header */
.entry-header {
    margin-bottom: 20px !important;
    padding: 0 30px !important;
    margin-top: 0 !important;
}

/* Entry meta (date, author) */
.entry-meta {
    color: rgba(244, 228, 188, 0.7) !important;
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
    padding: 0 30px !important;
}

/* Main content container with sidebar */
.site-content {
    display: flex !important;
    gap: 20px !important;
    padding: 20px 20px !important;
    margin-top: 0 !important;
}

/* Primary content area */
#primary,
.content-area {
    flex: 1 !important;
    margin: 0 !important;
    padding: 30px !important;
    background: rgba(26, 26, 46, 0.3) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* Article content inside primary */
#primary article,
.content-area article {
    padding: 0 !important;
    margin: 0 !important;
}

/* Actual entry content */
.entry-content {
    padding: 0 30px !important;
}

/* Secondary sidebar */
#secondary,
.widget-area {
    flex: 0 0 300px !important;
    margin: 0 !important;
}

/* Archive page title */
.archive-title,
.page-title {
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    color: #d4af37 !important;
    font-size: 2rem !important;
}

/* Content paragraphs */
.entry-content p {
    color: #f4e4bc !important;
    line-height: 1.8 !important;
    margin-bottom: 1.2rem !important;
}

/* Links in content */
.entry-content a {
    color: #d4af37 !important;
    text-decoration: underline !important;
}

.entry-content a:hover {
    color: #f4e4bc !important;
}

/* Tags and categories section */
.entry-footer,
.post-tags,
.post-categories,
.cat-links,
.tags-links {
    padding: 0 30px !important;
    margin-top: 20px !important;
    color: rgba(244, 228, 188, 0.7) !important;
}

.entry-footer a,
.tags-links a,
.cat-links a {
    color: #d4af37 !important;
    text-decoration: none !important;
    padding: 5px 10px !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border-radius: 5px !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

.entry-footer a:hover,
.tags-links a:hover,
.cat-links a:hover {
    background: rgba(212, 175, 55, 0.3) !important;
}