.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
    gap: 40px;
    padding: 0 20px;
}

.articles {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* background-color: aqua; */
}

.detail {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* background-color: blueviolet; */
}

.detail img {
    margin-top: 70px;
    margin-bottom: 20px;
    height: 250px;
    max-width: 100%;
}

.article {
    background-color: #d1d1d15e;
    padding: 10px 20px;
    border-radius: 2px;
    margin-bottom: 20px;
    box-shadow: 0px 5px 5px #969696;
    width: 100%;
}

.article:hover {
    box-shadow: 0px 10px 5px #a8a8a8;
}

.title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.title:hover {
    cursor: pointer;
    line-clamp: 1;
}

.authors {
    font-size: 14px;
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
}

.articles svg {
    width: 18px;
}

#articles-header {
    text-decoration: underline #303360;
    text-underline-offset: 5px;
}

.articles .docs {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.article a {
    color: #303360;
    text-decoration: none;
}

.pdf_icon {
    height: 18px;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .container {
        flex-direction: row;
        gap: 30px;
        padding: 0 15px;
    }
    
    .articles {
        width: 65%;
    }
    
    .detail {
        width: 30%;
    }
    
    .detail img {
        height: 200px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 50px;
        margin-top: 20px;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .detail {
        order: -1;
        width: 100%;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .detail img {
        margin-top: 30px;
        margin-bottom: 40px;
        height: 240px;
        max-width: 100%;
    }
    
    .detail p {
        text-align: center;
        margin: 15px 0;
        padding: 0 15px;
        font-size: 15px;
        line-height: 1.5;
    }
    
    .articles {
        width: 100%;
        align-items: stretch;
        margin-top: 20px;
    }
    
    #articles-header {
        margin-bottom: 25px;
    }
    
    .article {
        padding: 16px 18px;
        margin-bottom: 20px;
        border-radius: 4px;
    }
    
    .title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .authors {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        gap: 40px;
        padding: 0 16px;
        margin-bottom: 25px;
    }
    
    .detail {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .detail img {
        margin-top: 25px;
        margin-bottom: 35px;
        height: 200px;
    }
    
    .detail p {
        font-size: 15px;
        margin: 12px 0;
        padding: 0 12px;
    }
    
    .articles {
        width: 100%;
        margin-top: 15px;
    }
    
    #articles-header {
        margin-bottom: 20px;
        font-size: 18px;
    }
    
    .article {
        padding: 14px 15px;
        margin-bottom: 18px;
        background-color: #d1d1d189;
        border-radius: 3px;
    }
    
    .title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .authors {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .articles .docs {
        gap: 16px;
        margin-top: 10px;
        flex-wrap: wrap;
    }
    
    .pdf_icon {
        height: 16px;
    }
}