/* Podcast Page Styles */

/* Hero Section */
.podcast-hero {
    position: relative;
    height: clamp(400px, 60vh, 768px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* Gradient + background image combined */
    background: 
      linear-gradient(135deg, rgba(25,25,112,0.35) 0%, rgba(122,31,42,0.35) 60%, rgba(0,0,0,0.35) 100%),
      url('../img/podcast-bg.jpg') center/cover no-repeat;
}
.
.podcast-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 95% 92%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.35) 20%, rgba(0,0,0,0) 42%), linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

/* Episodes & Events Images */
.episode-image,
.event-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;   /* keeps consistent proportions */
    max-height: 250px;      /* prevents “too tall” */
}

.episode-image img,
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* fills box without distortion */
}

/* Admin: Banner preview thumbnails */
.banner-preview {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border: 1px solid #333;
    border-radius: 6px;
    background: #0f0f0f;
}
.banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0f0f0f; /* letterbox for non-matching aspect ratios */
}
.banner-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 92% 88%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 18%, rgba(0,0,0,0) 40%), linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}
@media (width <= 768px) {
  .banner-preview { height: 100px; }
}

/* Testimonials */
.testimonial-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    aspect-ratio: 1 / 1;    /* always square */
    border: 3px solid var(--secondary-color, #5DC1B9);
}

/* About Section Images */
.about-image img {
    width: 100%;
    height: auto;           /* natural scaling */
    object-fit: cover;
}

.about-content {
    padding: 40px;
    color: var(--text-light, #f0f0f0);
}

.about-content h2 {
    color: var(--secondary-color, #5DC1B9);
    margin-top: 0;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-muted, #ddd);
}

/* Episodes Section */
.podcast-episodes {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark, #000) 0%, #0a0a0a 100%);
}

.episode-card {
    background: var(--bg-panel, #1e1e1e);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(93, 193, 185, 0.3);
}

.episode-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.episode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.episode-card:hover .episode-image img {
    transform: scale(1.1);
}

.episode-content {
    padding: 20px;
}

.episode-category {
    display: inline-block;
    background: var(--accent-color, #27aae1);
    color: #000;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.episode-title {
    font-size: 1.3rem;
    color: var(--secondary-color, #5DC1B9);
    margin: 10px 0 15px;
}

/* Events Section */
.podcast-events {
    padding: 80px 0;
    background-color: var(--bg-dark, #000);
}

.event-card {
    background: var(--bg-panel, #1e1e1e);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 20px;
    color: var(--text-light, #f0f0f0);
}

.event-content h3 {
    color: var(--secondary-color, #5DC1B9);
    margin-top: 0;
    margin-bottom: 10px;
}

.event-date {
    color: var(--accent-color, #27aae1);
    font-weight: bold;
    margin-bottom: 10px;
}

.event-content p {
    color: var(--text-muted, #ddd);
    margin-bottom: 15px;
}

/* Testimonials Section */
.podcast-testimonials {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, var(--bg-dark, #000) 100%);
}

.testimonial-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-panel, #1e1e1e);
    border-radius: 8px;
    margin-bottom: 30px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-image {
    margin-bottom: 20px;
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--secondary-color, #5DC1B9);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light, #f0f0f0);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: var(--secondary-color, #5DC1B9);
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--text-muted, #ddd);
    font-size: 0.9rem;
}

/* Subscribe Section */
.podcast-subscribe {
    padding: 80px 0;
    background: linear-gradient(135deg, #191970 0%, #7a1f2a 60%);
}

.subscribe-box {
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.subscribe-box h2 {
    color: var(--secondary-color, #5DC1B9);
    margin-bottom: 30px;
}

.subscribe-form .form-control {
    height: 50px;
    font-size: 1.1rem;
}

.subscribe-form .btn {
    height: 50px;
    padding: 0 30px;
}

/* FAQ Section */
.podcast-faq {
    padding: 80px 0;
    background-color: var(--bg-dark, #000);
}

.podcast-faq .panel-default {
    background: var(--bg-panel, #1e1e1e);
    border: 1px solid #333;
    margin-bottom: 10px;
}

.podcast-faq .panel-heading {
    background: var(--bg-panel, #1e1e1e);
    border-bottom: 1px solid #333;
}

.podcast-faq .panel-title a {
    display: block;
    padding: 15px;
    color: var(--secondary-color, #5DC1B9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.podcast-faq .panel-title a:hover {
    color: var(--accent-color, #27aae1);
}

.podcast-faq .panel-body {
    background: var(--bg-panel, #1e1e1e);
    color: var(--text-muted, #ddd);
    padding: 20px;
    line-height: 1.6;
}

/* Contact Section */
.podcast-contact {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, var(--bg-dark, #000) 100%);
}

.contact-form .form-control {
    background: var(--bg-panel, #1e1e1e);
    border: 1px solid #333;
    color: var(--text-light, #f0f0f0);
    padding: 12px;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color, #5DC1B9);
    box-shadow: 0 0 8px rgba(93, 193, 185, 0.3);
}

.contact-form textarea.form-control {
    resize: vertical;
}

/* Responsive Adjustments */
@media (width <= 768px) {
    .podcast-about,
    .podcast-episodes,
    .podcast-events,
    .podcast-testimonials,
    .podcast-subscribe,
    .podcast-faq,
    .podcast-contact {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .episode-card,
    .event-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
}
.
.podcast-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 65%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
