/*=========================================================
RW Directory Listing
Version : 1.0
Author  : RamWebAcademy
=========================================================*/


/*=========================================================
ROOT
=========================================================*/

:root{

    --rwdl-primary:#2563eb;
    --rwdl-primary-hover:#1d4ed8;

    --rwdl-success:#22c55e;
    --rwdl-danger:#ef4444;
    --rwdl-warning:#f59e0b;

    --rwdl-dark:#111827;
    --rwdl-text:#374151;

    --rwdl-border:#e5e7eb;

    --rwdl-bg:#f8fafc;

    --rwdl-white:#ffffff;

    --rwdl-radius:12px;

    --rwdl-shadow:0 12px 35px rgba(0,0,0,.08);

    --rwdl-transition:.3s ease;

}


/*=========================================================
RESET
=========================================================*/

.rwdl-container *,
.rwdl-container *:before,
.rwdl-container *:after{

    box-sizing:border-box;

}

.rwdl-container{

    width:100%;
    max-width:1450px;
    margin:auto;
    padding:40px 15px;

    color:var(--rwdl-text);

}

.rwdl-container img{

    max-width:100%;
    height:auto;
    display:block;

}

.rwdl-container a{

    text-decoration:none;

    transition:var(--rwdl-transition);

}

.rwdl-container ul{

    padding:0;
    margin:0;
    list-style:none;

}

.rwdl-container p{

    line-height:1.8;
    margin-bottom:15px;

}


/*=========================================================
COMMON
=========================================================*/

.rwdl-section{

    background:#fff;

    border:1px solid var(--rwdl-border);

    border-radius:var(--rwdl-radius);

    overflow:hidden;

    box-shadow:var(--rwdl-shadow);

    margin-bottom:30px;

}

.rwdl-section-header{

    padding:18px 25px;

    border-bottom:1px solid var(--rwdl-border);

    background:#fff;

}

.rwdl-section-header h2{

    margin:0;

    font-size:24px;

    color:var(--rwdl-dark);

}

.rwdl-section-body{

    padding:25px;

}


/*=========================================================
BUTTONS
=========================================================*/

.rwdl-btn,
.rwdl-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    background:var(--rwdl-primary);

    color:#fff;

    padding:12px 22px;

    border-radius:8px;

    font-weight:600;

    border:none;

    cursor:pointer;

    transition:var(--rwdl-transition);

}

.rwdl-btn:hover,
.rwdl-button:hover{

    background:var(--rwdl-primary-hover);

    color:#fff;

    transform:translateY(-2px);

}

.rwdl-btn-secondary{

    background:#fff;

    border:1px solid var(--rwdl-border);

    color:var(--rwdl-dark);

}

.rwdl-btn-secondary:hover{

    background:var(--rwdl-primary);

    color:#fff;

}


/*=========================================================
FORM
=========================================================*/

.rwdl-input,
.rwdl-form-input,
.rwdl-select,
.rwdl-form-select{

    width:100%;

    height:50px;

    border:1px solid var(--rwdl-border);

    border-radius:8px;

    padding:0 16px;

    background:#fff;

    outline:none;

    transition:var(--rwdl-transition);

}

.rwdl-input:focus,
.rwdl-select:focus{

    border-color:var(--rwdl-primary);

    box-shadow:0 0 0 3px rgba(37,99,235,.15);

}


/*=========================================================
LAYOUT
=========================================================*/

.rwdl-wrapper{

    display:grid;

    grid-template-columns:320px 1fr;

    gap:30px;

    align-items:start;

}

.rwdl-content{

    min-width:0;

}


/*=========================================================
SEARCH
=========================================================*/

.rwdl-search-wrap{

    background:#fff;

    border-radius:15px;

    padding:35px;

    margin-bottom:30px;

    border:1px solid var(--rwdl-border);

    box-shadow:var(--rwdl-shadow);

}

.rwdl-search-header{

    text-align:center;

    margin-bottom:30px;

}

.rwdl-page-title{

    font-size:38px;

    margin-bottom:10px;

    color:var(--rwdl-dark);

}

.rwdl-page-subtitle{

    color:#6b7280;

    font-size:17px;

}

.rwdl-search-form{

    width:100%;

}

.rwdl-search-row{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 180px;

    gap:15px;

}

.rwdl-search-button button{

    width:100%;

    height:50px;

}


/* ==========================
   Toolbar
========================== */

.rwdl-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:12px;
    padding:20px 25px;
    margin-bottom:30px;
}

.rwdl-toolbar-left{
    display:flex;
    align-items:center;
}

.rwdl-total-count{
    font-size:17px;
    color:#444;
}

.rwdl-total-count strong{
    color:#2563eb;
    font-size:22px;
    margin-right:6px;
}

