.wrap {
    max-width: 1024px;
    margin: 0 auto;
}

body {
    margin: 0px;
}

.top {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0px;
    background-color: white;
}

.top-left > img {
    width: 120px;
    margin-top: 15px;
}

.top-right {
    display: flex;
    float: right;
}

.top-right > img {
    width: 20px;
    height: 20px;
    margin-top: 20px;
}

.top-right-button {
    margin: 10px;
    border: 0;
    background-color: white;
    color: #4e5968;
    font-weight: bold;
}

.top-right-button1 {
    margin: 10px;
    border: 0;
    background-color: #3182f6;
    color: white;
    border-radius: 6pt;
    width: 70px;
    height: 40px;
    font-weight: bold;
}

.top-right-button2 {
    margin: 10px;
    border: 0;
    margin: 10px 20px 0px -5px;
    background-color: #f2f4f6;
    color: #4e5968;
    border-radius: 6pt;
    width: 100px;
    height: 40px;
    font-weight: bold;
}

.container {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
}

.container-left-title {
    height: 80px;
}

.container-left-content {
    height: 80px;
}

.container-right {
    height: 80px;
}

.main {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.main-left {
    width: 90%;
    margin-right: 25px;
}

.main-right {
    width: 45%
}

.main-right-up {
    margin-left: 25px;
    border-radius: 20px;
    background-color: #f2f4f6;
}

.all-articles > h1 {
    color: #333d4b;
}

.article-writer {
    display: flex;
    margin-top: 60px;
    margin-bottom: -15px;
}

.article-writer-position {
    border-radius: 8px;
    background-color: #e8f3ff;
    color: #3182f6;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center; 
    font-weight: bold;
    padding: 0 12px;
    font-size: 13px;
}

.article-writer-name {
    margin-left: 10px;
    border-radius: 8px;
    background-color: #f2f4f6;
    color: #6b7684;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center; 
    font-weight: bold;
    padding: 0 12px;
    font-size: 13px;
}

.article-title {
    font-size: 10px;
}

.article-content {
    color: #6b788c;
}

.top-articles {
    padding: 1px 5px 20px 0;
}

.top-articles-title > h3 {
    margin-left: 25px;
    margin-top: 25px;
    color: #6b7684;
    margin-bottom: -20px;
}

.top-articles-content {
    display: flex;
    margin: 25px;
}

.top-articles-content-title {
    margin: 7px;
}

.top-articles-content-writer {
    margin: 10px;
    margin-top: -5px;
    margin-bottom: 0px;
    font-size: 12px;
    color: #8b95a1;
}

.top-articles-content-content {
    margin: 0 0 -30px 0;
}

.top-articles-content-number > p {
    border-radius: 30%;
    background-color: white;
    width: 30px;
    height: 30px;
    color: #3182f6;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.latest-comments {
    margin-top: 25px;
    margin-left: 25px;
    border-radius: 25px;
    background-color: #f2f4f6;
    height: 850px;
}

.latest-comments > h3 {
    padding-top: 30px;
    margin-left: 25px;
    margin-right: 25px;
    color: #6b7684;
}

.latest-comments-border {
    margin-left: 25px;
    margin-right: 25px;
    margin-bottom: 20px;
    border-radius: 6%;
    background-color: white;
}

.latest-comments-writer {
    color: #79838c;
    padding: 1px 1px 0 0;
    margin-left: 40px;
}

.latest-comments-writer > h3 {
    margin-bottom: 0px;
}

.latest-comments-content {
    padding: 0px;
    display: flex;
    margin-left: 20px;
}

.latest-comments-content > p {
    margin-bottom: 0px;
}

.latest-comments-content2 {
    color: #8b97a1;
    font-size: 12px;
    padding: 5px;
    margin-left: 20px
}

.page {
    display: flex;
    margin: 50px 0 50px 0;
}

.page-left {
    margin: 0 12px 0 0;
    background-color: white;
    border: none;
    color: #cdd1d7;
}

.page-right {
    margin: 0 0 0 12px;
    background-color: white;
    border: none;
    color: #6b7684;
}

.page-button {
    margin: 0 12px 0 12px;
    color: #6b7684;
    background-color: white;
    border: none;
}

.page-one {
    color: #6b7684;
    background-color: #f2f4f6;
    margin: 0 12px 0 12px;
    border: none;
    padding: 10px 15px 10px 15px;
    border-radius: 20%;
    font-weight: bold;
}

.article-series {
    display: flex;
    flex-wrap: wrap;
}

.article-series-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.article-series > h1 {
    color: #333d4b;
}

.article-series-card {
    border: solid;
    border-color: white;
    background-color: #f2f4f6;
    border-radius: 25px;
    padding: 25px;
    height: 400px;
}
.article-series-card-title {
    color: #191f28;
}

.article-series-card-content {
    color: #6b7684;
    margin-top: -5px;
    height: 30px;
}

.article-series-card-count {
    color: #6b7684;
    margin-top: 90px;
    border: none;
    background-color: white;
    border-radius: 50px;
    margin-right: 100px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;;
}

.article-series-card-image > img{
    width: 185px;
}

.footer {
    padding: 40px;
    background: #f9fafb;
    margin-top: 150px;
}

.first-footer {
    gap: 20px;
    display: flex;
    justify-content: center;
}

.footer-title {
    color: #333d4b;
    font-weight: 350;
}

.second-footer {
    margin: 50px 150px 0 800px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer-title > p {
    color: #6b7684;
    margin: 8px 0 8px 0;
}

.second-footer > h3 {
    color: #333d4b;
    font-size: 15px;
}

.second-footer > p{
    color: #8b95a1;
    font-size: 13px;
}

.third-footer {
    display: flex;
    gap: 20px;
    margin: 50px 150px 0 800px;
    font-size: 13px;
    color: #78838c;
    line-height: 28px;
}

.fourth-footer {
    margin: 20px 150px 0 800px;
}

.footer-logo {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    margin-bottom: 100px;
}

.footer-logo img {
    width: 40px;
}

.slide {
    display: none;
}

.slide.active {
    display: flex;
}


.slider {
    display: flex;
    margin-top: 40px;
    flex-wrap: wrap;
}

.slide-img {
    width: 500px;
    margin-left: 100px;
}

.left-btn, 
.right-btn {
    border: none; 
    padding: 0; 
    background: transparent; 
    cursor: pointer;
}

.left-btn img,
.right-btn img {
    width: 60px;
}

.slide-btn {
    position: absolute;
    top: 320px
}

@Media (max-width: 1024px) {
    .article-series-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@Media (max-width: 768px) {
    .article-series-cards {
        grid-template-columns: repeat(1, 1fr);
    }
}