﻿.highlight_section {
    position: relative;
}

.highlight_wrapper {
    position: relative;
    overflow: visible;
}

.highlight_viewport {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    direction: rtl;
}

.highlight_track {
    display: flex;
    gap: 20px;
    margin: 10px;
    flex-direction: row;
}

.highlight_card {
    flex: 0 0 250px;
    min-height: 180px;
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    font-size: 0.85rem;
    color: #555;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .highlight_card h4 {
        font-size: 0.9rem;
        margin: 5px 0;
        color: #444;
    }

    .highlight_card p {
        font-size: 0.8rem;
        color: #777;
    }

    .highlight_card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

.highlight_image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Navigators - Updated to match story_component.css exactly */
.highlight_nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    cursor: pointer !important;
    z-index: 10;
    transition: .2s;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.highlight_prev {
    right: -10px;
}

.highlight_next {
    left: -10px;
}

.highlight_nav:hover {
    background: #ff7a00;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.3);
}

/* Remove disabled styles completely */
.highlight_disabled {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

@media (max-width: 992px) {
    .highlight_card {
        flex: 0 0 32%;
    }
}

@media (max-width: 768px) {
    .highlight_nav {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .highlight_card {
        flex: 0 0 90%;
        margin-right: 10px;
    }
}
