/* ========================================
   Post Enrichment Styles — Premium Transcript & Media
   ======================================== */

.transcript-section {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.transcript-header {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    gap: 12px;
}

.transcript-header::before {
    content: '💬';
    font-size: 20px;
}

.premium-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.premium-glass::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.transcript-item {
    margin-bottom: 28px;
    position: relative;
}

.transcript-item:last-child {
    margin-bottom: 0;
}

.speaker {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding: 2px 8px;
    border-radius: 6px;
}

.speaker.interviewer {
    color: #4a90d9;
    background: rgba(74, 144, 217, 0.1);
}

.speaker.guest {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.speech {
    font-size: 16.5px;
    line-height: 1.8;
    color: #2d3748;
    margin: 0;
    font-weight: 450;
    letter-spacing: -0.011em;
}

/* Instagram Embed Styling */
.instagram-embed-wrapper {
    margin: 40px auto;
    max-width: 550px;
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
}


/* Pull Quote Styling */
.highlight-quote {
    margin: 48px 0;
    padding: 32px;
    background: #ffffff;
    border-left: 6px solid var(--primary-accent);
    border-radius: 0 16px 16px 0;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.highlight-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: rgba(74, 144, 217, 0.1);
    font-family: var(--font-brand);
    line-height: 1;
}

.highlight-quote blockquote {
    margin: 0;
    font-family: var(--font-brand);
    font-size: 22px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
}

.highlight-quote cite {
    display: block;
    margin-top: 16px;
    font-family: var(--font-ui);
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Key Facts / Insights Grid */
.insights-section {
    margin: 48px 0;
}

.insights-header {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.insight-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.insight-icon {
    font-size: 24px;
    margin-bottom: 16px;
    display: block;
}

.insight-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.insight-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Tab System for Video & Transcript */
.post-tabs-wrapper {
    margin: 48px 0;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tabs-nav {
    display: flex;
    background: #f8f9fa;
    padding: 8px;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}

.tab-trigger {
    padding: 10px 24px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 12px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-trigger:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.tab-trigger.active {
    background: #ffffff;
    color: var(--primary-accent);
    border-color: var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab-panel {
    display: none;
    padding: 32px;
    background: #ffffff;
}

.tab-panel.active {
    display: block;
    animation: slideUpFade 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .tabs-nav {
        flex-direction: column;
    }
    .tab-trigger {
        width: 100%;
        justify-content: center;
    }
}
