/*
Theme Name: Xavier Rudd Author Theme
Theme URI: https://xavierruddauthor.com
Author: Xavier Rudd
Description: Lightweight custom author theme with blog
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xavier-author
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
    font-size: 18px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #2c3e50;
    color: #fff;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

header a {
    color: #fff;
    text-decoration: none;
}

/* Navigation */
nav {
    margin-top: 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 1.5rem;
    opacity: 0.9;
}

nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* /* Author Bio Section */
.author-bio {
    background: #f8f9fa;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.author-bio-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-photo {
    flex-shrink: 0;
}

.author-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.author-text {
    flex: 1;
}

.author-text h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.author-text p {
    margin-bottom: 1rem;
}

.author-text p:last-child {
    margin-bottom: 0;
}Author Bio Section */
.author-bio {
    background: #f8f9fa;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.author-bio h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Blog Posts */
.blog-posts {
    margin-bottom: 3rem;
}

article {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

article:last-child {
    border-bottom: none;
}

article h2 {
    margin-bottom: 0.5rem;
}

article h2 a {
    color: #2c3e50;
    text-decoration: none;
}
/* Navigation */
nav {
    margin-top: 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 1.5rem;
    opacity: 0.9;
}

nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* WordPress Menu Styling */
.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.main-menu li {
    display: inline-block;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.main-menu a:hover {
    opacity: 1;
    text-decoration: underline;
}
article h2 a:hover {
    color: #3498db;
}

.post-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #3498db;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Single Post */
.post-content {
    margin-top: 2rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

footer a {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    body {
.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    display: block;
}

/* Make all WordPress images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* WordPress image alignments */
.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 1.5rem auto;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .alignleft,
    .alignright {
        float: none;
        display: block;
        margin: 1rem auto;
    }
}        font-size: 16px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    nav a {
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Author bio responsive */
@media (max-width: 768px) {
    .author-bio-content {
        flex-direction: column;
        text-align: center;
    }
    
    .author-photo img {
        width: 150px;
        height: 150px;
    }
}


/* Single Post */
.post-content {
    margin-top: 2rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

