/* Healing Section Base */
.healing-carousel-section {
    /* Inherits base styles from teachings-carousel-section */
    padding: 40px 0;
    background: #ffffff;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

/* Header Section */
.healing-header {
    /* max-width: 1400px; */
    margin: 0 auto 50px;
    padding: 0 40px;
}

.healing-label {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--teachings-accent-gold);
    /* Using the existing gold variable */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.healing-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--teachings-text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.healing-description {
    font-size: 1.125rem;
    color: var(--teachings-text-light);
    line-height: 1.6;
    max-width: 600px;
}

/* Carousel Wrapper */
.healing-carousel-wrapper {
    position: relative;
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 40px;
}

/* Carousel Container */
.healing-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0 40px;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.healing-carousel::-webkit-scrollbar {
    display: none;
}

.healing-carousel:active {
    cursor: grabbing;
}

/* Video Card */
.healing-card {
    flex: 0 0 auto;
    width: 380px;
    scroll-snap-align: start;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.healing-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Thumbnail Container */
.healing-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: var(--teachings-bg-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.healing-card:hover .healing-thumbnail {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.healing-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.healing-card:hover .healing-thumbnail img {
    transform: scale(1.08);
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle change: using a gold-to-dark gradient */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.healing-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teachings-accent-gold);
    /* Use Gold for the healing section play button */
    font-size: 1.5rem;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.healing-card:hover .play-button {
    transform: scale(1);
    animation: pulse 1.5s infinite;
}

/* Badges - Note the new .badge-miracle */
.healing-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

/* Reusing .badge-duration and .badge-new/badge-miracle for consistent base styling */

.badge-miracle {
    background: linear-gradient(135deg,
            var(--teachings-accent-gold),
            #ffd700
            /* Lighter gold/yellow for contrast */
        );
    color: var(--teachings-text-dark);
    /* Darker text for the gold badge */
    font-weight: 800;
}

/* Card Content */
.healing-content {
    padding: 16px 0;
}

.healing-category {
    font-size: 0.813rem;
    color: var(--teachings-accent-gold);
    /* Use the blue color here for distinction */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.healing-title-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--teachings-text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.healing-meta {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--teachings-text-light);
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    font-size: 0.813rem;
    color: var(--teachings-primary-blue);
    /* Use the blue color for meta icons */
}

/* Navigation Arrows */
.healing-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.healing-carousel-wrapper:hover .healing-nav {
    opacity: 1;
}

.healing-nav.disabled {
    opacity: 0.3 !important;
    pointer-events: none;
}

.healing-nav-prev {
    left: 0;
}

.healing-nav-next {
    right: 0;
}

.nav-button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--teachings-text-dark);
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background: var(--teachings-primary-blue);
    /* Use blue for hover on the healing nav buttons */
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(30, 64, 175, 0.4);
}

/* Progress Dots */
.healing-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .healing-card {
        width: 340px;
    }
}

@media (max-width: 768px) {
    .healing-carousel-section {
        padding: 60px 0;
    }

    .healing-header,
    .healing-carousel-wrapper {
        padding: 0 20px;
    }

    .healing-card {
        width: 300px;
    }

    .healing-nav {
        display: none;
    }

    .healing-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .healing-card {
        width: 280px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

/* Smooth scroll for better UX */
@media (prefers-reduced-motion: no-preference) {
    .healing-carousel {
        scroll-behavior: smooth;
    }
}