/*
Theme Name: Multilingual Media Theme
Description: A WordPress theme with dark red banner and flag-based language switcher supporting Swedish, English, and Russian
Version: 1.0
Author: Custom Theme
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header styles */
.site-header {
    background-color: #8b1538;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.site-title:hover {
    color: #f0f0f0;
}

/* Language switcher styles */
.language-switcher {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lang-flag {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
}

.lang-flag:hover {
    transform: scale(1.1);
    border-color: #fff;
}

.lang-flag.active {
    border-color: #fff;
    transform: scale(1.05);
}

.flag-icon {
    width: 32px;
    height: 24px;
    display: block;
}

/* Navigation styles */
.main-navigation {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #8b1538;
}

/* Main content styles */
.site-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.content-area {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
}

/* Media styles */
.media-container {
    margin: 1.5rem 0;
}

.media-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.media-container video {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.audio-player {
    width: 100%;
    margin: 1rem 0;
}

/* Post styles */
.post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #8b1538;
}

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

.post-content {
    line-height: 1.8;
}

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

.read-more {
    color: #8b1538;
    text-decoration: none;
    font-weight: bold;
}

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

/* Footer styles */
.site-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Widget styles */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: #8b1538;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    color: #333;
    text-decoration: none;
}

.widget ul li a:hover {
    color: #8b1538;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .site-main {
        grid-template-columns: 1fr;
        margin: 1rem auto;
        padding: 0 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .language-switcher {
        gap: 0.5rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .content-area, .sidebar {
        padding: 1rem;
    }
}