/* Sharper Locations Block Styles */

.sharper-locations {
    --accent-color: #00FFFF;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sharper-locations-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 500px; /* Adjusted height to 500px */
    max-height: 700px;
}

/* Image Column */
.sharper-locations-image-column {
    width: 50%; /* Exact 50% width */
    position: relative;
    overflow: hidden;
}

.sharper-locations-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.sharper-locations-image.active {
    opacity: 1;
    z-index: 2;
}

.sharper-locations-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content Column */
.sharper-locations-content-column {
    width: 50%; /* Exact 50% width */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
}

/* Links Section */
.sharper-locations-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem; /* Padding moved from column to links section */
}

.sharper-locations-link-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.sharper-locations-link-item:hover {
    border-color: var(--accent-color);
}

.sharper-locations-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}
.sharper-locations-link:hover {
    color: var(--accent-color);
}

.sharper-locations-title {
    flex-grow: 1;
}

.sharper-locations-arrow {
    margin-left: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.sharper-locations-link:hover .sharper-locations-arrow {
    transform: translateX(5px);
}

/* CTA Section */
.sharper-locations-cta {
    margin-top: 2rem;
    padding: 0 3rem 2rem 2rem; /* Added padding to match the design */
}

.sharper-locations-cta-link {
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    transition: border-color 0.3s ease;
}

.sharper-locations-cta-link:hover {
    border-color: var(--accent-color);
}

/* Reversed Layout */
.sharper-locations.layout-reversed .sharper-locations-container {
    flex-direction: row-reverse;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sharper-locations-container {
        flex-direction: column;
        min-height: auto;
    }

    .sharper-locations-image-column {
        width: 100%;
        height: 300px;
    }

    .sharper-locations-content-column {
        width: 100%;
    }

    .sharper-locations-links {
        padding: 2rem 2rem 1rem .5rem !important;
    }

    .sharper-locations-cta {
        padding: 0 2rem 2rem 2rem;
    }

    .sharper-locations.layout-reversed .sharper-locations-container {
        flex-direction: column;
    }

    .sharper-locations-link {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .sharper-locations-links {
        padding: 1.5rem 1.5rem 1rem .5rem !important;
    }

    .sharper-locations-cta {
        padding: 0 1.5rem 1.5rem .5rem;
    }

    .sharper-locations-image-column {
        height: 250px;
    }

    .sharper-locations-link {
        font-size: 1.125rem;
    }
}
