/* Blog Post Styles - matching the site theme */
body, h1, h2, h3, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #004346;
    padding: 20px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 900px;
    background-color: #F7F7FF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-top: 4px solid #00C49A; /* Bright teal as accent */
}

/* Back button */
.back-button-container {
    text-align: left;
    margin-bottom: 30px;
}

.back-button-container.top {
    margin-bottom: 40px;
}

.back-button {
    display: inline-block;
    padding: 10px 18px;
    background-color: rgba(0, 196, 154, 0.2); /* Light teal background */
    color: #00C49A; /* Bright teal */
    text-decoration: none;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.back-button:hover {
    background-color: rgba(0, 196, 154, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Blog post specific styles */
.blog-post {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.blog-post-title {
    font-size: 2.2rem;
    color: #172A3A;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post-date {
    font-size: 1rem;
    color: #004346;
    margin-bottom: 30px;
    font-style: italic;
}

.blog-post-content {
    font-size: 1.05rem;
    color: #172A3A;
    line-height: 1.8;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content p:last-child {
    margin-bottom: 0;
}

.blog-post-content h2 {
    color: #004346;
    font-size: 1.6rem;
    margin: 35px 0 20px;
}

.blog-post-content h3 {
    color: #004346;
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

/* Lists styling */
.blog-post-content ul, 
.blog-post-content ol {
    margin: 0 0 20px 20px;
    padding-left: 15px;
}

.blog-post-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Links styling */
.blog-post-content a {
    color: #00C49A;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 196, 154, 0.3);
    transition: all 0.3s ease;
}

.blog-post-content a:hover {
    color: #009B7D;
    border-bottom: 1px solid #009B7D;
}

/* Blockquotes */
.blog-post-content blockquote {
    margin: 25px 0;
    padding: 15px 25px;
    background-color: rgba(0, 196, 154, 0.1);
    border-left: 4px solid #00C49A;
    font-style: italic;
    color: #004346;
}

/* Images */
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Code blocks */
.blog-post-content pre,
.code-block {
    background-color: #EEF1F5;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    margin: 20px 0;
    overflow-x: auto;
    border-left: 3px solid #00C49A;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Inline code */
.blog-post-content code {
    background-color: #EEF1F5;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* Horizontal rule */
.blog-post-content hr {
    margin: 30px 0;
    border: none;
    height: 1px;
    background-color: rgba(0, 196, 154, 0.3);
}

/* Footnotes/small text */
.blog-post-content .footnote,
.blog-post-content small {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .blog-post-title {
        font-size: 1.8rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.4rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.2rem;
    }
}

/* Print styling */
@media print {
    body {
        background-color: white;
    }
    
    .container {
        box-shadow: none;
        max-width: 100%;
    }
    
    .back-button-container {
        display: none;
    }
}