/* Layout principal dos cards */
.entry-point-card-container {
    position: relative;
    cursor: pointer;
    width: 200px;
    height: 360px;
    margin-right: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-point-card-container:hover {
    transform: scale(1.05);
    border-radius: 1px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

/* Imagem do card */
.entry-point-card-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

/* Gradiente de fundo para melhorar a legibilidade do texto */
.entry-point-card-container:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 70%);
}

/* Container do autor */
.author-container {
    position: absolute;
    display: flex;
    align-items: center;
    top: 12px;
    left: 16px;
    z-index: 2;
}

/* Estilo do logo do autor */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
}

.entry-point-card-logo {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.25));
}

/* Nome do autor */
.entry-point-card-subtitle {
    color: #fff;
    font-weight: 700;
    font-family: "Noto Sans", sans-serif;
    font-size: 11px;
    line-height: 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

/* Container do título */
.card-headline-container {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    text-align: left;
    width: calc(100% - 32px);
}

/* Estilo do título */
.entry-point-card-headline {
    color: #fff;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 30px; 
}

/* Lightbox para exibir as stories */
.ws-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.ws-lightbox.active {
    display: flex;
}

/* Wrapper para o conteúdo da story */
.story-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.amp-story-player {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* Ajustes para dispositivos móveis */
@media only screen and (max-width: 768px) {
    .entry-point-card-container {
        width: 180px;
        height: 270px;
    }

    .author-container {
        top: 10px;
        left: 12px;
    }

    .logo-container,
    .entry-point-card-logo {
        width: 30px;
        height: 30px;
    }

    .entry-point-card-subtitle {
        font-size: 10px;
    }

    .entry-point-card-headline {
        font-size: 14px;
        line-height: 18px;
    }

    .card-headline-container {
        bottom: 12px;
        left: 12px;
    }

    .story-wrapper {
        width: 100%;
        height: 100%;
    }

    .amp-story-player {
        width: 100%;
        height: 100%;
    }
}

/* Ajustes para dispositivos maiores (desktop) */
@media only screen and (min-width: 769px) {
    .story-wrapper {
        width: 360px;
        height: 600px;
    }

    .amp-story-player {
        width: 100%;
        height: 100%;
    }
}