.rwdl-toolbar-right{
    display:flex;
    align-items:center;
    gap:15px;
}

.rwdl-view-btn{
    width:50px;
    height:50px;
    border:none;
    border-radius:10px;
    background:#f5f5f5;
    cursor:pointer;
    transition:.3s;
}

.rwdl-view-btn .dashicons{
    font-size:22px;
    width:22px;
    height:22px;
}

.rwdl-view-btn.active,
.rwdl-view-btn:hover{
    background:#2563eb;
    color:#fff;
}

#rwdl-sort{
    min-width:220px;
}

/*=========================================================
SIDEBAR
=========================================================*/

.rwdl-sidebar{

    position:sticky;

    top:30px;

}

.rwdl-filter-box{

    background:#fff;

    border:1px solid var(--rwdl-border);

    border-radius:12px;

    padding:20px;

    margin-bottom:25px;

    box-shadow:var(--rwdl-shadow);

}

.rwdl-filter-title{

    font-size:20px;

    color:var(--rwdl-dark);

    margin-bottom:18px;

}

.rwdl-filter-list{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.rwdl-checkbox{

    display:flex;

    align-items:center;

    gap:10px;

    cursor:pointer;

}

.rwdl-checkbox input{

    width:18px;

    height:18px;

}

.rwdl-checkbox span{

    display:flex;

    justify-content:space-between;

    width:100%;

    font-size:15px;

}

.rwdl-checkbox small{

    color:#888;
}


/*=========================================================
GRID
=========================================================*/

.rwdl-grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:25px;

}

.rwdl-grid-2{

    grid-template-columns:repeat(2,minmax(0,1fr));

}

.rwdl-grid-4{

    grid-template-columns:repeat(4,minmax(0,1fr));

}


/*=========================================================
LISTING CARD
=========================================================*/

.rwdl-card{

    background:#fff;

    border:1px solid var(--rwdl-border);

    border-radius:14px;

    overflow:hidden;

    position:relative;

    transition:all .35s ease;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.rwdl-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

.rwdl-card-image{

    position:relative;

    overflow:hidden;

    aspect-ratio:16/10;
 min-height:260px;
    background:#f5f5f5;

}

.rwdl-card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.rwdl-card:hover .rwdl-card-image img{

    transform:scale(1.08);

}


/*=========================================================
BADGES
=========================================================*/

.rwdl-featured{

    position:absolute;

    left:15px;

    top:15px;

    background:#f59e0b;

    color:#fff;

    padding:6px 12px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    z-index:5;

}

.rwdl-verified{

    position:absolute;

    right:15px;

    top:15px;

    background:#22c55e;

    color:#fff;

    width:34px;

    height:34px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:16px;

    z-index:5;

}

.rwdl-category{

    display:inline-flex;

    align-items:center;

    padding:6px 14px;

    background:#1f2937;

    color:#fff;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

    margin-bottom:15px;

}


/*=========================================================
CARD BODY
=========================================================*/

.rwdl-card-body{

    padding:20px;

}

.rwdl-card-title{

    font-size:21px;

    font-weight:700;

    margin-bottom:10px;

    color:var(--rwdl-dark);

    line-height:1.4;

}

.rwdl-card-title a{

    color:inherit;

}

.rwdl-card-title a:hover{

    color:var(--rwdl-primary);

}

.rwdl-card-tagline{

    color:#6b7280;

    font-size:15px;

    margin-bottom:18px;

    line-height:1.7;

}


/*=========================================================
META
=========================================================*/

.rwdl-card-meta{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-bottom:18px;

}

.rwdl-meta-item{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:15px;

}

.rwdl-meta-item i{

    width:20px;

    color:var(--rwdl-primary);

    text-align:center;

}


/*=========================================================
RATING
=========================================================*/

.rwdl-rating{

    display:flex;

    align-items:center;

    gap:8px;

    margin-bottom:20px;

}

.rwdl-stars{

    color:#f59e0b;

    letter-spacing:2px;

}

.rwdl-rating-count{

    color:#888;

    font-size:14px;

}


/*=========================================================
CARD FOOTER
=========================================================*/

.rwdl-card-footer{

    margin-top:auto;

    border-top:1px solid var(--rwdl-border);

    padding:20px;

}

.rwdl-card-footer .rwdl-btn{

    width:100%;

    margin-bottom:15px;

}

.rwdl-card-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.rwdl-card-actions{

    display:flex;

    gap:10px;

}

.rwdl-category{

    display:inline-flex;

    align-items:center;

    padding:7px 14px;

    background:#1f2937;

    color:#fff;

    border-radius:25px;

    font-size:12px;

    font-weight:600;

    position:static;

}

.rwdl-icon-btn{

    width:40px;

    height:40px;

    border-radius:50%;

    border:1px solid var(--rwdl-border);

    display:flex;

    justify-content:center;

    align-items:center;

    background:#fff;

    transition:.3s;

}

.rwdl-icon-btn:hover{

    background:var(--rwdl-primary);

    color:#fff;

}

/*=========================================================
LIST VIEW
=========================================================*/

.rwdl-list{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.rwdl-list-item{

    display:grid;

    grid-template-columns:320px 1fr;

    background:#fff;

    border-radius:14px;

    overflow:hidden;

    border:1px solid var(--rwdl-border);

    transition:.3s;

}

.rwdl-list-item:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 45px rgba(0,0,0,.10);

}

.rwdl-list-image{

    height:100%;

}

.rwdl-list-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.rwdl-list-content{

    padding:25px;

}


/*=========================================================
PAGINATION
=========================================================*/

.rwdl-pagination{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:45px;

}

.rwdl-pagination a,
.rwdl-pagination span{

    width:45px;

    height:45px;

    border-radius:8px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#fff;

    border:1px solid var(--rwdl-border);

    transition:.3s;

}

.rwdl-pagination a:hover,
.rwdl-pagination .current{

    background:var(--rwdl-primary);

    color:#fff;

    border-color:var(--rwdl-primary);

}


/*=========================================================
SINGLE PAGE LAYOUT
=========================================================*/

.rwdl-single-wrapper{

    display:grid;

    grid-template-columns:1fr 340px;

    gap:30px;

    align-items:start;

}

.rwdl-main{

    min-width:0;

}

.rwdl-sidebar{

    position:sticky;

    top:30px;

}


/*=========================================================
HERO
=========================================================*/

.rwdl-hero{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:var(--rwdl-shadow);

    margin-bottom:30px;

}

.rwdl-cover{

    height:320px;

    position:relative;

    overflow:hidden;

}

.rwdl-cover img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.rwdl-cover:after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(to top,rgba(0,0,0,.65),rgba(0,0,0,.05));

}

