:root {
    --text-gradient-color1: #14337A;
    --text-gradient-color2: #2359D2;
}

.card-blog {
    display: flex;
    flex-direction: column;
}
.card-blog .blog-card {
    margin-bottom: 50px;
}
.blog-card {
    /* display: flex;
    align-items: flex-start; */
    box-shadow: 3px 2px 5px rgba(0, 0, 0, 0.1);
}
.blog-card:hover {
    box-shadow: 3px 2px 5px rgba(0, 0, 0, 0.2);
}

.blog-image {
    flex: 1;
    height: 100%; 
}

.blog-content {
    flex: 1;
    padding: 0 20px; 
    height: 100%;
    box-sizing: border-box;
}

.blog-img {
    position: relative;
    overflow: hidden;
    z-index: 1; 
    transition: 0.25s;
}

.blog-img img {
    width: 100%;
    /* width: 20%; */
    height: auto;
    /* height: 450px; */
    transform: scale(1) rotate(0deg);
    transition: transform 1.2s ease;
    max-width: 100%;
}
.blog-img:hover img {
    transform: scale(1.2) rotate(5deg);
    transform-origin: center;
    z-index: 1;
}
.blog-img-content {
    position: absolute;
    text-align: center;
    top: 20px;
    left: 30px;
}
.blog-img-content p:nth-child(1) {
    background-color: #ff0040;
    color: #fff;
    font-weight: 700;
    padding: 10px;
}
.blog-img-content p:nth-child(2) {
    background-color: #0d2252;
    color: #fff;
    padding: 5px;
    margin-top: -20px;
    font-weight: 700;
}
.blog-content i{
    margin-right: 5px;
    color: #5c5555;
}
.blog-content p {
    font-size: 14px;
    line-height: 1.5rem;
    margin-top: 20px;
    font-weight: 400;
} 
.blog-content .Beyond {
    color: black;
    font-weight: 700;
}

.blog-content a.read_more {
    position: relative;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(to right, var(--text-gradient-color1), var(--text-gradient-color2), var(--text-gradient-color1));
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent; 
}
.blog-content .blog-admin {
    margin-top: 10px;
}
.blog-content .blog-admin a {
    color: #939393;
}
.blog-content .blog-admin i {
    color: #939393;
}

.pagination {
    display: flex;
    align-items: center;
    column-gap: 10px;
    justify-content: center;
}
.pagination a {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #5c5555;
    line-height: 48px;
    color: black;
    border-radius: 50%;
    text-align: center;
}
.pagination a:nth-child(1) {
    border: 0;
    background-color: #ff0040;
    color: #fff;
}
.pagination a:hover {
    background-color: #ff0040;
    border: 0;
    color: #fff;
}

#pagination {
    display: flex;
    align-items: center;
    column-gap: 10px;
    justify-content: center;
}
#pagination a{
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #5c5555;
    line-height: 48px;
    color: black;
    border-radius: 50%;
    text-align: center;
}
#pagination a:nth-child(3) {
    border: 0;
    background-color: #ff0040;
    color: #fff;
}
#pagination a:hover {
    background-color: #ff0040;
    border: 0;
    color: #fff;
}

/* Every Blog Content Gap distance */

#why_study h6{
    margin-bottom: 15px;
}
#why_study p {
    margin-bottom: 20px;
}
#why_study ol li {
    margin-bottom: 10px;
}
#why_study p a {
    color: #ff0040;
}