/***********************
 ATTRACTIONS
 ***********************/
.attractions, .attractions > li, .attraction-filters, .attraction-filters > li { list-style: none; margin-left: 0; padding-left: 0; }
#archive-attraction { max-width: 100%; min-width: 0; }

.attraction-filters { align-items: center; display: flex; gap: 15px; justify-content: center; margin-bottom: 60px; }
.attraction-filters > li > a { background-color: #eaeaea; border-radius: 3rem; padding: 10px 25px; }
.attraction-filters > li.active > a, .attraction-filters > li > a:hover {
    background-color: var(--button_gradient_top_color);
    color: var(--button_accent_color);
}

.attractions { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
.attractions > li { background-color: #f6f6f6; }
.attraction-item { border: 5px solid #b95c3b; padding: 10px; }
.attractions > li img { aspect-ratio: 16/9; margin-bottom: 0; object-fit: cover; width: 100%; }
.attraction-item h4:after { content: ''; background: #b95c3b; display: block; height: 4px; margin-top: 0.65rem; width: 80px; }
.attractions > li .attraction-content { padding-block: 1.5rem 1rem; }
.attractions > li .attraction-content > *:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
    .attractions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .attractions { grid-template-columns: 1fr; }

    .attraction-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        max-width: 100%;
        min-width: 0;
        width: 100%;
        margin-bottom: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-color: #b95c3b #eaeaea;
        scrollbar-width: thin;
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    }
    .attraction-filters::-webkit-scrollbar { height: 6px; }
    .attraction-filters::-webkit-scrollbar-track { background: #eaeaea; border-radius: 3px; }
    .attraction-filters::-webkit-scrollbar-thumb { background: #b95c3b; border-radius: 3px; }
    .attraction-filters > li { flex: 0 0 auto; }
    .attraction-filters > li > a { display: block; white-space: nowrap; }
}


/***********************
 SINGLE ATTRACTION
 ***********************/
#single-attraction .row { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); margin-inline: 0; }
#single-attraction .row:before { content: none; }
#single-attraction h1 { margin-bottom: 1rem; }

.attraction-gallery, .attraction-gallery > li { list-style: none; margin-left: 0; padding-left: 0; }
.attraction-gallery { display: grid; gap: 30px; grid-template-columns: repeat(4, 1fr); }
.attraction-gallery > li img, #single-attraction img.attraction-gallery-image { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

#related-attractions { margin-top: 90px; }
#related-attractions h2 { margin-bottom: 1.75rem; text-align: center; }

/* Keep the lightbox above the fixed Avada header */
#lightboxOverlay { z-index: 99999998; }
#lightbox { z-index: 99999999; }

@media (max-width: 1240px) {
    .attraction-gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .attraction-gallery { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}


/***********************
 BLOG
 ***********************/
.fusion-post-content-wrapper { background-color: #f6f6f6; }


/***********************
 SHARE MODAL
 ***********************/
.share-modal { background-color: rgba(0,0,0,0.9); display: none; height: 100%; left: 0; min-height: 100vh; overflow: auto; position: fixed; top: 0; width: 100%; z-index: 9999999999999999; }
.share-modal > .modal-box { background-color: #ffffff; border-radius: 10px; display: inline-block; height: auto; max-width: 300px; position: absolute; width: 100%; }
.share-modal > .modal-box ul { display: inline-block; list-style: none; margin: 0 15px; padding: 0; width: calc(100% - 30px); }
.share-modal > .modal-box ul > li { display: inline-block; width: 100%; }
.share-modal > .modal-box ul > li > a { border-bottom: 1px solid #cccccc; color: #000000; display: inline-block; font-size: 18px; line-height: 22px; padding: 15px 0; width: 100%; }
.share-modal > .modal-box ul > li:last-child > a { border-bottom: 0; }
.share-modal > .modal-box ul > li > a:hover { color: #000000; }
.share-modal > .modal-box ul > li > a .fa { margin-right: 10px; }
.share-modal > .modal-box ul > li > a small { color: #1DBDBC!important; }
.share-modal > .modal-box > .header { border-bottom: 1px solid #cccccc; display: inline-block; margin-bottom: 0; padding: 15px 25px 15px; width: 100%; }
.share-modal > .modal-box > .header > h5 { display: inline-block; float: left; font-size: 24px; line-height: 28px; margin-bottom: 0; margin-top: 0; max-width: calc(100% - 45px); position: relative; top: 3px; }
.share-modal > .modal-box > .header > a.close-modal { border: 1px solid #cccccc; border-radius: 5px; color: #333333; display: inline-block; float: right; font-size: 20px; height: 36px; line-height: 34px; padding: 0; text-align: center; width: 36px; }
.share-modal > .modal-box > .header > a.close-modal:hover { background-color: #cccccc; color: #ffffff; }

.share-modal > .modal-box > .content { display: inline-block; padding: 20px 15px; width: 100%; }
.share-modal > .modal-box > .content h5 { color: #999999; }

@media (min-width: 577px) {
    .share-modal > .modal-box { left: 50%; top: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); }
}

@media (max-width: 576px) {
    .share-modal > .modal-box { min-height: 100vh; left: 0; max-width: 100%; top: 0; width: 100%; }
}