.rwdl-hero-content{

    position:relative;

    margin-top:-70px;

    padding:0 30px 30px;

    z-index:2;

}

.rwdl-logo{

    width:120px;

    height:120px;

    border-radius:16px;

    overflow:hidden;

    border:5px solid #fff;

    background:#fff;

    box-shadow:0 12px 35px rgba(0,0,0,.18);

}

.rwdl-logo img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.rwdl-business-title{

    font-size:34px;

    font-weight:700;

    margin:20px 0 10px;

    color:var(--rwdl-dark);

}

.rwdl-business-tagline{

    color:#6b7280;

    font-size:17px;

    margin-bottom:18px;

}

.rwdl-business-meta{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}

.rwdl-business-meta span{

    display:flex;

    align-items:center;

    gap:8px;

    background:#f8fafc;

    padding:8px 14px;

    border-radius:30px;

    font-size:14px;

}

.rwdl-business-meta i{

    color:var(--rwdl-primary);

}


/*=========================================================
OVERVIEW
=========================================================*/

.rwdl-overview-box{

    margin-bottom:30px;

}

.rwdl-overview-box h4{

    margin-bottom:12px;

    color:var(--rwdl-dark);

}

.rwdl-business-details{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.rwdl-detail-item{

    background:#f9fafb;

    border-radius:10px;

    padding:18px;

}

.rwdl-detail-item strong{

    display:block;

    margin-bottom:8px;

    color:var(--rwdl-dark);

}


/*=========================================================
GALLERY
=========================================================*/

.rwdl-gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

    padding:25px;

}

.rwdl-gallery-item{

    overflow:hidden;

    border-radius:12px;

    display:block;

}

.rwdl-gallery-item img{

    width:100%;

    height:220px;

    object-fit:cover;

    transition:.4s;

}

.rwdl-gallery-item:hover img{

    transform:scale(1.08);

}


/*=========================================================
CONTACT
=========================================================*/

.rwdl-contact-card{

    padding:25px;

}

.rwdl-contact-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.rwdl-contact-item{

    display:flex;

    justify-content:space-between;

    gap:15px;

    border-bottom:1px solid var(--rwdl-border);

    padding-bottom:12px;

}

.rwdl-contact-label{

    font-weight:600;

    color:var(--rwdl-dark);

}

.rwdl-contact-buttons{

    margin-top:25px;

    display:grid;

    gap:12px;

}

.rwdl-contact-buttons .rwdl-btn{

    width:100%;

}


/*=========================================================
BUSINESS HOURS
=========================================================*/

.rwdl-business-hours{

    padding:25px;

}

.rwdl-hours-row{

    display:flex;

    justify-content:space-between;

    padding:14px 0;

    border-bottom:1px solid var(--rwdl-border);

}

.rwdl-hours-row:last-child{

    border:none;

}

.rwdl-hours-day{

    font-weight:600;

}

