.chapter {
    display: flex;
    align-items: stretch;
}

.testtete:first-child {
    flex: 1;
    background-color: lightblue;
}

.testtete:nth-child(2),
.testtete:nth-child(3) {
    display: block;
    margin-top: 20px;
    background-color: lightgreen;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 980px;
    margin: 30px auto 0 auto;
    padding: 10px;
}

.grid-container:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.grid-item.article {
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
}

.article:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.chapter_artile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.chapter_artile_img {
    width: 100%;
    height: 184px;
    background-color: #000;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.userbares {
    width: 100%;
    height: 40px;
    position: relative;
}

.aego_main {
    right: 0;
    position: absolute;
    font-size: 14px;
    color: #a5a5a5;
}

.likeses {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    font-family: "sf-pro-display-semibold", serif;
    font-size: 15px;
    color: #32353e;
    align-items: center;
}

.views,
.likes_disslikes {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 10px;
    background-color: #f9f9f9;
    overflow: hidden;
    align-items: center;
    gap: 5px;
}

.views {
    position: absolute;
    right: 0;
}

.chest {
    font-size: 13px;
    color: #d9dbdd;
    margin-top: -4px;
}

.article-item {
    display: none;
}

#loadMoreBtn {
    transition: 0.1s ease-in-out;
}

#loadMoreBtn:hover {
    color: #ffffff;
    background-color: #000000b2;
    font-size: 50px !important;
    transition: 0.1s ease-in-out;
}

.hover-full-word {
    position: relative;
    cursor: pointer;
}

.hover-full-word .full-word {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    top: 100%;
    left: 0;
    z-index: 1000;
    white-space: nowrap;
}

.hover-full-word:hover .full-word {
    display: block;
}

.rating-container {
    display: flex;
    gap: 10px;
    width: 980px;
    margin: 30px auto 0 auto;
    padding: 10px;
    height: auto;
}

.rating-container:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

hr {
    width: 980px !important;
    margin: 0 auto;
}

.first-article-container .chapter_artile_img {
    width: 390px;
    height: 240px;
}

.first-article-container h3 {
    width: 390px;
}

.first-article-container {
    display: grid;
    grid-template-columns: auto auto;
}

.first-article-container .aego_main,
.other-articles-container .aego_main {
    position: static !important;
    margin-left: 15px;
}

.other-articles-container .article {
    display: flex;
    flex-direction: row;
}

.other-articles-container .chapter_artile_img {
    aspect-ratio: 1/1;
}

.other-articles-container .userbares {
    margin-top: 15px;
}

.comments-count {
    padding: 5px 10px;
    border-radius: 10px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
}
