/*
|--------------------------------------------------------------------------
| MOBILE ACTIVITY DISPLAY
|--------------------------------------------------------------------------
*/

@media only screen and (max-width: 480px) {

    div#activity-slider-2,
    div.activity-details-main-img {
        display: none;
    }

}


/*
|--------------------------------------------------------------------------
| GALLERY THUMBNAILS
|--------------------------------------------------------------------------
*/

ul.list-gallery-inline {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.list-gallery-inline > li {
    flex: 0 0 calc((100% - 16px) / 3) !important;
    width: calc((100% - 16px) / 3) !important;
    max-width: calc((100% - 16px) / 3) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

ul.list-gallery-inline > li > a {
    display: block;
    width: 100% !important;
    height: 100%;
}

ul.list-gallery-inline > li img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
}


/*
|--------------------------------------------------------------------------
| MONUMENT CONTENT
|--------------------------------------------------------------------------
*/

.monument-details-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/*
|--------------------------------------------------------------------------
| Monument HERO
|--------------------------------------------------------------------------
*/

.monument-hero,
#breadcrumb.media-hero,
#blog-details-thumb.media-hero {
    background-position:
        var(--hero-focus-x, 50%)
        var(--hero-focus-y, 50%) !important;

    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/*
|--------------------------------------------------------------------------
| MEDIA HERO
|--------------------------------------------------------------------------
*/

#breadcrumb.media-hero,
#blog-details-thumb.media-hero {
    background-position:
        var(--hero-focus-x, 50%)
        var(--hero-focus-y, 50%) !important;

    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.activity-details-section-slide-img {
    width: 100%;
    aspect-ratio: 632 / 428;
    overflow: hidden;
}

.activity-details-section-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card {
    position: relative;
}

.delete-image-form {
    position: absolute;
    right: 15px;
    bottom: 15px;
    margin: 0;
}

.delete-button {
    background: #b00020;
    color: #fff;
    border: 1px solid #b00020;
}

.delete-button:hover {
    background: #8e0019;
}