/* podcast.css - Create this new file in your assets/css directory */

/* Page Banner Styles - Add these if page-banner is not already styled in your CSS */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-banner h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: inline;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Podcast Page Styles */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.podcast-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.podcast-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.podcast-thumbnail iframe,
.podcast-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-content {
    padding: 1.5rem;
}

.podcast-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.podcast-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #777;
}

.podcast-meta span {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.podcast-meta i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.podcast-description {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.podcast-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.podcast-tag {
    background-color: #f5f5f5;
    color: #555;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.podcast-filter {
    margin: 2rem 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid #2c3e50;
    background: transparent;
    color: #2c3e50;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #2c3e50;
    color: white;
}

.podcast-search {
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    max-width: 500px;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
}

.search-btn {
    padding: 0.75rem 1.25rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.podcast-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-item {
    margin: 0 0.25rem;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: #333;
    transition: all 0.3s ease;
}

.pagination-link.active,
.pagination-link:hover {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

/* Featured podcast section */
.featured-podcast {
    margin-bottom: 3rem;
    background-color: #f5f7fa;
    padding: 2rem;
    border-radius: 8px;
}

.featured-podcast-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.featured-podcast-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.featured-podcast-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.featured-podcast-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Homepage Podcast Section */
.podcast-section {
    padding: 5rem 0;
}

.podcast-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.podcast-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.podcast-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.podcast-content h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.podcast-episode {
    margin-bottom: 1.5rem;
}

.podcast-episode-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #34495e;
}

.podcast-episodes-list {
    margin-top: 2rem;
}

.episode-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.episode-item:last-child {
    border-bottom: none;
}

.episode-item i {
    color: #2c3e50;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.episode-info {
    flex: 1;
}

.episode-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.episode-meta {
    font-size: 0.85rem;
    color: #777;
}

/* Newsletter Subscription Section */
.newsletter-section {
    background-color: #f5f7fa;
}

.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.newsletter-form {
    flex: 1;
}

.form-group {
    display: flex;
}

.form-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
}

.form-group button {
    padding: 0.75rem 1.5rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Button Styles - Make sure these match your site's button styling */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.btn-primary {
    background-color: #2c3e50;
    color: white;
    border: 1px solid #2c3e50;
}

.btn-primary:hover {
    background-color: #1a2530;
    border-color: #1a2530;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-text i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: #1a2530;
}

.btn-text:hover i {
    transform: translateX(3px);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Overwrite the default color variables if necessary */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --light-bg-color: #f5f7fa;
    --text-color: #333;
}

/* Responsive styles */
@media (max-width: 992px) {
    .featured-podcast-inner,
    .podcast-container,
    .newsletter-container {
        grid-template-columns: 1fr;
    }
    
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .filter-buttons {
        overflow-x: auto;
        padding-bottom: 1rem;
        flex-wrap: nowrap;
    }
    
    .podcast-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .podcast-meta span {
        margin-bottom: 0.5rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .form-group button {
        border-radius: 4px;
    }
}

@media (max-width: 576px) {
    .podcast-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-podcast {
        padding: 1.5rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}