/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/



.glossary-section-1{   left: 0; top: 0; background: url(images/shape.svg) no-repeat center bottom; background-size: cover; display: block; width: 100%; padding: 30px 0 30px;}
/* News Filter Widget Styles */

.news-section {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar Styles */
.news-section .sidebar {
    flex: 0 0 280px;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.news-section .sidebar h3 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid #d2d2d2;
    padding-bottom: 15px;
}

.news-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-filter-list li {
    margin-bottom: 5px;
}

.news-filter-list .filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.news-filter-list .filter-link:hover {
    color: #f5a623;
    transform: translateX(5px);
}

.news-filter-list .filter-link.active {
    color: #f5a623;
}

.news-filter-list .count {
    font-size: 12px;
    opacity: 0.8;
    display: none;
}

/* Content Wrapper */
.news-content-wrapper {
    flex: 1;
    position: relative;
}

/* Loading State */
.news-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #f5a623;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* News Card */
.news-card {
    background: transparent;
     
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

 
.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

 
.news-card h4 {
    margin: 20px 20px 10px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all ease-in-out 0.3s;
}

.news-card:hover h4{color: #e67e22;}

.news-card p {
    margin: 0 20px 15px;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

 

 

 
/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.no-posts-found p {
    color: #666;
    font-size: 18px;
    margin: 0;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 70px;
}

 
.pagination{ display: flex; gap: 20px; font-size: 20px; font-weight: normal;}
.pagination a{ color: #fff;}
.pagination a:hover{ color: #fff;}
.pagination a.active{ color: #FFE500; font-weight: bold;}
.pagination .next{ width: 20px; height: 20px; display: flex; background: url(images/prev.svg) no-repeat center center;}
.pagination .prev{ width: 20px; height: 20px; display: flex; background: url(images/next.svg) no-repeat center center;}

/* Staggered animation for cards */
.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }



body .news-section{ flex-wrap: wrap; gap: 54px; width: 100%;  padding: 0;}
body .news-section .sidebar { flex: none; width: 260px; min-width: 260px; padding: 0;}
body .news-section .sidebar h3{ margin: 0 0 20px; font-size: 24px; border-bottom: rgba(255,255,255, 0.3) solid 1px;; padding: 10px 14px;}
body .news-section .sidebar ul{ display: flex ;flex-direction: column;}
body .news-section .sidebar ul  li { margin: 0; }
body .news-section .sidebar ul  li a{ font-weight: normal; padding: 8px 14px; color: #fff; font-size: 20px; }

.news-content-wrapper{ width: calc(100% - 260px - 54px);}
.news-content-wrapper .news-grid{ margin: 0; gap: 28px; row-gap: 64px; }
.news-card a .img{ aspect-ratio: 400/327; position: relative; width: 100%; display: block; overflow: hidden; border-radius: 10px;;   }
.news-card a .img img{ position: absolute; left: 0; object-fit: cover; top: 0; width: 100%; height: 100%;  } 
.news-card-sub { padding: 24px 0 0 0; display:block ; width: 100%; position: relative;}
.news-card-sub h4{ font-size: 24px; font-weight: 600; margin: 0; padding: 0 0 17px; display: block; width: 100%; }
.news-card-sub p{  margin: 0; font-size: 16px; font-weight: normal; color: #f5f5f5; padding: 0; } 
.link span{ color: #F5F5F5; font-size: 16px; font-weight: normal; align-items: center; gap:0px; margin: 0; display: flex; }
.link span i{ display: flex ;  align-items: center; transition: all 0.3s ease-in-out; }
.link span .line{ margin: 0 12px 0 0; width: 20px ; height: 1px; background: #fff;}
.news-card a:hover .link span .line{ margin: 0; width: 0;}
.news-card a:hover h4{
    background: #DFA231;
    background: linear-gradient(to right, #DFA231 0%, #FFE500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.news-card-sub .link{ padding: 17px 0 0 0; }
.link span  i.arrow{  margin: 0 0 0 12px; font-size: 0; background: url(images/arrow.svg) no-repeat center center; width: 0px; height: 10px; display: flex;     }
.news-card a:hover i.arrow{ width: 30px;}

body.single-post .container-main{ max-width: 850px; padding:100px 15px 0; margin: 0 auto; display: block; width: 100%; }
 
body.single-post #lqd-contents-wrap .container{ max-width: 850px;  width: 100%;  }
body.single-post  .lqd-post-cover{ max-width: 850px; }

body.single-post .blog-post-footer { max-width: 1248px; margin: 0 auto; width: 100%; padding: 0 20px; }
body.single-post .container-main .lqd-post-cover.overflow-hidden{ padding: 0; width: 100%; max-width: 100%; }
body.single-post  .container-main  .lqd-post-cover h1.entry-title{ padding: 0 0 27px; margin: 0; }
body.single-post  .container-main .lqd-post-media{ margin: 44px 0 0 0; }
body.single-post  .container-main .lqd-post-header{ padding: 0 0 ; }
body.single-post  .container-main .entry-meta   a{ font-size: 16px; color: #d9d9d9; opacity: 1 !important; font-weight: normal; }
body.single-post  .container-main .entry-meta .cat-links a{ background: none; padding: 0; opacity: 1; }
body.single-post .entry-meta>div:after{ background: #d9d9d9;; }
body.single-post .entry-meta>div{ margin: 0; }
body.single-post .blog-post-footer:before{ display: none;}

body.single-post .blog-post-footer .top-row { border-top: rgba(255, 255, 255, 0.3) solid 1px; border-bottom: rgba(255, 255, 255, 0.3) solid 1px; padding: 32px 0; }
body.single-post .blog-post-footer .top-row .share-links span,
body.single-post .blog-post-footer .top-row .tags-links span{    padding: 0; margin: 0; font-size: 14px; color: #F5F5F5; padding: 0 22px 0 0;}
body.single-post .blog-post-footer .top-row .tags-links a{ margin: 0; padding: 6px 12px; background: rgba(255, 255, 255, 0.3);  color: #fff; font-size: 14px; margin: 3px 16px 3px 0; }
.logged-in-as a{ color: #fff; text-decoration: underline; }
.logged-in-as a:hover{ text-decoration: none; color: #fff; }
.single-post .entry-content p img{ margin: 20px 0; }
body.single-post .blog-post-footer .top-row .share-links a{ color: #fff;}
body.single-post .blog-post-footer .top-row .share-links a:hover { opacity: 0.5; }
/* Responsive Design */
body.single-post nav.post-nav .nav-title{ display: none;}
body.single-post .related-posts{ margin-bottom: 0; max-width: 1248px; width:100%; padding:64px 20px 100px; }
.related-posts .container{ max-width: 100%;  padding: 0 15px; }
body.single-post .related-posts .related-posts-title{ font-size: 48px; font-weight: bold; text-align: center;}
body.single-post .related-posts .related-posts-title span{background: #DFA231;
    background: linear-gradient(to right, #DFA231 0%, #FFE500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;}
.related-posts>.container>.row    .col-sm-6 {        width: 33.33333333%;}
.agent-from .input-box{ position: relative; }
.agent-from .select2-container{ border: 0; border-bottom: #fff solid 1px;; font-size: 16px; color: #F3F3F3; padding:    10px; }
.agent-from .select2-container--default .select2-selection--single .select2-selection__rendered{ color: #F3F3F3;}
.agent-from .select2-container .select2-selection--single { background: none; border: 0; border-radius: 0; height: auto; }
.agent-from .select2-container--default .select2-selection--single .select2-selection__arrow{ top: 50%; margin-top: -13px; }
.agent-from .select2-container--default .select2-search--dropdown .select2-search__field{ color: #222; }
.agent-from .select2-container--default .select2-selection--single .select2-selection__rendered{ padding: 0; }
 
  .select2-results__option{ color: #222;} 
@media (max-width: 1200px) {
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>a{ font-size: 16px; font-weight: 600; padding-left: 0; padding-right: 0; }
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>.submenu-expander{ top: 9px !important; margin: 0px 0 0 0 !important; }
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>ul>li>ul,
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>ul{ padding-top: 0 !important; padding-left: 20px !important; }
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>ul>li+ li{ margin-top: 4px !important; }
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>ul>li>ul>li>a,
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>ul>li>a{ padding-left: 0; padding-right: 0; }
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>ul>li>.submenu-expander{ top: 9px !important; margin: 0px 0 0 0 !important; }
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>ul>li>a{ font-weight: 500;}
body   .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav>li>ul>li>ul>li>a{ font-weight: normal;}
}

@media (max-width: 1024px) {
    .news-section {
        gap: 20px;
    }
    
    .news-section .sidebar {
        flex: 0 0 240px;
        padding: 20px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 2fr));
        gap: 20px;
    }
    body .news-section .sidebar{ width: 220px; min-width: 220px; }
    body .news-section .sidebar h3{ font-size: 20px;}
    body .news-section .sidebar ul li a{ font-size: 16px;}
    body .news-section{ gap: 30px;}
    .news-content-wrapper{ width: calc(100% - 30px - 220px);}

    body.single-post .container-main{ padding: 80px 20px 0; }
    body.single-post .container-main .lqd-post-cover h1.entry-title{ font-size: 30px;}
    .news-card-sub h4{ font-size: 20px;}
    body.single-post .related-posts .related-posts-title{ font-size: 40px; margin: 0 0 30px ;}
   
}
@media (max-width: 992px) {
     .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

}

@media (max-width: 768px) {
    .news-section {
        flex-direction: column;
    }
    
    .news-section .sidebar {
        flex: none;
        width: 100%;
        position: static;
        margin-bottom: 30px;
    }
    
    .news-filter-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
   
    

    body .news-section .sidebar{ width: 100%; min-width: 100%;}
    body .news-section .sidebar ul{ gap: 0;}
    .news-content-wrapper{ width: 100%;}
    .news-content-wrapper .news-grid{ row-gap: 30px;}
     body.single-post .blog-post-footer .top-row{ flex-direction: column; align-items: flex-start; gap: 20px;}

         body.single-post .container-main{ padding: 44px 20px 0; }
         body.single-post .entry-meta>div{ background: none !important; padding: 5px !important; border-radius: 0 !important; }
body .stickey-menu .lqd-sticky-menu>.inline-ul {  scrollbar-width: none;
  -ms-overflow-style: none; max-width: calc(100% + 48px) !important; margin: 0 -24px !important; padding: 0 24px !important; overflow: auto;}
 body        .stickey-menu .inline-ul>li{ padding: 0 !important; width: 50% !important;  min-height: 0px; min-width: 160px ; }
   body      .stickey-menu .lqd-custom-menu > ul > li > a{ padding: 0 0 5px !important; font-size: 13px !important;  min-height: 55px; }
 .stickey-menu .inline-ul ::-webkit-scrollbar {
  display: none;               /* Chrome, Safari */
}
.related-posts>.container>.row {display: flex ;flex-direction: column; gap: 30px;}
.related-posts>.container>.row    .col-sm-6 {        width: 100%;}
  body.single-post .related-posts .related-posts-title{ font-size: 32px; margin: 0 0 30px ;}
}

@media (max-width: 480px) {
    .news-section {
        padding: 20px 0;
    }
    
    .news-filter-list {
        grid-template-columns: 1fr;
    }
    
    .news-card h4 {
        font-size: 18px;
    }
    
    .news-card p {
        font-size: 14px;
    }
    
    .page-link.prev,
    .page-link.next {
        padding: 0 10px;
        font-size: 12px;
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    /* animation: fadeIn 0.4s ease; */
}

body.single-post .entry-meta > div.read-time{color: #D9D9D9;font-size: 16px;}
.glossary-section-1-mn{ display: block; width: 100%; min-height: 340px;}

.select2-container--default .select2-search--dropdown .select2-search__field{color:#000}


 