/* General Styles for the Module */
.location-trusted-choice-section-title .location-trusted-choice-text-orange {
    color: var(--nv-orange);    
}

.location-trusted-choice-section-title .location-trusted-choice-text-blue {
    color: var(--nv-blue);    
}

/* Desktop-specific layout */
.location-trusted-choice-desktop-slider {
    display: flex;
    gap: 3em;
    align-items: center;
}

.location-trusted-choice-desktop-slider .location-trusted-choice-slider-image {
    flex: 1;
    position: relative;
    min-width: 460px;
    height: 460px;
    border-radius: 12px;
}

/* Styles for the image containers and images */
.location-trusted-choice-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transition: opacity 0.3s ease-in-out;
}

.location-accordion-progress-bar {
    position: absolute;
    inset: 0 0 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #2196f3, #4fc3f7);
    transition: width 5s linear;
}
.location-trusted-choice-image-container.location-trusted-choice-active {
    display: block;
}

.location-trusted-choice-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.4s ease;
}

/* Styles for the cards */
.location-trusted-choice-desktop-slider .location-trusted-choice-slider-cards {
    flex: 1;
}

.location-trusted-choice-point-list {
    display: flex;
    flex-direction: column;
    /* gap: 1em; */
}

.location-trusted-choice-point-item {
    position: relative;
    padding-block: 1em;
    border-top: 1px solid var(--nv-blue-light);
    cursor: pointer;
}

.location-trusted-choice-point-item.location-trusted-choice-active {
    border-bottom: 2px solid #333;
}

.location-trusted-choice-point-item h3 {
    font-size: var(--h3-size);
    color: var(--text-color);
    font-weight: 700;
	text-transform: uppercase;
    margin: 0;
    font-family: var(--wp--preset--font-family--heading, sans-serif);
}

.location-trusted-choice-point-item p {
    font-size: var(--text-base);
    color: #444;
    margin-top: 0.5em;
    line-height: 1.5;
}

.location-trusted-choice-text {
	margin-top: .625em;
	display: none;
}

.location-trusted-choice-point-item.active .location-trusted-choice-text {
    opacity: 1;
    display: block;
}

.location-trusted-choice-point-item.location-trusted-choice-active p {
    display: block;
}

/* Mobile Layout */
.location-trusted-choice-mobile-slider {
    display: none;
}

/* Mobile-specific styles (still using Swiper) */
.location-trusted-choice-swiper-slide {
    background: #fff;
    border-radius: 12px;
    padding: 1em;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.location-trusted-choice-swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1em;
}

.location-trusted-choice-swiper-slide h3 {
    font-size: var(--h3-size);
    color: #444444;
    font-weight: 600;
    margin: 0;
    font-family: var(--wp--preset--font-family--heading, sans-serif);
}

.location-trusted-choice-swiper-slide p {
    font-size: var(--text-base);
    color: #555555;
    line-height: 1.5;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
    .location-trusted-choice-desktop-slider {
        display: none;
    }

    .location-trusted-choice-mobile-slider {
        display: block;
    }

    .location-trusted-choice h2.location-trusted-choice-section-title {
        font-size: 1.5rem;
        line-height: 1.4;
        padding: 1rem 1rem 1.25rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .location-trusted-choice-section-title span {
        display: inline;
        white-space: normal;
    }
}