* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    background-color: #FFF8F8;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.post-single {
    background: transparent;
    padding: 1rem 0;
    border-radius: 0;
    box-shadow: none;
    line-height: 1.7;
}

.post-header {
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.3;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.post-date {
    display: block;
    margin-bottom: 0.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.post-tag {
    background: rgba(52, 73, 94, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: #34495e;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.post-tag:hover {
    background: rgba(52, 73, 94, 0.2);
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 2rem;
}

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

.post-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 0.8rem;
    color: #2c3e50;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 0.8rem;
    color: #2c3e50;
}

.post-content a {
    color: #3494E6 !important;
    text-decoration: none;
}

.post-content a:hover {
    color: #1E6091 !important;
    text-decoration: underline;
}

.post-content code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #e83e8c;
}

.post-content pre {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.2rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #eee;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #333;
    font-size: 0.9rem;
}

.post-content blockquote {
    border-left: 4px solid #3494E6;
    padding: 0.8rem 0 0.8rem 1.2rem;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 6px 6px 0;
    color: #555;
    font-style: italic;
}

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

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

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.paginav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.prev-post, .next-post {
    text-decoration: none;
    color: #333;
    padding: 1rem;
    border-radius: 4px;
    background: #f5f5f5;
    transition: background 0.2s ease;
}

.prev-post:hover, .next-post:hover {
    background: #e0e0e0;
}

.paginav-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
}

.paginav-title {
    display: block;
    font-weight: 500;
}

@media (max-width: 768px) {
    .blog-container {
        padding: 1rem;
    }

    .post-single {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.75rem;
    }
}

/* Home page specific styles */
.home-content {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-content .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.home-content .visual-side, .visual-side {
    flex: 0.7;
    min-width: 280px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
}

.photo-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-content .content-side, .content-side {
    flex: 1.3;
    min-width: 320px;
    padding: 2rem 3rem 2rem 0;
    order: 1;
}

.home-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.6rem;
    color: #2c3e50;
}

.home-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #34495e;
    line-height: 1.7;
    max-width: 600px;
}

.home-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: none;
}

.home-content a:hover {
    color: #2980b9;
}

.home-content .social-links {
    margin: 2.5rem 0;
    font-size: 1.05rem;
}

.home-content .social-links a {
    margin: 0 0.5rem;
    padding-bottom: 2px;
}

.home-content .social-links a:first-child {
    margin-left: 0;
}

.home-content .location-info {
    margin-top: 2.5rem;
    color: #7f8c8d;
    font-size: 0.95rem;
    font-style: italic;
}

/* Header and Navigation */
.site-header {
    background: #FFF8F8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}

.site-nav {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2c3e50;
}

.site-title:hover {
    color: #34495e;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #34495e;
    font-weight: 500;
    font-size: 1rem;
}

.nav-link:hover {
    color: #2c3e50;
}

/* Blog and content pages */
.blog-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-page h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #34495e;
}

.blog-page h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem;
    color: #34495e;
}

.blog-page p {
    margin-bottom: 1.2rem;
    color: #2c3e50;
}

.blog-page a {
    color: #34495e;
    text-decoration: none;
    border-bottom: none;
}

.blog-page a:hover {
    color: #2c3e50;
}

/* Post list styles */
.post-list {
    list-style: none;
    padding: 0;
}

.post-list-item {
    margin-bottom: 2rem;
}

.post-list-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.post-list-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

.post-list-title a:hover {
    color: #34495e;
}

.post-list-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Tags page */
.tags-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag-item {
    background: rgba(52, 73, 94, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 3px;
    text-decoration: none;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.tag-item:hover {
    background: rgba(52, 73, 94, 0.15);
}

.tag-count {
    background: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .blog-page, .home-content {
        padding: 1rem;
    }

    .blog-page h1 {
        font-size: 2rem;
    }

    .blog-page h2 {
        font-size: 1.5rem;
    }

    .blog-page h3 {
        font-size: 1.2rem;
    }

    .site-header {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .home-content .content-side, .content-side {
        order: 1;
        padding: 2rem 1rem;
        min-width: 100%;
    }
    
    .home-content .visual-side, .visual-side {
        order: 2;
        min-width: 100%;
    }
}

.gradient-placeholder {
    width: 280px;
    height: 380px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3494E6, #EC6EAD);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin: 1rem;
}

/* Video elements */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 2rem 0;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

video.small-video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

/* Base link style with smooth underline animation */
a {
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Override for links that should not have the underline animation */
.post-tag::after,
.tag-item::after,
.prev-post::after,
.next-post::after {
    display: none;
}

/* Update blog-page links to use the animation */
.blog-page a {
    color: #34495e;
    border-bottom: none;
}

.blog-page a:hover {
    color: #2c3e50;
}

/* Update home-content links to use the animation */
.home-content a {
    color: #3498db;
    border-bottom: none;
}

.home-content a:hover {
    color: #2980b9;
}

/* Standardized container for all list pages */
.container,
.readings-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.content-side {
    padding: 0 !important;
    max-width: 100% !important;
}

/* Standardized page header for all list pages */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.page-header .post-description {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 700px;
} 