/* 
 * Curated Highlights Section 
 */

.gv-curated-highlights-container {
    width: 100%;
    margin: 2em 0;
    box-sizing: border-box;
    font-family: inherit;
    /* removed overflow: hidden, let's fix it properly natively */
}

.gv-highlights-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1.5em;
}

.gv-highlight-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 16em !important;
    padding: 1em 0.8em;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    justify-content: center;
}

/* Hide rows dynamically tagged by JS */
.gv-hide-row {
    display: none !important;
}

/* Vertical divider using linear gradient */
.gv-highlight-card::after {
    content: '';
    position: absolute;
    right: -10px;
    /* Pulled exactly into the middle of the 20px gap */
    top: 15%;
    height: 70%;
    width: 1px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

/*
 * Hide divider on items that JS tags as being at the edge of the screen row
 * AND the globally last item just in case.
 */
.gv-highlight-card:last-child::after,
.gv-highlight-card.gv-row-end::after {
    display: none !important;
}

.gv-highlight-icon {
    position: relative;
    width: 3em;
    height: 3em;
    margin-right: 0.99em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gv-highlight-icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
    object-fit: contain;
}

/* Icon visibility logic */
.gv-highlight-icon .gv-icon-stroke {
    opacity: 1;
    transform: scale(1);
}

.gv-highlight-icon .gv-icon-fill {
    opacity: 0;
    transform: scale(0.8);
}

/* Hover state for icons */
.gv-highlight-card:hover .gv-icon-stroke {
    opacity: 0;
    transform: scale(1.1);
}

.gv-highlight-card:hover .gv-icon-fill {
    opacity: 1;
    transform: scale(1);
}

.gv-highlight-content {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.gv-highlight-title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.gv-highlight-desc {
    margin: 0;
    padding: 0;
    font-size: 0.75em;
    color: #999999;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.gv-highlight-card:hover .gv-highlight-desc {
    color: #cccccc;
}

/* Responsive constraints just to ensure mobile adapts */
@media screen and (max-width: 480px) {
    .gv-highlight-card {
        flex: 0 0 100%;
        /* forces vertical stack */
    }

    .gv-highlight-card::after {
        display: none !important;
        /* no dividers vertically */
    }
}