.logo {
    width: 200px
}

/*
.mainnav.navbar {
    background: #eef3fa !important
}
*/

.nav-link {
    color: rgba(0, 0, 0, .9)
}

@font-face {
    font-family: Roboto;
    src: url(fonts/Roboto-Light.ttf)
}

@font-face {
    font-family: Roboto;
    src: url(fonts/Roboto-Regular.ttf)
}

.card {
    -moz-box-shadow: 0 0 3px #ccc;
    -webkit-box-shadow: 0 0 3px #ccc;
    box-shadow: 0 0 15px #ccc;
    border: transparent;
    padding: 0;
    border-bottom: 5px solid #fc0;
    margin-bottom: 1.2rem
}

.edition-categories .text-dark {
    color: #3d3846;
    font-size: .8rem
}

.fs-8 {
    font-size: .8rem
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #3d3846;
    background-color: #fff;
    border: 1px solid #dee2e6
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #3d3846;
    border-color: #3d3846
}

.footer {
    background-color: #3d3846;
}

.icon {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    line-height: 40px;
    display: inline-block;
    margin: 0 5px;
}

.icon i {
    font-size: 20px;
}

.archieve {
    color: #fff;
    display: inline-block;
    padding: 7px 14px;
    background-color: #3d3846;
    border-left: 10px solid #fc0;
}

.archieve-right {
    border-left: 0;
    border-right: 10px solid #fc0;
    cursor: pointer;
}

.ribbon {
    background: #022636;
    box-shadow: 0 .5rem 1rem rgba(34, 33, 33, 0.15) !important;
    position: relative;
}

.modal-body .icon {
    border-radius: 0 !important;
    margin: 0;
}

.modal-header {
    right: -15px;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    padding: 0;
    line-height: 50px;
    text-align: center;
    top: -20px;
    position: absolute;
    z-index: 2;
}

.btn-close {
    margin: 0 auto !important;
    filter: brightness(0) invert(1);
}

a.nav-link:hover,
a.nav-link.active {
    color: #dc3545 !important;
}

.carousel-control-next {
    background: linear-gradient(270deg, black, transparent);
}

.carousel-control-prev {
    background: linear-gradient(-270deg, black, transparent);
}

.topbar.navbar {
   /* background: url('images/navbg.avif');*/
    background-size: cover;
    background-repeat: no-repeat;
}


.topbar .navbar-nav .nav-link {
    /*color: white !important;*/
    padding: 0.5rem 1rem;
}

/*
.breaking-news {
    
    background: #0b23a0;
    color: white;
    padding: 8px;
}
.breaking-news-label {
    background: #0b23a0;
    color: white;
    padding: 5px 15px;
    margin-right: 10px;
}

*/



.news-section h4 {
    position: relative;
    padding-left: 25px;
     /*
     border-left: 8px solid #05439f;
     background: linear-gradient(to right, #0d6efd, white);
    color: white;*/
    padding: 10px 25px;
                display: flex;
        align-items: center;
        justify-content: space-between;
}
.news-section li, .artice-title a, .artice-title h2{
    font-family: "Anek Telugu", sans;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}



.card-text h5, article h2 {
    font-family: "Anek Telugu", sans;
    padding-top: 0.5rem;
}

.news-section li a:hover, .artice-title a:hover {
    color: #0d6efd !important;
    transition: color 0.2s ease;
}



/* Add gradient overlay for carousel items */
.carousel-item {
    position: relative;
}


.carousel-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;  /* Controls how far up the gradient extends */
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%,
        rgba(0, 0, 0, 0.795) 100%);
    pointer-events: none; /* Ensures clicks pass through to elements below */
}

.badge{
    font-weight: normal !important;
}