.rwdl-hours-time{

    color:#555;

}

.rwdl-closed{

    color:var(--rwdl-danger);

    font-weight:600;

}


.rwdl-single-wrapper .addtoany_share_save_container {
    display: none;
}


/*=========================================================
SOCIAL
=========================================================*/

.rwdl-social-links{

    padding:25px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.rwdl-social-btn{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    text-decoration:none;

    color:var(--rwdl-dark);

    transition:.3s;

}

.rwdl-social-btn i{

    width:55px;

    height:55px;

    border-radius:50%;

    background:#f5f5f5;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    margin-bottom:10px;

    transition:.3s;

}

.rwdl-social-btn span{

    display:block;

    font-size:13px;

    font-weight:600;

    line-height:1.4;

}

.rwdl-social-btn:hover{

    color:var(--rwdl-primary);

}

.rwdl-social-btn:hover i{

    background:var(--rwdl-primary);

    color:#fff;

    transform:translateY(-3px);

}

/*=========================================================
MAP
=========================================================*/

.rwdl-map-wrapper{

    overflow:hidden;

}

.rwdl-map-wrapper iframe{

    width:100%;

    height:420px;

    border:none;

}

.rwdl-map-address{

    padding:20px 25px;

    border-top:1px solid var(--rwdl-border);

}

.rwdl-map-actions{

    padding:0 25px 25px;

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}


/*=========================================================
RELATED
=========================================================*/

.rwdl-related-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    padding:25px;

}


.rwdl-single-hero img{
    width:100%;
    max-height:420px;
    object-fit:cover;
    border-radius:16px;
}

.rwdl-single-hero{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:40px;

    align-items:center;

}

.rwdl-single-hero-info{

    background:#fff;

    padding:35px;

    border-radius:16px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}


.rwdl-single-wrapper{

    display:grid;

    grid-template-columns:2fr 360px;

    gap:30px;

    margin-top:35px;

}

.rwdl-single-sidebar{

    position:sticky;

    top:100px;

    align-self:start;

}


.rwdl-single-content > *,

.rwdl-single-sidebar > *{

    background:#fff;

    border-radius:16px;

    padding:28px;

    margin-bottom:25px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}


.rwdl-section-title{

    font-size:22px;

    font-weight:700;

    margin-bottom:20px;

    padding-bottom:12px;

    border-bottom:1px solid #eee;

}


.rwdl-contact-btn{

    width:100%;

    margin-bottom:12px;

    border-radius:10px;

    font-weight:600;

}


.rwdl-social{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.rwdl-social a{

    width:44px;

    height:44px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#f5f7fb;

    transition:.3s;

}

.rwdl-social a:hover{

    background:var(--rwdl-primary);

    color:#fff;

}


.rwdl-hours-row{

    display:flex;

    justify-content:space-between;

    padding:12px 0;

    border-bottom:1px solid #f1f1f1;

}



/*=========================================================
SINGLE PAGE TABS
=========================================================*/

.rwdl-single-tabs{

    display:flex;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

    margin:30px 0;

    padding:15px 20px;

    background:#fff;

    border:1px solid var(--rwdl-border);

    border-radius:14px;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.rwdl-tab{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 20px;

    border-radius:10px;

    text-decoration:none;

    color:#555;

    font-weight:600;

    transition:all .3s ease;

}

.rwdl-tab:hover{

    background:var(--rwdl-primary);

    color:#fff;

}

.rwdl-tab.active{

    background:var(--rwdl-primary);

    color:#fff;

}


.rwdl-single-section{
    display:none;
}

.rwdl-single-section.active{
    display:block;
}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:1200px){

.rwdl-grid{

grid-template-columns:repeat(2,1fr);

}

.rwdl-related-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:992px){

.rwdl-wrapper,
.rwdl-single-wrapper{

grid-template-columns:1fr;

}

.rwdl-sidebar{

position:relative;

top:0;

}

.rwdl-search-row{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:768px){

.rwdl-grid,
.rwdl-gallery-grid,
.rwdl-related-grid{

grid-template-columns:1fr;

}

.rwdl-business-details{

grid-template-columns:1fr;

}

.rwdl-list-item{

grid-template-columns:1fr;

}

.rwdl-search-row{

grid-template-columns:1fr;

}

.rwdl-cover{

height:220px;

}

.rwdl-business-title{

font-size:26px;

}

.rwdl-logo{

width:90px;
height:90px;

}

}

@media(max-width:576px){

.rwdl-toolbar{

flex-direction:column;

gap:15px;

align-items:flex-start;

}

.rwdl-business-meta{

flex-direction:column;

}

.rwdl-contact-item{

flex-direction:column;

}

.rwdl-map-actions{

flex-direction:column;

}

.rwdl-btn{

width:100%;

}

}