/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.benguet-tourist-spot-map-container {
    font-family: "Open Sans", sans-serif;
    position: relative;
    box-sizing: border-box;
}

.benguet-tourist-spot-map-container a {
    color: inherit;
    text-decoration: none;
}

.benguet-tourist-spot-map-container #map {
    height: 800px;
}

.benguet-tourist-spot-map-container .leaflet-top.leaflet-left {
    display: none;
}

.benguet-tourist-spot-map-container .leaflet-top.leaflet-right {
    height: 100%;
    width: 100%;
    max-width: 20.83%;
}

.benguet-tourist-spot-map-container .custom-control-container {
    background-color: white;
    padding: 0;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    border-radius: unset;
    margin-right: 0 !important;
    margin-top: 0 !important;
    height: 100%;
    opacity: 0;
}

.benguet-tourist-spot-map-container .image-holder {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.benguet-tourist-spot-map-container .image-holder img {
    width: 100%;
    overflow: hidden;
    display: block;
    object-fit: cover;
    object-position: center;
}

.benguet-tourist-spot-map-container .info-holder {
    padding: 15px;
}

.benguet-tourist-spot-map-container .title-holder {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1;
}

.benguet-tourist-spot-map-container .description-holder {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
}

.benguet-tourist-spot-map-container .leaflet-ctrl-close-button {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 10px 15px;
    margin-top: 15px;
    margin-left: 15px;
    border: 1px solid #333;
    transition: all .3s ease-in-out;
    display: block;
    width: 100%;
    max-width: 150px;
    text-align: center;
}

.benguet-tourist-spot-map-container .leaflet-ctrl-close-button:hover {
    color: #fff;
    background: #333;
    transition: all .3s ease-in-out;
}

.benguet-tourist-spot-map-container #postLink {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 0;
    margin-left: 15px;
    color: #F2972A;
}

.benguet-tourist-spot-map-container #postLink:hover {
    font-family: "Open Sans", sans-serif;
    color: #333;
}

.benguet-tourist-spot-map-container .address-holder,
.benguet-tourist-spot-map-container .activity-holder {
    display: flex;
    gap: 5px;
}

.benguet-tourist-spot-map-container .to-pill {
    display: inline-block;
    padding: 3px;
    line-height: 1;
    background: #F2972A;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
}

.benguet-tourist-spot-map-container .gray-line {
    border: none;
    background-color: rgba(0, 0, 0, 0.1);
    height: 1px;
    margin: 5px 0;
}

.benguet-tourist-spots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.benguet-tourist-spots-container .link-box {
    width: 100%;
    max-width: 360px;
    height: 400px;
    position: relative;
}

.benguet-tourist-spots-container .box {
    width: 100%;
    max-width: 360px;
    height: 400px;
    position: relative;
}

.benguet-tourist-spots-container .box::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(17, 34, 28, 0.3) 0%, rgba(17, 34, 28, 0.5) 60%, rgba(17, 34, 28, 0.7) 100%);
    transition: all .3s ease-in-out;
}

.benguet-tourist-spots-container .ts-img{
    overflow: hidden;
}

.benguet-tourist-spots-container .box:hover img {
    transform: scale(1);
    transition: all .3s ease-in-out;
}

.benguet-tourist-spots-container .box:hover img {
    transform: scale(1.05);
    transition: all .3s ease-in-out;
}

.benguet-tourist-spots-container .box:hover::after {
    content: "";
    /* background: rgba(17, 34, 28, 0); */
    background: linear-gradient(180deg, rgba(17, 34, 28, 0) 0%, rgba(17, 34, 28, 0) 60%, rgba(17, 34, 28, 0) 100%);
    transition: all .3s ease-in-out;
}

.benguet-tourist-spots-container .box .ts-img {
    width: 100%;
    height: 100%;
}

.benguet-tourist-spots-container .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.benguet-tourist-spots-container .box .ts-content {
    position: absolute;
    left: 0;
    bottom: 0px;
    z-index: 1;
    color: #fff;
    padding: 15px;
    display: block;
    width: 100%;
    background: rgba(17, 34, 28, 0.7);
}

.bts-container .pagination {
    justify-content: center;
    gap: 10px;
}

.bts-container .pagination .page-numbers {
    text-decoration: none;
    display: block;
    padding: 5px 10px;
    border: #000 1px solid;
    border-radius: 3px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    background: #fff;
}
.bts-container .pagination .page-numbers:hover {
    border-color: #F39E00;
    transition: all .3s ease-in-out;
    background: #F39E00;
}
.bts-container .pagination .current {
    border-color: transparent;
    cursor: unset;
}