/* Ensure caption text stays above gradient */
.carousel-caption {
  
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:hover{
    box-shadow:none !important;
    border: 0px !important;
}
.navbar-toggler-icon {
display: inline-block;
width: 1.5em;
height: 1.5em;
vertical-align: middle;
content: "";
background: no-repeat center center;
background-size: 100% 100%;
transition: all 0.3s ease-in-out;
} 


/*
.navbar-toggler-icon.hamburger { background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%28255, 255, 255, 0.5%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E'); } 

.navbar-toggler-icon.close { background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%28255, 255, 255, 0.5%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M6 6l18 18M6 24L24 6"/%3E%3C/svg%3E'); 
transform: rotate(180deg);
}*/


.navbar-toggler-icon.hamburger { background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%280, 0, 0, 0.5%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E'); } 
      
.navbar-toggler-icon.close { 
  background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%280, 0, 0, 0.5%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M6 6l18 18M6 24L24 6"/%3E%3C/svg%3E'); 
  transform: rotate(180deg);
}


.navbar-dark .navbar-toggler-icon.hamburger { background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%28255, 255, 255, 0.5%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E'); } 

.navbar-dark .navbar-toggler-icon.close { background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%28255, 255, 255, 0.5%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M6 6l18 18M6 24L24 6"/%3E%3C/svg%3E'); 
  transform: rotate(180deg);
}


 

.btn-primary {
--bs-btn-color: #fff;
--bs-btn-bg: #05439f !important;
--bs-btn-border-color: #053886 !important;
--bs-btn-hover-color: #fff !important;
--bs-btn-hover-bg: #0b5ed7 !important;
--bs-btn-hover-border-color: #0a58ca !important;
--bs-btn-focus-shadow-rgb: 49, 132, 253;
--bs-btn-active-color: #fff !important;
--bs-btn-active-bg: #0a58ca !important;
--bs-btn-active-border-color: #0a53be !important;
--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
--bs-btn-disabled-color: #fff;
--bs-btn-disabled-bg: #0d6efd !important;
--bs-btn-disabled-border-color: #0d6efd !important;
}

/*scroll bar styles

        /* width */
::-webkit-scrollbar {
width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555; 
}
.lined-button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
}
.lined-button:before {
border-top: 1px solid #cfcfcf;
content: "";
margin: 0 auto;
position: absolute;
top: 50%;
left: 0;
right: 0;
bottom: 0;
width: 95%;
z-index: -1;
}

.gradient-lined-button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
}
.gradient-lined-button {
    background: linear-gradient(90deg, rgba(5,67,159,1) 0%, rgba(5,67,159,0) 0%, rgba(5,67,159,1) 48%, rgba(5,67,159,0) 100%);
content: "";
margin: 0 auto;
 height: 3px;
width: 95%;
z-index: -1;
}

blockquote {
    display: inline-block;
    padding: 30px 15px 35px 80px;
    position: relative;
    font-size: 18px;
    line-height: 30px;
    font-style: italic;
    border-left: 5px solid #05439f;
    background-color: #f8f8f8;
}

blockquote:before {
    content: "\F6B0";
    position: absolute;
    left: 35px;
    top: 25px;
    color: #05439f;
    font-size: 36px;
    z-index: 1;
    font-family: bootstrap-icons!important;
}

ul.blog-tags {
    margin-bottom: 30px;
    margin-top: 30px;
}
ul.item-inline {
    overflow: hidden;
}
ul.item-inline li {
    margin-right: 3px;
    float: left;
    display: inline-block;
    margin-bottom: 3px;
}
ul.blog-tags li a {
    border: 1px solid #dcdcdc;
    display: block;
    padding: 3px 10px;
    color: #444;
    text-decoration: none;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}
ul.blog-tags li a:hover {
    color: #fff;
    background-color: #111;
    border: 1px solid #111;
}
.divider {
    position: relative;
}
.divider:before {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 1px;
    height: 100px;
    background-color: #dcdcdc;
    z-index: 1;
    content: "";
    margin: 0 auto;
}

.blog-post-slider .prev-article {
    color: #444;
    margin-bottom: 10px;
    display: block;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}
.blog-post-slider .prev-article i {
    margin-right: 10px;
    color: #05439f;
    font-size: 20px;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}
.blog-post-slider .next-article {
    color: #444;
    margin-bottom: 10px;
    display: block;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}
.blog-post-slider .next-article i {
    margin-left: 10px;
    color: #05439f;
    font-size: 20px;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}



.overlay1{
    z-index: -1;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    }
    .overlay-solid{
    position: relative;
    }
    .overlay-solid::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -99;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    }
    
    .card-custom {
      position: relative;        
      height: 400px; /* Adjust height as needed */
      border-radius: 10px;
      overflow: hidden;
       /* Replace with your image */
      background-size: 100%;
      background-position: center;        
      transition: background-size 0.3s ease-in-out; /* Smooth transition */
      
    }
    .card-custom-small {
      position: relative;        
      height: 192px; /* Adjust height as needed */
      border-radius: 10px;
      overflow: hidden;
       /* Replace with your image */
       background-size: 100%;
      background-position: center;        
      transition: background-size 0.3s ease-in-out; /* Smooth transition */
      
    }
    
    .gradient-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    }
    
    .card-text {
      position: absolute;
      width: 100%;
      bottom: 20px;
      color: white;
      z-index: 2;
      text-align: center;   
      transition: bottom 0.3s ease-in-out;     
    }
    .card-custom:hover .card-text {
      bottom: 30px;    
    }
    .card-custom-small:hover .card-text {
      bottom: 30px;    
    }
    
    .card-custom:hover, .card-custom-small:hover {
    
      background-size: 105%; /* Scale up by 5% on hover */
      }
      .district-filters .btn {
        margin: 0 5px;
        opacity: 0.7;
    }
    
    .district-filters .btn.active {
        opacity: 1;
    }
    
    .district-news {
        display: block;
    }

    .topcatnav .container {
        display: flex;
        height: 33px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        align-items: center;
        overflow-y: hidden
    }

    .topcatnav .home_icon {
        width: 19px;
        height: 16px;
        display: block;
        fill: #000;
        margin: 8px 0 10px
    }

    .topcatnav a {
        font-weight: 600;
        font-size: 14px;
        line-height: 28px;
        text-decoration: none;
        font-family: "Anek Telugu", sans;
        text-transform: uppercase;
        padding: 2px 0 0;
        flex: 0 0 auto;
        margin: 0 7px
    }

    .topcatnav .container {
        height: 40px;
    }

    .topcatnav .container::-webkit-scrollbar {
        display: none
    }

    @media (max-width:576px) {
        .topquickaccess{
           background-color: white;
            width: 100%;
            padding: 8px;    
            }
    }

    
.authorname, .author-newscat{

    font-size: 12px; line-height: 12px;
    
    }
    .authorname span{
        font-size: 8px;
    }