/* ============================================================================
   RADIO COUVIN – COLONNE 1 : LISTE CKOI
   Version : 1.0
   Auteur : Christophe Delire
   Rôle : Style commun desktop + mobile pour le shortcode [rcl_col1]
============================================================================ */

/* Bloc général */
.rcl-col1-ckoi {
    padding: 1rem;
    color: #fff;
    font-family: system-ui, sans-serif;
}

/* Titres */
.rcl-col1-ckoi-header {
    margin-bottom: .8rem;
    text-align: left;
}

.rcl-col1-ckoi-title {
    font-size: 1rem;
    letter-spacing: .08rem;
    font-weight: 600;
    opacity: .9;
}

.rcl-col1-ckoi-subtitle {
    font-size: .8rem;
    opacity: .6;
}

/* UL */
.rcl-col1-ckoi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Un item */
.rcl-col1-ckoi-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .6rem .4rem;
    margin-bottom: .4rem;

    background: rgba(0,0,0,.45);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(6px);
}

/* Miniature */
.rcl-ckoi-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.rcl-ckoi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Meta */
.rcl-ckoi-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rcl-ckoi-title {
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rcl-ckoi-artist {
    font-size: .75rem;
    opacity: .7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bouton ACTION */
.rcl-ckoi-action {
    flex-shrink: 0;
}

.rcl-ckoi-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;

    background: var(--rcl-color, #27f3d3);
    color: #000;
    font-weight: bold;
    font-size: .8rem;
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    transition: .2s ease;
}

.rcl-ckoi-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 10px var(--rcl-color);
}

/* Skeleton de chargement */
.rcl-col1-ckoi-item--placeholder {
    opacity: .4;
}

.rcl-col1-ckoi-item--placeholder .skeleton {
    background: rgba(255,255,255,.15);
    border-radius: 4px;
}

.rcl-col1-ckoi-item--placeholder .line {
    display: block;
    height: 8px;
    margin-bottom: 4px;
}

.rcl-col1-ckoi-item--placeholder .small {
    width: 60%;
}
/* Fix largeur colonne une */
#radio-couvin-container .rcl-col1 {
    flex: 0 0 30%;       /* largeur fixe */
    max-width: 30%;
    display: flex;
    flex-direction: column;
}

/* Évite que le contenu du shortcode casse la mise en page */
#rcl-col1-dynamic {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: block;
}

/* Empêche la UL du shortcode d’étirer la colonne */
#rcl-col1-dynamic ul {
    width: 100%;
    margin: 0;
    padding: 0;
}