.page-main{
    padding-top: 200px !important;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
}

.grid-item {
    background: #fff;
    padding: 10px;
    width: 350px !important;
    height: fit-content !important;
    max-height: 500px !important;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.heading{
    color: #00003F !important;
    text-shadow: none !important;
    margin-top: 10px !important;
    text-align: left;
    font-size: 24px;
}

.grid-item img {
    width: 100%;
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.category {
    font-weight: 300;
    color: #001c3a;
    margin: 5px 0;
    font-size: 10px !important;
    text-align: left;
}

.description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Number of lines before truncating */
    overflow: hidden;
    text-overflow: ellipsis;



}

.read-more {
    display: inline-block;
    background-color: #fff;
    font-size: 10px !important;
    color: rgb(0, 0, 0) !important;
    padding: 8px 12px !important;
    margin-top: 10px;
    border: 0px white;
    cursor: pointer;
}

.read-more:hover {
    color: rgb(255, 255, 255) !important;
    border: 1px rgb(0, 0, 0) !important;
}



.date {
    font-size: 12px;

    margin-top: 5px;
    text-align: left;
}

.button_see_more{
    font-size: 14px !important;
    color: #00003F;
    margin-left: 0px !important;
    text-align: left !important;
    text-shadow: none !important;
}

.button_see_more:hover{
    color: #0000bd;
}

.div_see_more{
    margin-left: 0px !important;
    width: 90px ;
}

@media screen and (max-width: 768px) {
    .page-main{
        padding-top: 0px !important;
    }

    .text,
    .display-subtitle{
        font-size: 10px !important;
    }

    .display-title{
        font-size: 20px !important;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item {
        width: 100% !important;
    }

    .heading{
        font-size: 16px;
    }

    .description{
        font-size: 13px;
        line-height: 15px;
    }
}

@media screen and (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}
