/* =====================================================
   EXCURSION TOUR GRID - PREMIUM CARD DESIGN
   Compatible Blocksy
===================================================== */


/* GRID */

.etg-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:30px;
    width:100%;
    margin:40px 0;
}


/* CARD */

.etg-card{
    background:#ffffff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(0,0,0,.10);
    transition:.35s ease;
    display:flex;
    flex-direction:column;
    width:100%;
}


.etg-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}



/* IMAGE */

.etg-image{

    position:relative;
    height:260px;
    overflow:hidden;

}


.etg-image img{

    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.5s ease;

}


.etg-card:hover .etg-image img{

    transform:scale(1.08);

}



/* IMAGE OVERLAY */

.etg-image:after{

    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:90px;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.45)
    );

}



/* BADGE POPULAR */

.etg-badge{

    position:absolute;
    top:18px;
    left:18px;
    z-index:5;

    background:#e87511;
    color:#fff;

    padding:8px 16px;

    border-radius:50px;

    font-size:13px;
    font-weight:700;

}



/* RATING IMAGE */

.etg-image-rating{

    position:absolute;

    top:18px;
    right:18px;

    z-index:5;

    background:#fff;

    color:#f5a623;

    padding:8px 14px;

    border-radius:50px;

    font-size:14px;

    font-weight:700;

    box-shadow:0 5px 15px rgba(0,0,0,.15);

}


/* CONTENT */

.etg-content{

    padding:25px;

    display:flex;

    flex-direction:column;

    flex:1;

}



/* TITLE */

.etg-content h3{

    margin:0 0 15px;

    font-size:22px;

    line-height:1.35;

}


.etg-content h3 a{

    color:#1d2939;

    text-decoration:none;

}


.etg-content h3 a:hover{

    color:#e87511;

}



/* INFO */

.etg-info{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-bottom:18px;

}


.etg-info span{

    background:#f5f5f5;

    padding:5px 5px;

    border-radius:5px;

    font-size:12px;

    color:#555;

}



/* EXCERPT */

.etg-excerpt{

    color:#666;

    line-height:1.7;

    font-size:15px;

    margin-bottom:25px;

}



/* FOOTER */

.etg-footer{

    margin-top:auto;

    padding-top:20px;

    border-top:1px solid #eee;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

}







/* BUTTON */

.etg-button{

    background:#1d6b55;

    color:#fff!important;

    padding:12px 22px;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

    white-space:nowrap;

}


.etg-button:hover{

    background:#124536;

}



/* TABLET */

@media(max-width:1024px){

    .etg-grid{

        grid-template-columns:repeat(2, minmax(0,1fr));

    }

}



/* MOBILE */

@media(max-width:700px){

    .etg-grid{

        grid-template-columns:1fr;

    }


    .etg-image{

        height:230px;

    }


    .etg-footer{

        flex-direction:column;

        align-items:flex-start;

    }


    .etg-button{

        width:100%;

        text-align:center;

    }

}

.etg-from{
    display:block;
    font-size:13px;
    font-weight:500;
    color:#777;
    margin-bottom:3px;
}

.etg-price{
    color:#e87511;
    font-size:14px;
    font-weight:800;
}

.etg-info span{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
    color:#555;
    font-size:15px;
}

.etg-info i{
    width:18px;
    color:#d97706;
    font-size:16px;
}

.etg-price i{
    color:#d97706;
    margin-right:6px;
}