.gallery-card-wrapper {
    display: flex;
    flex-direction: column;
    background-color: var(--mud-palette-surface);
    overflow: hidden;
    box-shadow: var(--mud-elevation-2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    height: 100%;

    margin-bottom: 0 !important;
}

.gallery-card-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: var(--mud-elevation-8);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.owner-name {
    font-weight: 500 !important;
    margin-bottom: 2px;
}

.timestamp {
    color: var(--mud-palette-text-secondary);
    font-size: 12px;
}

@media (max-width: 599px) {
    .gallery-image {
        aspect-ratio: 16/9;
    }

    .gallery-card-wrapper {
        /*flex-direction: row;*/
        /*align-items: center;*/
    }

    .gallery-image-container {
        width: 120px;
        flex-shrink: 0;
        height: 120px;
    }

    .gallery-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 600px) and (max-width: 959px) {
    .gallery-image {
        aspect-ratio: 4/3;
    }
}

@media (min-width: 960px) {
    .gallery-image {
        aspect-ratio: 1/1;
    }
}

.instagram-image-container {
    /* Defina a proporção, por exemplo, quadrada (1:1) como no Instagram */
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa; /* Cor de fundo padrão */
    flex-direction: row;
}

.instagram-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preenche o contêiner mantendo o aspecto */
    object-position: center;
    display: block;
}

.skeleton-placeholder {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.scroll-container {
    height: calc(100vh - 64px); /* Ajuste conforme o tamanho do seu cabeçalho */
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}



/*/////////// INTERFACE /////////////*/
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background-color: #FFFAFB !important;
}
.mud-typography {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.mud-typography-h5 {
    font-weight: 700 !important;
}
.mud-paper {
    background-color: #FFFAFB !important;
}
.share-button {
    box-shadow: none !important;
}
/*HEADER*/
.custom-background {
    background-color: white !important;
    color: black !important;
    box-shadow: none !important;
}
.mud-appbar {
    display: flex;
    align-items: center;
    border-bottom: solid 2px #D9D8E5 !important;
}
/*.mud-appbar.mud-appbar-dense .mud-toolbar-appbar {*/
/*    height: calc(var(--mud-appbar-height) - var(--mud-appbar-height) / 13) !important;*/
/*}*/

/*/////////*/
.text-limit {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 25ch;
}

.gallery-card-wrapper {
    margin-top: 15px;
    margin-bottom: 0 !important;
}
.gallery-scroll-container {
    padding-bottom: 20px;
}
