﻿.body-container {
    max-width: 1100px;
    margin: 0 auto;
}

.blog-container {
    margin: 10px 10px 10px 10px;
}

.top-view {
    width: 100%;
    height: 295px;
    background: #FFE8C6;
    border-radius: 3px;
    display: flex;
    margin: 25px 0 0 0;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    padding: 0 20px;
}

a {
    max-width: 343px;
}

.left-box {
    height: fit-content;
    border: 1px solid #145189;
}

.left-box-span {
    padding: 0px 13px;
    color: #145189;
    font-weight: 700;
    font-size: 22px;
}



.right-box {
    height: fit-content;
    border: 1px solid #145189;
    background: #145189;
    padding: 0 11px;
}

.right-box-span {
    color: #FFE8C6;
    font-weight: 700;
    font-size: 22px;
}


.character-img {
    height: 100%;
}


.search {
    width: 100%;
    padding: 20px 0 0 0;
}


    .search > div {
        width: 100%;
    }


TextField > label {
    padding-left: 10px;
}

.search-icon {
    float: left;
    position: relative;
    bottom: 43px;
    left: 5px;
}

.news-container {
    display: flex;
    gap: 20px;
    height: fit-content;
    flex-wrap: wrap;
    justify-content: center;
    width:100%
}


.articles-heading {
    margin-top: 50px;
    font-family: Cairo;
    font-weight: bold;
    color: #0E385E;
}


.articles-cards {
    border: 1px solid #80808042;
    height: 100%;
    max-height: 400px;
    cursor: pointer;
}


.articles-cards-body {
    display: flex;
    flex-direction: column;
    margin: 5px 4px 3px 4px;
    position: relative;
    max-height: 150px;
}

.shadow-div-container {
    position: relative;
    overflow: hidden;
}


.arrow {
    position: absolute;
    top: 205px;
    width: 100%;
}

.articles-cards-body > span:nth-child(1) {
    width: fit-content;
    color: white;
    font-weight: 400;
    padding: 0px 3px;
    border-radius: 3px;
    font-size: 13px;
}

.articles-cards-body > span:nth-child(2) {
    font-weight: 600;
    padding-top: 3px;
}


.mid-card-body > div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.opacity-div {
    position: absolute;
    bottom: 0px;
    height: 28px;
    background-color: #f2f3f3;
    width: 100%;
    background: rgb(255,255,255);
    background: linear-gradient( 0deg, rgba(242,243,243,1) 9%, rgba(242,243,243,0) 100%);
}

.mid-card-body > h3 {
    font-weight: normal;
    font-size: 13px;
    padding-right: 5px;
}

.articles-cards-body > p {
    line-height: 20px;
    padding-top: 5px;
    overflow: hidden;
}


.boxes-text {
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.boxes {
    display: flex;
    height: fit-content;
}


.news-heading {
    font-weight: bold;
    color: #0E385E;
}

.news-cards {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    max-height: 350px;
    max-width: 320px;
}


    .news-cards > div {
/*        max-width: 265px;
        max-height: 220px;*/
        width: 100%;
        height: 100%;
    }

    .news-cards > span {
        font-weight: bold;
        color: #000000;
    }


.articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 100px;
    width: 100%;
    justify-content: center
}


.mid-card-body {
    display: flex;
    align-items: center;
    padding-top: 5px;
}

.shadow-div-container > div:nth-child(1) {
    width: 100%;
    height: 100%;
    max-width: 342px;
    max-height: 235px;
}



.boxes-text > p {
    font-weight: bold;
    line-height: 30px;
    color: #145189;
    padding: 0px 54px 0 49px;
    text-indent: -10px;
    font-size: 20px;
    text-align: center;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 2% 20px 2%;
    gap: 5px;
}

    .keywords > button {
        background-color: #145189;
    }

        .keywords > button:hover {
            background-color: #145189;
        }

@media (max-width:690px) {
    .news-cards {
        max-height: unset;
        max-width: unset;
    }
    .blog-container {
        max-width: 1100px;
        margin: 30px 10px 10px 10px;
    }

    .news-container > a {
        width: 100%
    }


    .top-view {
        width: 100%;
        height: fit-content;
        background: #FFE8C6;
        border-radius: 3px;
        display: flex;
        margin: unset;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
    }

    .news-heading {
        font-weight: bold;
        color: #0E385E;
        text-align: center;
    }

    .news-container {
        display: flex;
        gap: 20px;
        height: fit-content;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .articles-heading {
        margin-top: 50px;
        font-family: Cairo;
        font-weight: bold;
        color: #0E385E;
        text-align: center;
    }

    .articles-cards {
        border: 1px solid #80808042;
        cursor: pointer;
        height: 100%;
        max-height: unset;
    }

    .shadow-div-container > div:nth-child(1) {
        width: 100%;
        height: 100%;
        max-height: unset;
        max-width: unset;
    }

    .articles-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 50px;
    }


    .news-cards > div {
        width: 100%;
        max-width: unset;
        max-height: unset;
    }
}
