@media (max-width: 1300px) {
    .main-nav ul li{
        padding: 10px;
    }
}
@media (max-width: 992px) {
    .news-carousel-img{
        
    max-height: 300px;
    min-height: 300px;
   
    /* height: 100%; */
}
    body{
        font-size: 12px;
    }
    .news-tab-container{
        display: flex;
        padding: 0px;
    }
    
    .news-tab-nav {
        width: 30%;
        border-bottom: none;
        /* border-left: 1px solid #eee; */
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-left: 10px;
    }
    
    .news-tab-content {
        width: 70%;
        padding-right: 15px;
        padding-left: 4px;
    }
    
    .news-tab-nav .nav-item {
        margin: 3px 0;
        width: 100%;
    }
    
    .news-tab-nav .nav-link {
        text-align: right;
        padding: 10px 15px;
        width: 100%;
        font-size: 14px;
        border-bottom: none;
        border-right: 3px solid transparent;
    }
    
    .news-tab-nav .nav-link.active {
        border-bottom-color: transparent;
        border-right-color: var(--primary-color);
        background-color: #f8f9fa;
    }
    
    .news-card {
        display: flex;
        flex-direction: row;
        margin-bottom: 15px;
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    
    .news-card-img {
        width: 40%;
        height: 100%;
        min-height: 120px;
    }
    
    .news-card-content {
        width: 60%;
        padding: 15px;
    }
    
    .news-card-content h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .news-date {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .news-excerpt {
        font-size: 12px;
        line-height: 1.4;
        max-height: 50px;
        overflow: hidden;
    }
    
    .news-tab-content .row {
        display: block;
    }
    
    .news-tab-content .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    .news-carousel-item{
        height: 350px;
        padding: 20px 10px;
    }
    .weather-detail-container{
        display: flex;
        justify-content: space-between;
    }
    .weather-details {
        border-bottom: none;
        margin-bottom: 0px;
    }
    .nav-tabs{
        padding-right: 0px;
    }
    .tab-pane .col-md-4{
        padding: 0px;
    }
    .latest-news-section {
    padding: 0px;
    /* background-color: #f8f9fa; */
}
.loc-tel {
        flex-direction: column;
        align-items:start;
    }
}

@media (max-width: 576px) {
        .loc-tel > div {
        width: 100%;
        text-align: right;
    }
    .location{
        min-width:auto
    }
   
   
     .news-tab-container{
        display: flex;
        flex-direction: column;
        padding: 0px;
    }
    
    
    .news-tab-nav, .news-tab-content {
        width: 100%;
    }
    
    .news-tab-nav {
        display:flex;
        flex-direction: row;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-left: none;
        border-bottom: 1px solid #eee;
        padding-left: 0;
        margin-bottom: 15px;
    }
    
    .news-tab-nav .nav-item {
        min-width: 150px;
        margin: 0 5px;
        text-align:right;
    }
    
    .news-tab-nav .nav-link {
        border-right: none;
        border-bottom: 3px solid transparent;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .news-tab-nav .nav-link.active {
        border-right-color: transparent;
        border-bottom-color: var(--primary-color);
    }
    
    .news-card-img {
        width: 35%;
    }
    .news-card-img img {
        object-fit:cover
    }
    
    .news-card-content {
        width: 65%;
        padding: 10px;
    }
    
    .news-card-content h3 {
        font-size:1em;
    }
    .news-carousel-item{
        height:400px;
    }
        .news-carousel-item a{
        flex-direction: column;
       
    }
    .news-carousel-img{
        width: 100%;
    max-height: 250px;
    min-height: 250px;
   
    /* height: 100%; */
}
    .news-carousel-txt{
        width: 100%;
    }
    .news-carousel-txt > p:not(.date){
        display: none;
    }
        .weather-detail-container {
       flex-direction: column;
    }
      .news-card {
       
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
   
    .news-image{
        position: relative;
    }
    .news-item{
        overflow: auto;
    }
    .news-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 20px;
    z-index: 2;
    overflow: auto;
}

}

@media (min-width: 768px) {
     
    .news-overlay {
        height: 80px; 
    }
    
    .news-item:hover .news-overlay {
        height: 120px; 
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
        padding-bottom: 25px;
    }
}


@media (max-width: 768px) {
    .image-gallery-section {
    padding: 10px 0px;
}

    .news-sidebar {
    max-width: 100% !important;
}
    .latest-news-container {
    flex-direction: column;
}
     .news-grid{
        grid-template-columns: 1fr;
        height: auto;
    }
    .news-overlay {
        height: auto;
        min-height: 100%; 
        background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.8)); 
        display: flex;
        flex-direction: column;
        justify-content: flex-end; 
        padding: 20px 15px;
    }
    
    .news-description {
        opacity: 1;
        max-height: none;
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    .news-tag {
        width: max-content;
    }
    
    
    
    .latest-news-section .news-item {
        height: 250px; 
    }
}


@media (max-width: 375px) {
    .news-overlay {
        padding: 15px 12px;
    }
    
    .news-description {
        font-size: 13px;
        line-height: 1.5;
    }
}
