.app-speaker-session {
    display: block;
}

.speaker-session-card {
    background-image: linear-gradient(to bottom right, #2a2a2a, #272626, #1a1919);
    border-radius: 1rem;
    padding: 16px;
    cursor: pointer;
    width: 24em;
    border: 1px solid white;
}

.speaker-session-card:hover{
    border: 1px solid red; 
}

.session-card-header {
    display: flex;
    flex-direction: row;
    font-size: large;
    align-items: flex-start;
    height: 5rem;
}

.topic{
    margin: 0;
    min-height: 7rem;
}

/* Style for topic in sessions without speakers */
.no-speaker-session .session-card-header {
    justify-content: center;
    text-align: center;
    width: 100%;
}

.no-speaker-session .topic {
    font-weight: bold;
    text-align: center;
    width: 100%;
    font-size: 2.0em;
    margin-top: 1.3rem;
    min-height: auto; /* Override the default min-height */
}

.speaker-section {
    display: flex;
    padding: .5rem;
    background-color: #181818;
    border-radius: 5px;
    min-height: 12rem;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.speaker-section-top {
    display: flex;
    flex-direction: row;
}


.speaker-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10rem;
}

.speaker-picture {
    height: 8em;
    min-width: 8em;
    border-radius: 10px;
    object-fit: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.speaker-info {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    justify-content: center;
}

.company {
    color: #818181;
}

.speaker-section-bottom .tags {
    display: flex;
    gap: .5rem;
    padding-bottom: 1rem;
    flex-wrap: wrap;
    min-height: 3.5em;
}

.tag-card {
    height: -moz-fit-content;
    height: fit-content;
    font-size: small;
    background-color: #292728;
    min-width: 1rem;
    border-radius: 5px;
    border: 1px solid white;
    padding-left: .2rem;
    padding-right: .2rem;
}

.tag-card p {
    margin: .2rem;
    color: #fff;
    max-width: 17em;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

@media screen and (max-width: 550px) {
    .speaker-session-card {
        padding: 5px;
        height: 27em;
    }

    /* Smaller height for no-speaker cards */
    .no-speaker-session .speaker-session-card {
        height: 9em;
    }

    .no-speaker-session .topic {
        font-size: 1.2em;
        min-height: auto;
    }
}

@media screen and (max-width: 450px) {
    .speaker-session-card {
        padding: 5px;
        width: 17em;
    }

    /* Smaller height for no-speaker cards */
    .no-speaker-session .speaker-session-card {
        height: 9em;
    }

    .topic {
        font-size: medium;
        padding: .5rem;
    }

    .no-speaker-session .topic {
        font-size: 1.2em;
        min-height: auto;
    }

    .session-topic{
        font-size: x-large;
    }
}