img{
    max-width: 100%;
}
.blog-section {
    padding: 2rem 0;
}
.blog-title-container{
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 5px;
    justify-content: space-between;
    align-items: start;
}
.blog-title-container.single-blog{
    grid-template-columns: auto;
}
.title-back-box {
    display: grid;
    grid-template-columns: auto;
    /* grid-template-columns: auto auto; */
    gap: 10px;
    align-items: flex-start;
    justify-content:initial;
}
.blog-search-box{
    border-radius: 50px;
    border: 0.5px solid #9D9E9E;
    background: rgba(255, 127, 70, 0.10);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.blog-search-box input{
    border: none;
    outline: none;
    background: transparent;
}
.blog-category-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.blog-category-card {
    width: 100%;
    position: relative;
    border-radius: 10px;
}
.blog-category-bg {
    width: 100%;
    border-radius: 10px;
    position: relative;
}
.blog-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: rgb(20 112 254 / 10%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* align-items: self-start; */
    padding: 2rem;
    gap: 1rem;
}
.mschool-orange-box{
    border-radius: 3px;
    background: #FF5E00;
    padding: 5px 10px 0 10px;
    width: fit-content;
}
.mschool-orange-box h5{
    color: #FFF;
    font-family: Lalezar;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
}
.space-box{
    height: 5rem;
}
.blog-text-1{
    color: #1363DF;
    font-family: Lalezar;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
}
.blog-text-2{
    color: #0F2239;
    font-family: Rubik;
    font-size: 18px;
    line-height: 150%;
    font-weight: 600;
}
.blog-text-3-box{
    border-radius: 10px;
    border: 0.5px solid #FF5E00;
    padding: 1rem;
}
.blog-text-3-box p{
    margin-bottom: 0;
    color: #000;
    font-family: Rubik;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.blog-title{
    color: #000000;
    line-height: 100%;
    font-size: 2.5rem;
}
.side-section-title{
    color: #258E46;
}
.blog-title.blog-listing{
    color: #258E46;
    margin-bottom: 10px;
}
.blog-listing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.blog-listing-img {
    max-width: 100%;
    width: 100%;
    border-radius: 10px;
}
.blog-listing-card {
    text-align: justify;
    /* padding: 1rem 0; */
    padding: 0;
    color: #4D4D4D;
}
.blog-listing-title{
    color: #000;
    /* font-family: Rubik; */
    margin: 1rem 0;
}
.breadcrumb li  {
    color: #1363DF;
    font-weight: 500;
}
.breadcrumb li a {
    color: #878484;
}
.blog-listing-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1363DF;
font-family: Rubik;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 22.1px; /* 138.125% */
}
.bloggreen-text{
    color: #258E46;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.blog-listing-description{
    color: #3D3D3D;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 0;
    cursor: context-menu;
}
.blog-listing-description span{
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.side-sections {
    padding: 1rem;
}
.advertisement-post img {
    max-width: 100%;
    border-radius: 5px;
}
.popular-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
}
.popular-category-grid {
    position: relative;
    border-radius: 5px;
}
.popular-category img {
    position: relative;
    border-radius: 5px;
    max-height: 170px;
    object-fit: cover;
    width: 100%;
}
.popular-category-grid-overlay {
    background: #5c5c5c69;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    align-items: end;
    justify-content: center;
    border-radius: 5px;
}
.popular-category-grid-overlay h4 {
    color: #ffffff;
    font-size: clamp(12px, 1vw, 20px);
    text-transform: uppercase;
}
.popular-article {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
.popular-article-grid {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 1rem;
    cursor: pointer;
}
.popular-article-grid img {
    width: 110px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 5px;
}
.popular-article-details h5 {
    color: #4D4D4D;
    font-size: clamp(14px, 1vw, 18px);
    text-align: left;
    line-height: 140%;
}
.popular-article-details p {
    text-align: left;
    font-size: clamp(12px, 1vw, 14px);
    margin-bottom: 0;
}

/* blog single design */
section.blog-banner-section {
    padding-top: 2rem ;
}
.blog-outer-box{
    background: url(../images/banner/blog-banner.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    border: 1px solid #258E46;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}
.banner-title{
    color: #258E46;
    font-weight: 400;
}
.green-text{
    color: #258E46;
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
}
.banner-content-box{
    padding: 10px 10px 10px 0;
}
.blog-title-single{
    color: #258E46;
    /* color: #FF5E00; */
    text-align: center;
    font-size: clamp(24px, 2.5vw, 44px);
    font-weight: 400;
    margin: 1rem 0;
}
.post-image {
    width: 100%;
    border-radius: 5px;
}
.post-content p{
    font-size: clamp(12px, 1.25vw, 16px);
    color: #3D3D3D;
    font-weight: 400;
    text-align: justify;
}
.blog-single-details {
    display: flex;
    justify-content: space-between;
}
.post-tags {
    color: #414141;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
}
.post-tags span, .share-post-division span {
    color: #414141;
    font-weight: 600;
    text-align: left;
    text-transform: capitalize;
    margin-bottom: 15px;
    font-size: clamp(14px, 1.25vw, 18px);
}
.share-post-division {
    display: flex;
    justify-content: center;
}
.share-post-division .share-on-social-icon {
    list-style-type: none;
    display: flex;
}
.share-post-division .share-on-social-icon li {
    margin: 0 0.75rem;
}
.post-author-division {
    margin: 1.5rem 0;
    text-align: center;
}
.post-author-division .author-name {
    color: #000;
    margin-top: 1rem;
    font-size: 1.75rem;
    line-height: 1.5rem;
}
.pre-next-container {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
}
.pre-next-container li a {
    color: #3D3D3D;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.7rem;
}

.comment-section {
    margin: 2rem 0;
}
.comment-section .related-post-heading, .comment-form-section .leave-comment-heading, .related-post-section .related-post-heading {
    text-align: left;
    color: #258E46;
    font-size: 1.5625rem;
    line-height: 3rem;
}
.comment-card {
    padding: 1rem 0;
    display: flex;
}
.comment-card img {
    width: 4rem;
    height: 4rem;
}
.comment-details-container {
    margin-left: 1rem;
    text-align: left;
}
.comment-writter-name {
    color: #000;
    font-size: 1.25rem;
    font-style: normal;
}
.comment{
    color: #3D3D3D;
    font-size: 1rem;
    font-weight: 400;
}
.comment-date-time{
    color: #989898;
    font-size: 0.9rem;
    font-weight: 400;
}
.date-time-reply-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.date-time-reply-container button{
    border-radius: 0.75rem;
    border: 1px solid #ECECEC;
    color: #000;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    background: transparent;
}
.comment-form-section .input-container {
    
}
.comment-input {
    border: none;
    outline: none;
    border-bottom: 1px solid black;
    padding: 10px 0;
    background-color: transparent;
    width: 100%;
    margin: 1rem 0;
}
.comment-input::placeholder{
    color: #7D7D7D;
    font-weight: 500;
}
.post-btn{
    border-radius: 4px;
    background: #258E46;
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    text-transform: uppercase;
}
.related-post-section .blog-listing-container{
    grid-template-columns: 1fr 1fr 1fr;
}

.back-button{
    cursor: pointer;
}
.back-btn {
    display: flex;
    z-index: 1;
    /* top: 35%; */
    /* bottom: 35%; */
    border-radius: 5px;
    background: rgba(255, 94, 0, 0.10);
    /* margin-top: auto; */
    /* margin-bottom: auto; */
    /* margin: auto; */
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 10px 10px !important;
    color: #FF5E00;
    font-family: Lalezar;
    font-size: 24px;
    font-weight: 400;
    gap: 10px;
}
.blog-hr{
    max-width: 60%;
    margin: 10px auto;
}






















/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .blog-category-overlay {
        padding: 1rem;
        gap: 5px;
    }
    .blog-text-2 {
        line-height: 120%;
    }
    .blog-text-3-box p {
        font-size: 16px;
    }
    .blog-text-3-box{
        padding: 0.5rem;
    }
    .blog-search-box input{
        max-width: 85%;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
    
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 768px) {
    .blog-category-container {
        grid-template-columns: 1fr;
    }
    .blog-listing-container{
        gap: 1rem;
    }
    .related-post-section .blog-listing-container{
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .blog-listing-details{
        flex-direction: column;
        margin-bottom: 0.5rem;
        align-items: self-start;
    }
    .blog-listing-details p{
        margin-bottom: 0.25rem;
        text-align: left;
    }
    .blog-search-box input{
        max-width: 85%;
    }
    .blog-outer-box {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    .banner-content-box {
        padding: 0 0 0 0;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .blog-category-container, .blog-listing-container, .related-post-section .blog-listing-container{
        grid-template-columns: 1fr;
    }
    .blog-category-overlay{
        padding: 1rem;
    }
    .blog-listing-container, .related-post-section .blog-listing-container{
        gap: 1rem;
    }
    
    .blog-listing-details p{
        margin-bottom: 0.25rem;
        text-align: left;
    }
    .side-sections {
        padding: 0.5rem 0rem;
    }
    .blog-title-container {
        grid-template-columns: 100%;
    }
    .blog-outer-box {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    .banner-content-box {
        padding: 0 0 0 0;
    }
    .blog-single-details {
        flex-direction: column;
    }
    .title-back-box {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }
    .blog-search-box{
        margin-bottom: 10px;
    }
}