/*
===========================================
CyclingEquipments.com
Premium Search Page
Version 1.0
===========================================
*/

/* Reset */

.ce-search-page *{
    box-sizing:border-box;
}

.ce-search-page{
    max-width:1400px;
    margin:40px auto 80px;
    padding:0 20px;
}

/* Hero */

.ce-search-hero{

    background:linear-gradient(135deg,#1668e3,#26b6f6);

    border-radius:24px;

    padding:70px 50px;

    text-align:center;

    color:#fff;

    position:relative;

    overflow:hidden;

    margin-bottom:50px;

}

/* decorative circles */

.ce-search-hero:before{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    right:-100px;

    top:-100px;

}

.ce-search-hero:after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    left:-80px;

    bottom:-80px;

}

.ce-search-hero h1{

    position:relative;

    z-index:2;

    font-size:56px;

    font-weight:800;

    color:#fff;

    margin:0 0 18px;

}

.ce-search-hero p{

    position:relative;

    z-index:2;

    max-width:850px;

    margin:auto;

    font-size:22px;

    line-height:1.7;

    opacity:.95;

}
/*==================================
Search Form
==================================*/

.ce-search-form{

    position:relative;

    z-index:2;

    display:flex;

    max-width:850px;

    margin:45px auto 0;

}

.ce-search-form input{

    flex:1;

    height:72px;

    border:none;

    outline:none;

    font-size:20px;

    padding:0 28px;

    border-radius:18px 0 0 18px;

}

.ce-search-form button{

    width:170px;

    border:none;

    background:#ff8400;

    color:#fff;

    font-size:20px;

    font-weight:700;

    cursor:pointer;

    border-radius:0 18px 18px 0;

    transition:.3s;

}

.ce-search-form button:hover{

    background:#ff6b00;

}
/*==================================
Results
==================================*/

.ce-result-count{

    font-size:28px;

    font-weight:700;

    margin-bottom:35px;

}
/*==================================
Grid
==================================*/

.ce-results-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(340px,1fr));

    gap:35px;

}
/*==================================================
PREMIUM RESULT CARDS
==================================================*/

.ce-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
    display:flex;
    flex-direction:column;
    height:100%;
}

.ce-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.ce-thumb{
    display:block;
    width:100%;
    height:230px;
    background:#eef3f8;
    overflow:hidden;
    position:relative;
}

.ce-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.ce-card:hover .ce-thumb img{
    transform:scale(1.08);
}

.ce-placeholder{
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    color:#777;
    background:#eef3f8;
}

.ce-content{
    padding:24px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.ce-content h2{
    margin:0 0 15px;
    font-size:24px;
    line-height:1.4;
}

.ce-content h2 a{
    text-decoration:none;
    color:#222;
}

.ce-content h2 a:hover{
    color:#0d6efd;
}

.ce-content p{
    color:#666;
    line-height:1.7;
    flex:1;
}

.ce-button{
    display:inline-block;
    margin-top:20px;
    padding:12px 22px;
    background:#0d6efd;
    color:#fff;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.ce-button:hover{
    background:#084ec1;
}
/*=========================================
Listing Badge
=========================================*/

.ce-badge{

    position:absolute;

    top:15px;

    left:15px;

    background:#ff8400;

    color:#fff;

    padding:8px 14px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

    letter-spacing:.5px;

    text-transform:uppercase;

    z-index:5;

}

.ce-meta{

    margin-bottom:15px;

    color:#777;

    font-size:14px;

}
.search-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.search-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.search-thumb img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.search-content{
    padding:20px;
    text-align:center;
}

.search-title{
    font-size:20px;
    margin-bottom:18px;
    line-height:1.4;
}

.search-title a{
    color:#222;
    text-decoration:none;
}

.search-title a:hover{
    color:#0b7cff;
}

.search-btn{
    display:inline-block;
    background:#0b7cff;
    color:#fff;
    padding:10px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.search-btn:hover{
    background:#095fd1;
    color:#fff;
}
/* Search Type Badge */
.search-thumb{
    position:relative;
}

.search-type{
    position:absolute;
    top:12px;
    left:12px;
    background:#0d6efd;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    z-index:10;
}

.search-type.listing{
    background:#0ea5e9;
}
.search-type.product{
    background:#16a34a;
}
.search-type.vendor{
    background:#7c3aed;
}
.search-type.event{
    background:#f97316;
}
.search-type.post{
    background:#64748b;
}