/**
 * InGoal Radio Podcast Styles
 * 
 * External CSS file for podcast template.
 * Loaded on InGoal Radio posts with ACF data.
 * 
 * @package InGoal
 * @since January 2026
 */

/* CSS Variables */
:root {
    --podcast-navy: #0A1628;
    --podcast-navy-light: #1a3a52;
    --podcast-accent: #31487A;
    --podcast-accent-hover: #243658;
    --podcast-ice: #E8F4F8;
    --podcast-text: #1a1a1a;
    --podcast-text-light: #4a4a4a;
    --podcast-border: #e0e0e0;
    --podcast-max-width: 800px;
    --podcast-wide-width: 1200px;
}

/* Base Reset */
body.ingoal-podcast-template {
    background: #fff;
}

body.ingoal-podcast-template #main-content,
body.ingoal-podcast-template #et-main-area {
    padding: 0;
}

.ig-podcast {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--podcast-text);
}

.ig-podcast *,
.ig-podcast *::before,
.ig-podcast *::after {
    box-sizing: border-box;
}

/* Hero Section */
.ig-podcast-hero {
    background: var(--podcast-navy);
    color: #fff;
    padding: 60px 24px;
}

.ig-podcast-hero__inner {
    max-width: var(--podcast-wide-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.ig-podcast-hero__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.ig-podcast-hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

.ig-podcast-hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ig-podcast-hero__title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

.ig-podcast-hero__sponsor {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ig-podcast-hero__presented {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.ig-podcast-hero__sponsor-logo img {
    max-width: 280px;
    height: auto;
    filter: brightness(0) invert(1);
}

.ig-podcast-hero__subscribe {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.ig-podcast-hero__subscribe p {
    margin: 0 0 8px;
}

.ig-podcast-hero__premium {
    font-size: 14px;
}

.ig-podcast-hero__premium a {
    color: #93c5fd;
    text-decoration: underline;
}

.ig-podcast-hero__premium a:hover {
    color: #bfdbfe;
}

.ig-podcast-hero__platforms {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ig-podcast-platform img {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.ig-podcast-platform:hover img {
    opacity: 1;
}

/* Main Content */
.ig-podcast-content {
    padding: 48px 24px 80px;
}

.ig-podcast-content__inner {
    max-width: var(--podcast-max-width);
    margin: 0 auto;
}

/* Player */
.ig-podcast-player {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.ig-podcast-player iframe {
    display: block;
    width: 100%;
}

/* Content Sections */
.ig-podcast-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--podcast-border);
}

.ig-podcast-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ig-podcast-section__sponsor {
    margin-bottom: 24px;
    text-align: center;
}

.ig-podcast-section__sponsor img {
    max-width: 300px;
    max-height: 150px;
    width: auto;
    height: auto;
}

.ig-podcast-section--parent .ig-podcast-section__sponsor img {
    max-width: 200px;
    max-height: 200px;
}

.ig-podcast-section__content {
    font-size: 18px;
    line-height: 1.75;
}

.ig-podcast-section__content p {
    margin: 0 0 1.5em;
}

.ig-podcast-section__content p:last-child {
    margin-bottom: 0;
}

.ig-podcast-section__content a {
    color: var(--podcast-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.ig-podcast-section__content a:hover {
    color: var(--podcast-accent-hover);
}

.ig-podcast-section__content strong,
.ig-podcast-section__content b {
    font-weight: 700;
}

/* Video Embed */
.ig-podcast-section__video {
    margin-top: 32px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.ig-podcast-section__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .ig-podcast-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .ig-podcast-hero__image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .ig-podcast-hero__sponsor {
        align-items: center;
    }
    
    .ig-podcast-hero__platforms {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .ig-podcast-hero {
        padding: 40px 16px;
    }
    
    .ig-podcast-content {
        padding: 32px 16px 60px;
    }
    
    .ig-podcast-section__content {
        font-size: 16px;
    }
    
    .ig-podcast-section__sponsor img {
        max-width: 220px;
    }
}
