/**
 * Styles pour le CPT Webinaires PYX4
 * Version: 1.0.0
 */

/* Template single webinaire - Layout pleine largeur */
body.single-webinaire .entry-content:not(:first-child),
body.single-webinaire .entry-summary:not(:first-child),
body.single-webinaire .page-content:not(:first-child) {
    margin-top: 0px;
}

body.single-webinaire .site-main {
    margin-bottom: 0px;
}

body.webinaire-template-default .is-left-sidebar,
body.single-webinaire .is-left-sidebar,
body.single-webinaire #left-sidebar {
    display: none !important;
}

body.webinaire-template-default .content-area,
body.single-webinaire .content-area,
body.single-webinaire #primary {
    width: 100% !important;
}

body.webinaire-template-default .site-main,
body.single-webinaire .site-main {
    margin: 0px;
}

/* Liste des webinaires (shortcodes) */
.custom-webinars-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-webinar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-webinar-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-webinar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.custom-webinar-title {
    font-weight: bold;
    color: #333;
}

.custom-webinar-date {
    font-size: 0.9em;
    color: #666;
}

.custom-webinar-presenters {
    font-size: 0.9em;
    color: #666;
}

/* Boutons */
.custom-webinar-button {
    padding: 6px 12px;
    background-color: #007cba;
    color: #fff !important;
    text-decoration: none;
    border: 2px solid #007cba;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.custom-webinar-button:hover {
    background-color: #005a8c;
    color: #fff;
}

.custom-webinar-button-replay {
    padding: 6px 12px;
    background-color: #fff;
    color: #007cba;
    text-decoration: none;
    border: 2px solid #007cba;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.custom-webinar-button-replay:hover {
    background-color: #007cba;
    color: #fff;
}
