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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: white;
    color: #2c3e50;
    line-height: 1.6;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.navigation-section {
    flex: 0 0 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.navigation-section > a {
    text-decoration: none;
    display: inline-block;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: #e2e8f0;
    border: 1px dashed #cbd5e0;
    flex-shrink: 0;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.logo-placeholder:hover {
    opacity: 0.8;
}

.navigation-section h2 {
    color: #34495e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.nav-list {
    list-style: none;
    padding-left: 0;
}

.nav-list li {
    padding: 0.5rem 0;
}

.nav-list a {
    color: #4a5568;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: #2d3748;
    text-decoration: underline;
}

.main-content {
    flex: 1;
}

.welcome-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #cbd5e0;
}

.welcome-section h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.tagline {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
}

.new-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.new-section h2 {
    color: #4a5568;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.new-section ul {
    list-style: none;
    padding-left: 0;
}

.new-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
}

.new-section li::before {
    content: "•";
    color: #718096;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.news-section {
    flex: 0 0 300px;
    min-width: 300px;
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.news-section h2 {
    color: #34495e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 6px;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
}

.news-slide.active {
    opacity: 1;
}

.news-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.news-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.new-section h3 {
    color: #34495e;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.code-example {
    background: #f7fafc;
    border-left: 3px solid #cbd5e0;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: auto;
}

footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 3rem;
    color: #718096;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .navigation-section {
        flex: 1;
        min-width: auto;
    }

    .news-section {
        flex: 1;
        min-width: auto;
        position: static;
        width: 100%;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    main {
        padding: 0 1rem;
    }
}
