.hero-section .blog-image {
    object-fit: cover;
    object-position: center;
}
.hero-section .image:hover{ 
    /* filter: brightness(70%);  */
    transition: 1s; 
}

.hero-section  .image::before{
    display: block;
    height: 50px;
    width: 50px;
    border: 1px solid #0b3563;
    border-radius: 50%;
    background-color: #E4F1FF;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"/></svg>');    background-position: center center;
    background-repeat: no-repeat;
    background-size: 36%;
    opacity: 0;
    transition: opacity 300ms ease;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 10000;
} 



.hero-section .blog-card:hover .image::before{
    opacity: 1;
}

.hero-section .blog-card .title {
    transition: all 500ms ease;
}

.hero-section .blog-card:hover .title {
    text-decoration: underline;
}


.hero-section .big-card-1 img{
    height: 420px;
    width: 100%;
}

.hero-section .big-card-2 img{
    height: 360px;
}


.hero-section .line{
    right: 0;
    height: 1.5px;
    background-color: #cce5ff;
}

.hero-section .first-card {
    bottom:40%;
    width: 550px;
    margin-right: -445px;
}



.hero-section .cardbody {
    background: hsla(0, 0%, 100%, 1);

    background: linear-gradient(90deg, hsla(0, 0%, 100%, 1) 43%, hsla(211, 100%, 95%, 1) 100%);
    border: 1px solid #cce5ff;
}

.hero-section  .second-card{
    margin-left: -285px;
}

.hero-section .third-card{
    width:350px;
}

.hero-section .third-blog-img{

    width:230px ;
    height:194px ;

}



.hero-section .second-cardbody{
    background: hsla(211, 100%, 95%, 1);

    background: linear-gradient(90deg, hsla(211, 100%, 95%, 1) 0%, hsla(0, 0%, 100%, 1) 56%);
}

.hero-section .writer .writer-paragraph{
    font-size: 15px;
    color: rgb(0, 0, 0);
    letter-spacing: 0.3px;
}

.hero-section .writer .writer-span{
    font-weight: 400;
    color:black;
    padding-left: 2px;
}

.hero-section .categories{
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 2px 8px;
    display: inline-block;
    border: 1px solid #0f4a8a65;
    background: #cce5ff42;

    color: #0f4a8a;
    border-radius: 4px;
}

