/*====================================
LATEST MARKET GRID
====================================*/

.no-results{
    grid-column:1 / -1;
    background:var(--white);
    padding:24px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    color:var(--primary);
    font-weight:600;
}

.market-updates{

    padding:55px 0;

}

.section-heading{

    margin-bottom:28px;

}

.section-heading h2{

    color:var(--primary);

    margin-bottom:10px;

}

.section-heading p{

    color:var(--grey);

}

.market-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:24px;

}

.market-card{

    background:var(--white);

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}

.market-card:hover{

    transform:translateY(-8px);

}

.market-card-image{

    height:200px;

    overflow:hidden;

}

.market-card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.market-card-placeholder{

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--light);

    font-size:50px;

    color:var(--primary);

}

.market-card-body{

    padding:20px;

}

.market-badge{

    display:inline-block;

    padding:6px 14px;

    background:var(--primary);

    color:var(--white);

    border-radius:25px;

    font-size:13px;

    margin-bottom:15px;

}

.market-card-body h3{

    color:var(--primary);

    margin-bottom:15px;

    line-height:1.5;

}

.market-card-body p{

    color:var(--grey);

    line-height:1.7;

    margin-bottom:16px;

}

.market-card-meta{

    color:#999;

    font-size:14px;

    margin-bottom:16px;

}

.market-readmore{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

}

.market-readmore:hover{

    color:var(--secondary);

}

/*=====================================
SIDEBAR SECTION
=====================================*/

.market-sidebar-section{

    padding:50px 0;

    background:var(--light);

}

.market-sidebar-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:24px;

    align-items:start;

}

.sidebar-widget{

    background:var(--white);

    border-radius:var(--radius);

    padding:20px;

    box-shadow:var(--shadow);

}

.sidebar-widget h3{

    color:var(--primary);

    margin-bottom:20px;

}

.recent-list,
.download-list,
.category-list{

    list-style:none;

    padding:0;

    margin:0;

}

.recent-list li,
.download-list li,
.category-list li{

    padding:10px 0;

    border-bottom:1px solid #eee;

}

.recent-list li:last-child,
.download-list li:last-child,
.category-list li:last-child{

    border-bottom:none;

}

.recent-list a,
.download-list a,
.category-list a{

    text-decoration:none;

    color:var(--primary);

    font-weight:500;

}

.recent-list small{

    display:block;

    color:#888;

    margin-top:5px;

}

.category-list li{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.category-list span{

    background:#0b3a75;

    color:#fff;

    padding:4px 10px;

    border-radius:20px;

    font-size:12px;

}

.newsletter-box p{

    color:#666;

    margin-bottom:20px;

}

.newsletter-box input{

    width:100%;

    padding:12px;

    border:1px solid #ddd;

    border-radius:10px;

    margin-bottom:15px;

}

.newsletter-box button{

    width:100%;

    background:var(--primary);

    color:var(--white);

    border:none;

    padding:12px;

    border-radius:var(--radius);

    cursor:pointer;

    font-weight:600;

}

.newsletter-box button:hover{

    background:var(--secondary);

    color:var(--dark);

}

.market-search{

    position:sticky;

    top:20px;

    z-index:50;

    background:var(--white);

    padding:16px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

#scrollTop{

position:fixed;

right:30px;

bottom:30px;

width:55px;

height:55px;

border-radius:50%;

background:#0b3a75;

color:#fff;

display:none;

align-items:center;

justify-content:center;

cursor:pointer;

border:none;

box-shadow:0 12px 25px rgba(0,0,0,.25);

transition:.3s;

}

#scrollTop:hover{

background:#d89b00;

}

@media(max-width:992px){

.market-layout{

display:block;

}

.featured-card{

display:block;

}

.featured-image{

margin-bottom:25px;

}

.market-grid{

grid-template-columns:1fr;

}

.market-sidebar-grid{

grid-template-columns:1fr;

}

.market-search{

display:block;

}

.market-search input,

.market-search select,

.market-search button{

width:100%;

margin-bottom:15px;

}

.pagination{

flex-wrap:wrap;

}

}