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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    display: flex;
    justify-content: flex-end;
}

.language-toggle {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background: white;
    color: #667eea;
}

main {
    padding: 50px 40px;
}

.blog-post {
    max-width: 100%;
}

.blog-post h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2d3748;
    line-height: 1.2;
}

.blog-post p {
    margin-bottom: 1.5em;
    font-size: 1.1em;
    color: #4a5568;
    overflow: hidden; /* Clearfix for floating images */
}

.blog-post strong {
    color: #2d3748;
    font-weight: 600;
}

.blog-post a {
    color: #ff6b35;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-post a strong {
    color: inherit;
}

.blog-post a:hover {
    color: #e55a2b;
}

.blog-post a:hover strong {
    color: inherit;
}

.blog-post .author {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
    font-style: italic;
    color: #718096;
    font-size: 1em;
}

.blog-post .block-image {
    margin: 2em 0;
    text-align: center;
}

.blog-post .block-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.blog-post .inline-image-wrapper {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 0.5em;
}

.blog-post .inline-image-wrapper img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    main {
        padding: 30px 20px;
    }
    
    .blog-post h1 {
        font-size: 2em;
    }
    
    .blog-post p {
        font-size: 1em;
    }
    
    .blog-post .inline-image-wrapper {
        float: none;
        margin-right: 0;
        margin-bottom: 1em;
        display: block;
        text-align: center;
    }
    
    .blog-post .inline-image-wrapper img {
        max-width: 100%;
        margin: 0 auto;
    }
}

