.content-image, .gallery-img {
    height: 150px;
    max-height: 150px;
    min-height: 150px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.content-image .bg, .gallery-img .bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(10px) brightness(1.1);
    transform: scale(1.1);
    z-index: 20;
}

.content-image .front, .gallery-img .front{
    position: relative;
    height: 100%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 64px;
    height: 100%;
    z-index: 9999;
    transform: translateY(-50%);
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: var(--cursor-pointer);
}

.gallery-nav-dots {
    position: absolute;
    bottom: 0;
    padding: 2px;
    left: 50%;
    max-height: 32px;
    width: fit-content;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.gallery-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 32px;
    background-color: #FFFA;
    cursor: var(--cursor-pointer);
}

.gallery-nav-dot.active 
{
    background-color: white;
}

.gallery-nav.left {
    left: 0;
    background-image: url('../img/ui/arrow_back.png');
}

.gallery-nav.right {
    right: 0;
    background-image: url('../img/ui/arrow_forward.png');
}

.content-gallery-wrapper {
    width: 100%;
    height: 150px;
    max-height: 150px;
    min-height: 150px;
    position: relative;
    overflow: hidden;
}

.content-gallery {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
}

.gallery-img {
    flex: 0 0 100%;
}

.content-video {
    margin: 18px 0;
}

.content-audio {
    min-height: 54px;
    margin: 18px 0;
}

.content-text {
    font-family: 'Comic Neue', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
}

.content-list {
    overflow-y: auto;
    overflow-x: hidden;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
    width: 100%;
}

.content-list::-webkit-scrollbar, 
#game-ui .container-inner::-webkit-scrollbar
{
    width: 4px;
    z-index: 8192;
}

.content-list::-webkit-scrollbar-track,
#game-ui .container-inner::-webkit-scrollbar-track {
    background-color: #C7CBB0;
}

.content-list::-webkit-scrollbar-thumb,
#game-ui .container-inner::-webkit-scrollbar-thumb {
    background-color: #B53135;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px #cfa8a9;
}

.location-link {
    position: relative;
    justify-content: start;
    width: fit-content;
    background-color: transparent;
    border-radius: 5px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.0);
    padding: 8px 10px;
    transform: translateY(0);
    color: black;
}

.location-link-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    padding: 4px;
    align-items: center;
    background-color: white;
    box-shadow: 0 4px 4px #0004;
}

.location-link-wrapper:hover {
    cursor: var(--cursor-pointer);
}

/* .location-link-wrapper:hover {
    box-shadow: 0 8px 4px #0004;
    transform: translateY(-8px);
} */

.location-icon {
    max-width: 64px;
    max-height: 64px;
    z-index: 100;
    background-color: #EEE;
    padding: 8px;
}

.list-category {
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 0;
    color: black;
}

.content-item {
    width: 100%;
}

#content-address-link {
    cursor: var(--cursor-pointer);
    display: flex;
    transition: filter .2s linear;
    max-width: 100%;
}

.content-address-inner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.content-address-wrap {
    background-color: var(--color-bg);
    display: flex;
    max-width: 90%;
}

#content-address-icon {
    width: 16px;
    height: 16px;
    transform-origin: bottom;
    transform: scale(1.5);
    margin: 0 8px;
}

#content-address {
    font-size: 13px;
    text-decoration: none;
    color: var(--text-dark);
    overflow: hidden;
    word-break: keep-all;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: italic;
    cursor: var(--cursor-pointer);
}

#content-address-link:hover{
    filter: brightness(1.1);
}

#content-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}

#content-search-input {
    width: 100%;
    padding: 4px 8px;
    border: 2px solid var(--color-bg);
    border-radius: 7px;
    font-size: 16px;
    line-height: 1.5;
    background-color: #fff;
    box-shadow: 0 4px 4px #0004;
}

#btn-clear-search {
    position: absolute;
    width: 20px;
    right: 0;
    cursor: var(--cursor-pointer);
    border-radius: 6px;
    background-color: var(--color-bg);
    transform: translate(-50%, -50%);
    top: 50%;
    transition: all .1s linear;
}

#btn-clear-search:hover {
    background-color: var(--color-bg-highlight);
}

.pin-icon {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100;
}

#btn-search {
    padding: 8px;
    background-color: var(--color-bg);
    border-radius: 7px;
    border: 2px solid white;
    box-shadow: 0 4px 4px #0004;
    cursor: var(--cursor-pointer);
    transition: all .1s linear;
}

#btn-search:hover {
    background-color: var(--color-bg-highlight);
}

.search-input {
    width: 100%;
    position: relative;
}



.bottom-center-btn {
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    bottom: -30px;
    z-index: 1000;



    cursor: var(--cursor-pointer);
    transition: all 0.2s ease;
}

.bottom-center-btn:hover {
    transform: translateX(-50%) scale(1.05);
    filter: brightness(1.1);
}

.button-label {
    position: absolute;
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    color: white; 
    font-size: 16px; 
    font-weight: bold;
    text-align: center;
    z-index: 1001; 
    
    pointer-events: none; 
}

.optional-button-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none; 
    
    bottom: -100px;
    
    height: 0 !important; 
    padding: 0 !important;
    margin: 0 !important;
    
    transition: all 0.3s linear;
}


.optional-button-show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    
    bottom: 24px; 

    height: auto; 
    padding: 0; 
    margin: 0;
    
    transition: all 0.3s linear;
}
