/**
 * Andmar Podcast Widget Styles
 * Minimal, clean design
 */

/* CSS Variables */
:root {
    --andmar-primary: #1e3a5f;
    --andmar-secondary: #2563eb;
    --andmar-accent: #3b82f6;
    --andmar-dark: #0f172a;
    --andmar-light: #f8fafc;
    --andmar-gray: #64748b;
    --andmar-border: #e2e8f0;
    --andmar-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --andmar-radius: 12px;
    --andmar-transition: all 0.25s ease;
}

/* Base Styles */
.andmar-podcast-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
    margin: 0;
    padding: 0;
    width: 100%;
}

.andmar-podcast-widget * {
    box-sizing: border-box;
}

.andmar-podcast-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section - Full Width */
.andmar-podcast-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: var(--andmar-dark);
    margin: 0;
    width: 100%;
}

.andmar-podcast-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1;
}

.andmar-podcast-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 20px;
    max-width: 700px;
}

.andmar-podcast-episode-badge {
    display: inline-block;
    background: var(--andmar-secondary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.andmar-podcast-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px;
    line-height: 1.3;
}

/* Video Button - Minimal */
.andmar-podcast-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--andmar-dark);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--andmar-transition);
    margin-bottom: 24px;
}

.andmar-podcast-video-btn:hover {
    background: var(--andmar-light);
    color: var(--andmar-dark);
}

.andmar-podcast-video-btn .play-icon {
    width: 16px;
    height: 16px;
}

/* Platform Links - Minimal */
.andmar-podcast-platforms {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--andmar-transition);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.platform-link svg {
    width: 16px;
    height: 16px;
}

.platform-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Player Section - Full Width */
.andmar-podcast-player-section {
    background: var(--andmar-light);
    padding: 0;
}

.andmar-podcast-player-section .andmar-podcast-container {
    max-width: 100%;
    padding: 0;
}

.andmar-podcast-player-section .section-heading {
    padding: 32px 20px 16px;
    margin: 0;
}

.andmar-podcast-embed-player {
    background: #fff;
    border-radius: 0;
    padding: 0 20px 32px;
    box-shadow: none;
}

.andmar-podcast-embed-player iframe {
    border-radius: 8px;
    box-shadow: var(--andmar-shadow);
}

/* Section Headings - Minimal */
.section-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--andmar-primary);
    margin: 0 0 16px;
    text-align: center;
}

/* Summary Section */
.andmar-podcast-summary-section {
    background: #fff;
    padding: 48px 0;
    border-top: 1px solid var(--andmar-border);
}

.wave-divider {
    display: none;
}

.summary-text {
    font-size: 1rem;
    text-align: center;
    color: var(--andmar-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Description Section */
.andmar-podcast-description-section {
    background: var(--andmar-light);
    padding: 48px 0;
}

.description-content {
    background: #fff;
    padding: 24px;
    border-radius: var(--andmar-radius);
}

.description-content p {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.description-content em {
    color: var(--andmar-secondary);
}

/* Social Section - Minimal Icons */
.andmar-podcast-social-section {
    background: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--andmar-border);
}

.social-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--andmar-primary);
    margin: 0 0 16px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--andmar-light);
    color: var(--andmar-gray);
    transition: var(--andmar-transition);
    text-decoration: none;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background: var(--andmar-secondary);
    color: #fff;
}

/* Chapters Section - Minimal */
.andmar-podcast-chapters-section {
    background: var(--andmar-dark);
    padding: 48px 0;
}

.andmar-podcast-chapters-section .section-heading {
    color: #fff;
}

.chapters-list {
    max-width: 500px;
    margin: 0 auto;
}

.chapter-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--andmar-transition);
}

.chapter-item:last-child {
    border-bottom: none;
}

.chapter-item:hover {
    padding-left: 8px;
}

.chapter-time {
    font-family: 'SF Mono', 'Consolas', monospace;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    min-width: 56px;
    text-align: center;
}

.chapter-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Transcript Section - Minimal */
.andmar-podcast-transcript-section {
    background: #fff;
    padding: 48px 0;
    border-top: 1px solid var(--andmar-border);
}

.transcript-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 16px;
    background: var(--andmar-light);
    border-radius: var(--andmar-radius);
    transition: var(--andmar-transition);
}

.transcript-header:hover {
    background: #e2e8f0;
}

.transcript-header .section-heading {
    margin: 0;
}

.transcript-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--andmar-gray);
    transition: var(--andmar-transition);
}

.transcript-toggle svg {
    width: 16px;
    height: 16px;
}

.andmar-podcast-transcript-section.expanded .transcript-toggle {
    transform: rotate(180deg);
}

.transcript-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.andmar-podcast-transcript-section.expanded .transcript-content {
    max-height: 10000px;
    padding-top: 24px;
}

.transcript-content p {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: var(--andmar-light);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.transcript-content strong {
    color: var(--andmar-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .andmar-podcast-hero {
        min-height: 60vh;
    }

    .andmar-podcast-hero-content {
        padding: 32px 16px;
    }

    .andmar-podcast-video-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .platform-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .andmar-podcast-container {
        padding: 0 16px;
    }

    .description-content {
        padding: 16px;
    }

    .chapter-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}