@import url('../css/main.css');


section.MainBody {
    width: 100%;
    padding-top: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img {
    width: 100%;
    height: 174px;
}

.img>img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}

.Title {
    padding: 10px;
    box-sizing: border-box;
    width: 90%;
    text-align: center;
    color: white;
}

.Date {
    width: 25%;
    color: white;
    opacity: 73%;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.MainBody>hr {
    width: 90%;
    margin: 12px;
    opacity: 20%;
    box-sizing: border-box;
}

.Caption {
    width: 80%;
    color: white;
    opacity: 80%;
    font-size: 12px;
    text-align: center;
}

.Similar {
    width: 80%;
    color: white;
    font-size: 12px;
    text-align: center;
}

.Similar>h3 {
    padding: 12px;
    box-sizing: border-box;
}

.newspaper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.newspaper>.News {
    width: 49%;
    height: 152px;
    margin-top: 12px;
    padding: 6px 4px;
    border-radius: 4px;
    background-color: #1B0E3D;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.newspaper>.News>img {
    width: 100%;
    height: 83px;
    object-fit: cover;
    border-radius: 5px;
}

.newspaper>.News>p {
    width: 70%;
    height: 30px;
    font-size: 7px;
    color: #fff;
    text-align: right;
    margin-right: 4px;
}

.newspaper>.News>a {
    display: flex;
    align-self: flex-end;
    width: 60px;
    height: 18px;
    background-color: #fff;
    border-radius: 4px;
    text-decoration: none;
    color: #1B0E3D;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
    box-sizing: border-box;
}

.newspaper>.News>a>span {
    font-size: 8px;
}

.MoreCaption {
    display: none;
}

@media only screen and (min-width: 1023px) {
    .img {
        width: 75%;
        height: 534px;
    }

    .img>img {
        width: 100%;
        height: inherit;
        object-fit: cover;
        border-radius: 18px;
    }

    .Title {
        padding: 10px;
        box-sizing: border-box;
        width: 90%;
        text-align: center;
        color: white;
    }

    .Date {
        width: 25%;
        color: white;
        opacity: 73%;
        font-size: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .MainBody>hr {
        width: 90%;
        margin: 12px;
        opacity: 20%;
        box-sizing: border-box;
    }

    .Caption {
        width: 80%;
        color: white;
        opacity: 100%;
        font-size: 12px;
        text-align: center;
    }

    .Similar {
        width: 80%;
        color: white;
        font-size: 12px;
        text-align: center;
    }

    .Similar>h3 {
        padding: 12px;
        box-sizing: border-box;
    }

    .MoreCaption {
        display: flex;
        margin-top: 20px;
        opacity: 70%;
    }

    .newspaper>.News {
        width: 24%;
        height: 152px;
        margin-top: 12px;
        padding: 6px 4px;
        border-radius: 4px;
        background-color: #1B0E3D;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

}