body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fc;
    color: #333;
}
.main-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 40px;
    align-items: flex-start;
}
.container {
    flex: 5;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: #f0f0f0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    color: #333;
    font-weight: bold;
    transition: 0.3s;
    width: fit-content;
}
.back-button:hover {
    background: #e0e0e0;
}
.article-title {
    font-size: 32px;
    font-weight: bold;
    color: #111;
    margin-bottom: 10px;
}
.article-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}
.article-container iframe {
    width: 100%;
    height: 80vh;
    border: none;
    display: block;
    margin: 0 auto;
}
.article-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    font-size: 18px;
    text-align: justify;
}
.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}
.sidebar h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #111;
}
.related-articles {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 15px;
}
.related-articles li {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.related-articles li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.related-articles a {
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    color: #333;
    transition: 0.3s;
}
.related-articles a:hover {
    text-decoration: underline;
    color: #0056b3;
}
.back-article-button {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 18px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: background 0.3s;
}

.back-article-button:hover {
    background: #e0e0e0;
}

@media (max-width: 1200px) {
    .container {
        max-width: 900px;
    }

    .article-container iframe {
        height: 85vh;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 20px;
    }

    .article-content {
        font-size: 16px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .related-articles,
    .related-articles-title {
        display: none !important;
    }
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    .article-content {
        font-size: 14px;
        padding: 20px;
        text-align: left;
    }
    .main-container {
        flex-direction: column;
        padding: 20px 10px;
        gap: 0;
    }
    .article-container iframe {
        height: 80vh;
        width: 100vw;
        max-width: 100%;
    }
}