﻿/* Featured Sessions Final Design Styles */
.conference-sessions-final {
    background-color: var(--stfm-light-gray);
    position: relative;
}

/* Content Area */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Session Row */
.session-row {
    display: flex;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .session-row:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    }

/* Date Column */
.date-column {
    width: 120px;
    min-width: 120px;
    background-color: var(--stfm-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.date-info {
    padding: 1rem 0.5rem;
}

.date-number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.session-type {
    font-size: 0.7rem;
    font-weight: 600;
    background-color: rgba(255,255,255,0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    white-space: nowrap;
}

/* Content Column */
.content-column {
    flex: 1;
    min-width: 0; /* Prevents flex children from overflowing */
}

.session-content {
    padding: 1.5rem;
}

/* Image Column */
.image-column {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    overflow: hidden;
}

    .image-column img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.session-row:hover .image-column img {
    transform: scale(1.05);
}

/* Reverse Row (for alternating layout) */
.session-row.reverse-row {
    flex-direction: row-reverse;
}

.right-date {
    order: 3; /* Ensures it's always last in the reverse row */
}

/* Content Styles */
.speaker-name {
    font-family: var(--stfm-heading-font);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--stfm-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.speaker-affiliation {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

    .speaker-affiliation.special {
        color: var(--stfm-secondary);
        font-style: italic;
        font-weight: 600;
    }

.session-title {
    font-family: var(--stfm-body-font);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--stfm-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.session-description {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.session-link {
    display: inline-block;
    color: var(--stfm-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .session-link i {
        font-size: 0.8rem;
        margin-left: 0.25rem;
        transition: transform 0.2s ease;
    }

    .session-link:hover {
        color: var(--stfm-secondary);
        text-decoration: none;
    }

        .session-link:hover i {
            transform: translateX(3px);
        }

/* Responsive styles */
@media (max-width: 991.98px) {
    .image-column {
        width: 250px;
        min-width: 250px;
        max-width: 250px;
    }

    .session-content {
        padding: 1.25rem;
    }

    .speaker-name {
        font-size: 1.2rem;
    }

    .session-title {
        font-size: 1.1rem;
    }

    .date-column {
        width: 100px;
        min-width: 100px;
    }

    .date-number {
        font-size: 1.8rem;
    }

    .date-month {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .session-row,
    .session-row.reverse-row {
        flex-wrap: wrap;
    }

    .date-column,
    .right-date {
        width: 100%;
        min-width: 100%;
        order: 1;
    }

    .date-info {
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .date-number {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }

    .date-month {
        font-size: 0.8rem;
        margin-bottom: 0;
        margin-right: 0.5rem;
    }

    .session-type {
        display: none;
    }

    .image-column {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 200px;
        order: 2;
    }

    .content-column {
        width: 100%;
        order: 3;
    }

    .session-content {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .speaker-name {
        font-size: 1.1rem;
    }

    .session-title {
        font-size: 1rem;
    }

    .image-column {
        height: 180px;
    }
}

@media (max-width: 991.98px) {
    /* Hide images on tablets and smaller devices */
    .image-column {
        display: none;
    }

    .session-content {
        padding: 1.25rem;
    }

    .speaker-name {
        font-size: 1.2rem;
    }

    .session-title {
        font-size: 1.1rem;
    }

    .date-column {
        width: 100px;
        min-width: 100px;
    }

    .date-number {
        font-size: 1.8rem;
    }

    .date-month {
        font-size: 0.9rem;
    }
}

.image-overlay-wrapper {
    position: relative;
    overflow: hidden;
}

.image-overlay-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--stfm-primary);
    mix-blend-mode: color;  
    opacity: 0.1;
    pointer-events: none;
}