/* =========================================
   VOICE DETAIL PAGE STYLES
   ========================================= */

.voice-detail-section {
    padding: 60px 0 100px;
}

.voice-detail-header {
    margin-left: -100px;
}

.voice-detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.voice-detail-date {
    font-size: var(--font-sm);
    color: var(--text-light);
}

.voice-detail-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
}

.voice-detail-title {
    font-size: clamp(1.5rem, 1.2rem + 2vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 60px;
    line-height: 1.4;
}

.voice-detail-img-wrapper {
    width: 100%;
    margin-bottom: 50px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.voice-detail-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.voice-detail-content {
    width: 100%;
}

.voice-detail-subtitle {
    font-size: var(--font-md);
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 15px;
}

.voice-detail-text {
    font-size: var(--font-sm);
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Company Profile Card */
.voice-detail-profile {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 60px;
    background-color: var(--white);
}

.voice-detail-profile-img {
    flex: 0 0 45%;
    max-width: 45%;
}

.voice-detail-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-detail-profile-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-label {
    font-size: var(--font-sm);
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-company {
    font-size: var(--font-sm);
    margin-bottom: 5px;
}

.profile-name {
    font-size: var(--font-sm);
    margin-bottom: 20px;
}

.profile-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin-bottom: 20px;
}

.profile-text {
    font-size: var(--font-xs);
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-color);
}

.profile-company-large {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-url {
    font-size: var(--font-sm);
    color: var(--text-color);
}

/* Separator Line */
.voice-detail-separator {
    border: none;
    border-top: 1.05px solid #C3C3C3;
    width: calc(100% + 300px);
    margin: 80px -150px;
}

/* Related Cases Slider */
.voice-related-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: calc(100% + 320px);
    margin: 0 -160px;
    gap: 30px;
}

.voice-related-slider {
    flex: 1;
    overflow: hidden;
}

.slider-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 991px) {
    .voice-detail-profile {
        flex-direction: column;
    }
    
    .voice-detail-profile-img {
        flex: 0 0 auto;
        max-width: 100%;
        height: 250px;
    }
    
    .voice-detail-profile-info {
        padding: 20px;
    }
    
    .voice-detail-separator {
        width: 100%;
        margin: 60px 0;
    }
    
    .voice-related-wrapper {
        position: relative;
        display: block;
        width: 100%;
        margin: 0;
    }

    .voice-related-slider .voice-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 20px;
    }
    
    .voice-related-slider .voice-grid::-webkit-scrollbar {
        display: none;
    }
    
    .voice-related-slider .voice-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }
    
    .slider-btn {
        position: absolute;
        top: 0;
        transform: none;
        z-index: 2;
        background: rgba(255,255,255,0.9);
    }
    
    .slider-btn.prev { left: -15px; }
    .slider-btn.next { right: -15px; }
}

@media (max-width: 767px) {
    .voice-detail-section {
        padding: 40px 0 60px;
    }
    
    .voice-detail-header {
        margin-left: 0;
    }
    
    .voice-detail-title {
        font-size: var(--font-lg);
        margin-bottom: 45px;
    }
    
    .voice-detail-img-wrapper {
        margin-bottom: 30px;
    }
    
    .voice-detail-subtitle {
        font-size: var(--font-md);
        margin-top: 40px;
    }
}