.hero-section .title{
    font-size: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* Number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-section .big-card-2 .title{
    font-size: 24px;
}

.hero-section .small-card-1 .title{
    font-size: 24px;
}


/* Editor Picks */


.editor-picks {
    background-color: #e4f1ff44;

}

.editor-picks .line{
    height: 0.879px;
    background-color: #0b3563;
}

.editor-l{
    left: 0;
    height: 1.5px;

}

.editor-picks .latest{
    color: #0b3563;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}





.editor-picks .card::before{
    display: block;
    height: 50px;
    width: 50px;
    border: 1px solid #0b3563;
    border-radius: 50%;
    background-color: #E4F1FF;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"/></svg>');    background-position: center center;
    background-repeat: no-repeat;
    background-size: 36%;
    opacity: 0;
    transition: opacity 300ms ease;
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 10000;
}


.editor-picks .card:hover::before{
    opacity: 1;

}

.editor-picks .card:hover .card-img-top {
    filter: brightness(70%);
    transition: 0.5s;
    z-index: 0; /* Ensure the image is below the card content */
    position: relative; /* Maintain stacking context */
}


.editor-picks .card .card-img-top{
    aspect-ratio: 6/4;
    object-fit: cover;
}

.editor-picks .card-body{
    z-index: 1;
    margin-top: -42px; 
}

.editor-picks .card-body{
    background: linear-gradient(270deg, hsla(0, 0%, 100%, 1 ) 43%, hsla(211, 100%, 95%, 1) 100%);
    border: 1px solid #cce5ff;
    border-radius: 10px;
}

.editor-picks .categories{
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 2px 8px;
    display: inline-block;
    background: #cce5ff42;
    color: #0f4a8a;
    border-radius: 4px;
    border: 1px solid #0f4a8a65;
}

.editor-picks .writer .writer-paragraph{
    letter-spacing: 0.2px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
}

.editor-picks .writer .writer-span{
    font-weight: 400;
    color:black;
    padding-left: 2px;
}






/* Newsletter */   


.newsletter .first-row{
    border: 3px double #82a2c5;
    border-radius: 10px;
    background: linear-gradient(270deg, hsla(0, 0%, 100%, 0) 43%, hsla(211, 100%, 95%, 1) 100%);
}


.newsletter .title{
    color: #0b3563;
}


.newsletter .newsletter-form{
    background-color: white;
    border-radius: 8px;
    border: 1px solid #0b3563;
}


.newsletter .input input{
    border-radius: 50px;
}


.newsletter  .btn{
    width: 25%;
    letter-spacing: 1.5px;
    background-color: #0b3563;
    color: white;
    font-weight: 400;
    border: none;
    border-left: 2px solid #0b3563;
    border-radius: 0px 5px 5px 0px;
}



.newsletter .ilu {
    width:60%;
}


.newsletter .ilu .primary-img{
    width:100%;
    object-fit: contain;
}




/* Categories-section */

.categories-section  {
    background-color: #e4f1ff8e;
}


.categories-section .title{
    color:  #0b3563;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;


}




.categories-section .card-body{
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    transition: display 1s ease-in-out;

}

.categories-section .card-body::before{
    display: block;
    height: 50px;
    width: 50px;
    border: 1px solid #0b3563;
    border-radius: 50%;
    background-color: #E4F1FF;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"/></svg>');    background-position: center center;
    background-repeat: no-repeat;
    background-size: 36%;
    opacity: 0;
    transition: opacity 300ms ease;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 10000;
}


.categories-section .card-body:hover::before{
    opacity: 1;

}

.categories-section .card-body:hover .primary-img{
    filter: brightness(75%);
    transition: 0.5s;
    z-index: 0;
}


.categories-section .card-body .primary-img{  
    width: 100%;
    aspect-ratio: 16/13;
    border-radius: 6px;
    z-index: 0;
}

.categories-section .card-content{
    position: relative;
    margin-top: -12px;

}

.categories-section .card-content .categories-name{
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 14px;
    background-color: #0b3563;
    padding: 6px 12px;
    color: white;
    border-radius: 6px;
}

.categories-section .cati-ig{
    border-top: 0.5px solid  #0b3563;
}



/* latest section */



.latest-picks .line{
    height: 0.879px;
    background-color: #0b3563;
}



.latest-picks .latest{
    color: #0b3563;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}





.latest-picks .card::before{
    display: block;
    height: 50px;
    width: 50px;
    border: 1px solid #0b3563;
    border-radius: 50%;
    background-color: #E4F1FF;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"/></svg>');    background-position: center center;
    background-repeat: no-repeat;
    background-size: 36%;
    opacity: 0;
    transition: opacity 300ms ease;
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 10000;
}


.latest-picks .card:hover::before{
    opacity: 1;

}

.latest-picks .card:hover .card-img-top {
    filter: brightness(70%);
    transition: 0.5s;
    z-index: 0; /* Ensure the image is below the card content */
    position: relative; /* Maintain stacking context */
}


.latest-picks .card .card-img-top{
    aspect-ratio: 6/4;
    object-fit: cover;
}

.latest-picks .card-body{
    z-index: 1;
    margin-top: -42px; 
}

.latest-picks .card-body{
    background: linear-gradient(270deg, hsla(0, 0%, 100%, 1 ) 43%, hsla(211, 100%, 95%, 1) 100%);
    border: 1px solid #cce5ff;
    border-radius: 10px;
}

.latest-picks .categories{
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 2px 8px;
    display: inline-block;
    background: #cce5ff42;
    color: #0f4a8a;
    border-radius: 4px;
    border: 1px solid #0f4a8a65;
}

.latest-picks .writer .writer-paragraph{
    letter-spacing: 0.2px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
}

.latest-picks .writer .writer-span{
    font-weight: 400;
    color:black;
    padding-left: 2px;
}

.Loading{
    width: 120px !important;
    background-color: #0b3563;
    color: white;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.view-more-btn .loader{
    width: 18px;
    height: 18px;
    border-width: 3px;
    margin-right: 5px;
}

@media (max-width: 1290px){
    form .btn{
        width:35%;
    }
}


.ilu {
    width:60%;
}




@media (max-width: 3200px){
    
    .rd-cardbody .title{
        font-size: 1.75rem;
    }

    .nd .title{
        font-size: 1.75rem;
    }
}


@media (max-width: 1400px){

    .hero-section .first-card {
      
      width: 550px;
      margin-right: -385px;
    }

    .hero-section .second-card{
      margin-left: -215px;
    }

    .hero-section .third-card{
      width:300px;
    }

    
    .editor-picks .card-body .cat .categories{
        font-size: 12px;
    }
    .editor-picks .card-body .cat {
        font-size: 12px;
    }

    form .btn{
        width: 30%;

    }


    .Latest-picks .card-body .cat .categories{
        font-size: 12px;
    }

    .Latest-picks .card-body .cat {
        font-size: 12px;
    }
}

@media (max-width: 1200px){

    .hero-section .first-card {  
      width: 450px;
      margin-right: -325px;
    }

    .hero-section .second-card{
      width: 380px !important;
      margin-left: -165px;
    }

    .hero-section .third-card{
      width: 280px;
    }

    .hero-section .third-blog-img{

      width:180px ;
      height:191px ;

    }
   
    .newsletter .content{
        display: none;
    }
    .newsletter .tite{
        padding-bottom: 16px;
        /* font-size: 24px; */
    }

    .newsletter form .btn{
        width:45%;
    }
}

@media (min-width: 992px) and (max-width: 1200px){
    .categories-section .card-content .categories-name{
        font-size: 12px;
    }
}

@media (max-width: 992px){

    .hero-section .first-card {
      width: 100%;
      margin-right:0px;
      bottom:0%;
      padding-right: 0px;
    }
    .hero-section .first-card .card{
      padding: 6px !important;
    }
    
    .hero-section .second-card{
      width:100% !important;
      margin-left: 0px;
      margin-bottom:6px;
      padding:0px 2px
    }

    .hero-section .third-card{  
      min-width:60%;
      
    }

    
    .hero-section .small-card-1{
        margin-bottom: 18px;
    }

    .hero-section .third-blog-img{
        width: 100%;
        height:185px ;
    }

    .newsletter .title{
        font-size: 24px;
    }
    .newsletter input{
        font-size: 14px;
    }

    .newsletter form .btn{
        font-size: 14px;
    }

    .newsletter form .btn{
        width:45%;
    }

    .newsletter .ilu{
        width:100%;
    }
    
}


@media (max-width: 768px){

    .newsletter .title{
        font-size: 20px;
        line-height: 30px;
    }
    .newsletter input{
        display: none;
    }
    .newsletter form .btn{
        width: 100%;
        font-size: 14px;
        border-radius: 6px;
    }
   
}



@media (max-width: 576px){
    
    .hero-section .small-card-1{
      position: relative;
      margin-bottom: 18px;
      
    }

    .hero-section .small-card-1 .image{
        width: 100%;
    }

    .hero-section .third-card{
      position:absolute;
      bottom: 0;
      width:100%;
      height:auto;
      margin-bottom: 0px;
    }

     .hero-section .categories{
        font-size: 13px;
     }
     .hero-section .title{
        font-size: 20px;
     }

     .hero-section .writer .writer-paragraph{
        font-size: 14px;
     }

    .hero-section .third-card .card{
      padding: 6px;
    }

    .hero-section .third-cardbody{
      border-radius: 6px;
      border:#cce5ff 1px solid;
    }

    .hero-section .third-blog-img{
      border-radius:8px !important ;
      width:100% ;

    } 

    .hero-section .first-card {
        font-size: 18px;
        line-height: 22px;
        padding-bottom: 8px;
    }

    .hero-section .big-card-1 img,  .hero-section .big-card-2 img, .hero-section .small-card-1 img{
        height: 280px !important;
    }


    .newsletter input{
        display: none;
    }
    .newsletter form .btn{
        width: 100%;
        font-size: 14px;
        border-radius: 6px;
    }


    .editor-picks .latest{
        font-size: 16px;
    }
    
    .editor-picks .title{
        font-size: 18px;
    }

    .categories-ig .title{
        font-size: 16px;
    }

    .Latest-picks .latest{
        font-size: 16px;
    }

    .Latest-picks .title{
        font-size: 18px;
    }
    .editor-picks .editor-l{
        top:5px;

    }
}