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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 0;
    margin: 0;
}

/* Layout */
.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Sidebar */
.sidebar {
    width: 300px;
    padding: 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    background: white;
}

/* Main content */
.main-content {
    flex: 1;
    margin-left: 300px; /* Same as sidebar width */
    padding: 20px;
}

.posts-container .post {
    margin-bottom: 40px;
}

.posts-container .post h2 {
    color: #0066cc;
    font-size: 24px;
    margin-bottom: 15px;
}

/* Logo area */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo img {
    width: 30px;
    height: 30px;
}

.logo h1 {
    color: #0066cc;
    font-size: 24px;
}

.orange-line {
    height: 3px;
    background: #FFA500;
    margin-bottom: 30px;
}

/* Subscribe sections */
.subscribe-box {
    display: flex;
    margin-bottom: 20px;
}

.subscribe-box input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
}

.subscribe-box button {
    background: #FFA500;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
}

.small-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Section headings */
h2 {
    margin: 30px 0 15px;
    font-size: 20px;
}

/* More links */
.more-links div {
    margin: 10px 0;
    cursor: pointer;
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Loader */
.loader {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #666;
    display: none;
}

.loader.active {
    display: block;
}

/* Mobile styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: 100vh;
        position: fixed;
        left: -100%;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    /* When menu is open */
    body.menu-open {
        overflow: hidden;
    }
}
