/**
 * Customer Voice Interview Component Styles
 *
 * @package RIKAI_Marketing
 * @since 1.0.0
 */

/* Section Header */
.interview-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.interview-header .component-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.interview-header .component-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.interview-header .component-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Interview Card */
.interview-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    filter: var(--filter-drop-shadow);
}

.interview-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Video Area */
.interview-video {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}

.interview-video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.interview-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.interview-video-thumbnail {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
}

.interview-video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interview-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.interview-video-thumbnail:hover .interview-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Interview Content Area */
.interview-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.interview-info--icon {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

/* Interview Title */
.interview-info---title {
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Category Badge */
.interview-category {
}

.interview-category--title {
}

/* Services List */
.interview-services {
}

.interview-services--title {
}

/* Comment Bubble */
.interview-comment {
    flex-grow: 1;
}

.comment-bubble {
    background: var(--secondary-color-lightest);
    padding: 10px;
    border-radius: 6px;
}

/* Meta Information */
.interview-meta {
    padding-top: 15px;
}

.meta-item {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.meta-item > img {
    margin-right: 3px;
}

.meta-label {
    font-weight: 600;
}

.meta-value {
}

/* Responsive Styles */
@media (max-width: 991px) {
    .interview-section {
        padding: 40px 0;
    }

    #cvi-interviews-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        cursor: grab;
        padding-bottom: 12px;
    }

    #cvi-interviews-grid.is-grabbing {
        cursor: grabbing;
    }

    #cvi-interviews-grid > [class*="col-"] {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .interview-header .component-title {
        font-size: 28px;
    }

    .interview-header .component-subtitle {
        font-size: 18px;
    }

    .interview-info {
        padding: 20px;
    }

    .interview-title {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .interview-section {
        padding: 30px 0;
    }

    .interview-header {
        margin-bottom: 30px;
    }

    .interview-header .component-title {
        font-size: 24px;
    }

    .interview-header .component-subtitle {
        font-size: 16px;
    }

    .interview-info {
        padding: 18px;
    }

    .interview-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .comment-bubble {
        padding: 15px 18px;
        font-size: 14px;
    }

    .meta-item {
        font-size: 13px;
    }
}

/* Animation for Video Thumbnails */
@keyframes pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.interview-video-thumbnail:hover .interview-play-overlay {
    animation: pulse 1.5s ease-in-out infinite;
}
