/* Conference Audio Archive - Sessions/Speakers two independent lists */

.spm-sessions {
    display: flex;
    gap: 20px;
    margin: 6px 0 4px;
    font-size: 13px;
    line-height: 1.4;
}

.spm-sessions-col {
    color: inherit;
    min-width: 0;
}

.spm-sessions-col:first-child {
    flex: 3;
}

.spm-sessions-col:last-child {
    flex: 7;
}

.spm-sessions-col-header {
    font-weight: bold;
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    margin-bottom: 4px;
}

.spm-sessions-list {
    list-style-type: disc;
    padding-left: 1.2em;
    margin: 0;
}

.spm-sessions-item {
    color: #24272a !important;
}

.spm-sessions-item:hover,
*:hover > .spm-sessions-item,
* .spm-sessions-item:hover {
    color: #24272a !important;
}

/* Conference Audio - Single-column layout for related/upsell/cross-sell cards */

.spm-sessions-single {
    margin: 6px 0 4px;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.spm-sessions-col-header--spaced {
    margin-top: 8px;
}

/* Conference Audio Archive - Paired layout (Speaker | Session per row) */

.spm-sessions-paired {
    margin: 6px 0 4px;
    font-size: 13px;
    line-height: 1.4;
}

.spm-sessions-paired-header {
    display: flex;
    gap: 12px;
    font-weight: bold;
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    margin-bottom: 4px;
}

.spm-sessions-paired-row {
    display: flex;
    gap: 12px;
}

.spm-sessions-paired-col {
    flex: 1;
    color: inherit;
}

.spm-sessions-paired-row:hover .spm-sessions-paired-col,
.spm-sessions-paired-header:hover .spm-sessions-paired-col {
    color: inherit;
}

/* Conference Audio Shortcode Frontend Styles */

.conference-audio-list {
    line-height: 1.2;
}

.conference-audio-item {
    margin-bottom: 8px;
}

.conference-audio-title {
    font-size: 16px !important;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 2px;
    color: #24272a;
}

.conference-audio-details {
    font-size: 14px !important;
    color: #666;
    line-height: 1.1;
}

.conference-audio-speaker {
       color: #666;
}

.conference-audio-duration {
    font-weight: 500;
}

.conference-audio-sample {
    color: #0073aa;
    text-decoration: none;
    cursor: pointer;
}

.conference-audio-sample:hover {
    text-decoration: underline;
}

/* Make just the play icon smaller in sample links */
.play-icon {
    font-size: 0.75em;
}

.conference-audio-price {
    font-weight: normal;
    color: #24272a;
}

/* Separators between details */
.conference-audio-details .separator {
    margin: 0 4px;
    color: #999;
}

/* Audio Player Container Styles */
.spm-audio-player-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 15px;
    max-width: 400px;
    width: 100%;
    display: none; /* Hidden by default, JS will show it */
}

/* Remove excessive top margin from h3 in product descriptions for conference audio products */
.product-presentation > .description h3 {
    margin-top: 0;
}

/* Make just the play icon smaller in sample links */
.play-icon {
    font-size: 0.75em;
}

.spm-audio-player {
    position: relative;
}

.spm-audio-close {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #666;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0;
}

.spm-audio-close:hover {
    background: #333;
}

.spm-audio-info {
    margin-bottom: 10px;
    font-size: 14px;
}

.spm-audio-info strong {
    margin-right: 10px;
}

#smp-sample-player {
    width: 100%;
}