.ca-player-wrapper{display:block}
.ca-player{display:block;position:relative;max-width:100%}
.ca-top{padding:6px}
.ca-play-btn{border:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,0.18);transition:transform .12s ease}
.ca-play-icon{display:block;width:0;height:0;border-left:calc(var(--ca-play-size,80px) * 0.25) solid var(--ca-play-icon,#000);border-top:calc(var(--ca-play-size,80px) * 0.15) solid transparent;border-bottom:calc(var(--ca-play-size,80px) * 0.15) solid transparent;margin-left:calc(var(--ca-play-size,80px) * 0.03);opacity:var(--ca-play-opacity,0.7)}
.ca-play-btn.playing .ca-play-icon{border:none;width:calc(var(--ca-play-size,80px) * 0.22);height:calc(var(--ca-play-size,80px) * 0.32);position:relative;margin-left:0}
.ca-play-btn.playing .ca-play-icon:before,.ca-play-btn.playing .ca-play-icon:after{content:"";position:absolute;width:calc(var(--ca-play-size,80px) * 0.06);height:100%;background:var(--ca-play-icon,#000);opacity:var(--ca-play-opacity,0.7)}
.ca-play-btn.playing .ca-play-icon:before{left:0}
.ca-play-btn.playing .ca-play-icon:after{right:0}

/* bars area */
.ca-bars{display:flex;align-items:flex-end;justify-content:center;margin:0 auto;gap:8px;max-width:100%}
.ca-bubble{border-radius:50%;transition:background .15s,transform .15s,opacity .15s}
.ca-simple-line{background:rgba(255,255,255,0.15);height:6px;border-radius:6px;position:relative;overflow:hidden;width:100%}
.ca-simple-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--ca-progress-color,#ff0000);transition:width .08s linear}

/* time */
.ca-time{margin-top:8px;color:var(--ca-time-color,#fff);font-size:14px;text-align:center}

/* helper - alignment */
.ca-player-wrapper{--ca-align:center}
.ca-top{text-align:var(--ca-align,center)}

/* Audio Player Mobile Responsiveness */
@media (max-width: 480px) {
    .ca-player {
        padding: 10px;
    }
    
    .ca-play-btn {
        width: 60px !important;
        height: 60px !important;
    }
    
    .ca-play-icon {
        border-left-width: 15px !important;
        border-top-width: 9px !important;
        border-bottom-width: 9px !important;
    }
    
    .ca-play-btn.playing .ca-play-icon {
        width: 13px !important;
        height: 19px !important;
    }
    
    .ca-play-btn.playing .ca-play-icon::before,
    .ca-play-btn.playing .ca-play-icon::after {
        width: 4px !important;
    }
    
    .ca-bars {
        width: 100% !important;
        margin-top: 25px !important;
    }
    
    .ca-bubble {
        width: 6px !important;
        height: 6px !important;
    }
    
    .ca-time {
        font-size: 12px !important;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .ca-play-btn {
        width: 70px !important;
        height: 70px !important;
    }
    
    .ca-bars {
        width: 80% !important;
    }
}

/* =========================================
   PODCAST CARDS THEME - Compact Design
   ========================================= */

/* Container */
.ca-podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 30px 5%;
}

/* Card */
.ca-podcast-card {
    background: #fff;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.3s ease;
    min-height: 90px;
}

.ca-podcast-card:hover {
    transform: translateY(-4px);
}

/* Podcast Image */
.ca-podcast-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Content */
.ca-podcast-content {
    flex: 1;
    min-width: 0;
}

/* Header - not used in compact design */
.ca-podcast-header {
    display: none;
}

.ca-podcast-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.ca-podcast-content p {
    font-size: 11px;
    color: #777;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

/* Progress */
.ca-podcast-progress {
    height: 3px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.ca-podcast-progress span {
    display: block;
    height: 100%;
    background: #111;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.ca-podcast-time {
    font-size: 10px;
    margin-top: 4px;
    color: #777;
}

/* Action Buttons - Positioned at top right */
.ca-podcast-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
}

.ca-podcast-actions button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #dcdcdc;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    color: #333;
    transition: all 0.2s ease;
}

.ca-podcast-actions button:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* =========================================
   MOBILE RESPONSIVENESS - Podcast Cards
   ========================================= */

/* Tablet - 2 cards per row */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .ca-podcast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 4%;
    }
    
    .ca-podcast-card {
        padding: 15px;
        gap: 12px;
        min-height: 88px;
    }
    
    .ca-podcast-card img {
        width: 58px;
        height: 58px;
        border-radius: 8px;
    }
    
    .ca-podcast-content h3 {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .ca-podcast-content p {
        font-size: 11px;
        margin-bottom: 8px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .ca-podcast-progress {
        height: 3px;
    }
    
    .ca-podcast-time {
        font-size: 10px;
        margin-top: 4px;
    }
    
    .ca-podcast-actions {
        position: absolute;
        top: 12px;
        right: 12px;
        gap: 6px;
        display: flex !important;
    }
    
    .ca-podcast-actions button {
        width: 26px !important;
        height: 26px !important;
        font-size: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #dcdcdc !important;
        background: #fff !important;
        border-radius: 50% !important;
        cursor: pointer !important;
    }
    
    .ca-podcast-actions button i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Mobile Phone */
@media screen and (max-width: 480px) {
    .ca-podcast-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 3%;
    }
    
    .ca-podcast-card {
        padding: 12px;
        gap: 10px;
        min-height: 80px;
        align-items: flex-start;
    }
    
    .ca-podcast-card img {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }
    
    .ca-podcast-content h3 {
        font-size: 13px;
        margin-bottom: 3px;
        line-height: 1.3;
    }
    
    .ca-podcast-content p {
        font-size: 10px;
        margin-bottom: 6px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .ca-podcast-progress {
        height: 3px;
    }
    
    .ca-podcast-time {
        font-size: 9px;
        margin-top: 4px;
    }
    
    .ca-podcast-actions {
        position: absolute;
        top: 8px;
        right: 8px;
        gap: 6px;
        display: flex !important;
    }
    
    .ca-podcast-actions button {
        width: 26px !important;
        height: 26px !important;
        font-size: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #dcdcdc !important;
        background: #fff !important;
        border-radius: 50% !important;
        cursor: pointer !important;
    }
    
    .ca-podcast-actions button i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Play/Pause icon states */
.ca-podcast-card.playing .ca-play-btn .fa-play {
    display: none;
}

.ca-podcast-card.playing .ca-play-btn .fa-pause {
    display: inline-block;
}

.ca-podcast-card .ca-play-btn .fa-pause {
    display: none;
}

/* Hidden audio element */
.ca-podcast-card .ca-audio {
    display: none;
}

/* Fallback image styling */
.ca-podcast-card img {
    background: #f3f3f3;
}