/* YouTube Podcast Posts - Frontend Styles */

.ytpp-podcast-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.ytpp-podcast-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 2px solid #e8e8e8;
}

.ytpp-podcast-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ytpp-podcast-thumbnail {
    flex: 0 0 250px;
    width: 250px;
}

.ytpp-podcast-thumbnail a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ytpp-podcast-thumbnail a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ytpp-podcast-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.ytpp-podcast-content {
    flex: 1;
    min-width: 0;
}

.ytpp-podcast-title {
    margin: 0 0 12px 0;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
}

.ytpp-podcast-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ytpp-podcast-title a:hover {
    color: #0073aa;
}

.ytpp-podcast-meta {
    margin-bottom: 12px;
}

.ytpp-podcast-date {
    color: #757575;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.ytpp-podcast-excerpt {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ytpp-podcast-readmore {
    margin-top: 15px;
}

.ytpp-readmore-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #0073aa;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ytpp-readmore-btn:hover {
    background-color: #005a87;
    transform: translateY(-1px);
}

/* Single Post Video Embed */
.ytpp-video-embed {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ytpp-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ytpp-podcast-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .ytpp-podcast-thumbnail {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .ytpp-podcast-title {
        font-size: 22px;
    }
    
    .ytpp-podcast-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ytpp-podcast-list {
        padding: 15px 0;
    }
    
    .ytpp-podcast-item {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .ytpp-podcast-title {
        font-size: 20px;
    }
    
    .ytpp-readmore-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}
