#presentations .presentation-thumbnail {
    cursor: pointer !important;
    margin-bottom: 30px !important;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

#presentations .presentation-thumbnail:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#presentations .thumbnail-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 0px;
}

#presentations .thumbnail-image {
    width: 100%;
    height: auto;
    max-height: none !important; /* Override .fpg-handouts img max-height from frontier.less */
    padding: 0 !important; /* Override .fpg-handouts img padding from frontier.less */
}

#presentations .presentation-thumbnail:hover .thumbnail-image {
    opacity: 0.8;
}

#presentations .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    opacity: 0;
    pointer-events: none !important;
}

#presentations .presentation-thumbnail:hover .play-overlay {
    opacity: 1;
}

#presentations .play-overlay i {
    color: white;
    font-size: 24px;
    vertical-align: middle;
    padding: 0 0 3px 1px;
}

#presentations .thumbnail-title {
    padding: 15px;
    text-align: center;
    pointer-events: none !important;
    margin-bottom: 0px !important;
    border-top: 1px solid #ddd;
    background-color: #eee;
}

#presentations .thumbnail-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* Modal Styles */
.presentation-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0,0,0,0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 46px;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
}

.close:hover {
    background: rgba(255,255,255,0.9);
    border-color: #ffffff;
    color: #000;
    transform: scale(1.1);
}

.presentation-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .thumbnail-title h4 {
        font-size: 14px;
    }
}