/* Location Cards Block Styles */

/* Spacing Classes */
.mt-small {
    margin-top: var(--spacing-small);
}

.mt-medium {
    margin-top: var(--spacing-medium);
}

.mt-large {
    margin-top: var(--spacing-large);
}

.mb-small {
    margin-bottom: var(--spacing-small);
}

.mb-medium {
    margin-bottom: var(--spacing-medium);
}

.mb-large {
    margin-bottom: var(--spacing-large);
}

/* Main Block Styles */
.locationcards-wrapper {
    position: relative;
    width: 100%;
    padding: 0px 0;
}

/* Heading Styles */
.locationcards-heading {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.locationcards-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.locationcards-description {
    margin-bottom: 0;
}

/* Grid Layout */
.locationcards-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Card Styles */
.locationcards-card {
    padding: 0 15px;
    margin-bottom: 30px;
    width: 100%;
}

/* Column width based on columns per row */
.locationcards-grid[data-columns="1"] .locationcards-card {
    width: 100%;
}

.locationcards-grid[data-columns="2"] .locationcards-card {
    width: 50%;
}

.locationcards-grid[data-columns="3"] .locationcards-card {
    width: 33.333%;
}

.locationcards-grid[data-columns="4"] .locationcards-card {
    width: 25%;
}

/* Image Styles */
.locationcards-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.locationcards-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Caption Styles */
.locationcards-caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
}

.locationcards-pin-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.locationcards-pin-icon svg {
    fill: none;
    stroke: white;
}

/* Content Styles */
.locationcards-content-wrapper {
    padding: 15px;
}

.locationcards-card-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.locationcards-card-content {
    font-size: 1rem;
    line-height: 1.5;
}

.locationcards-card-content ul li {
    margin: 5px 0;
}

.locationcards-card-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .locationcards-wrapper {
        padding: 50px 0;
    }

    .locationcards-grid[data-columns="3"] .locationcards-card,
    .locationcards-grid[data-columns="4"] .locationcards-card {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .locationcards-wrapper {
        padding: 40px 0;
    }

    .locationcards-grid[data-columns] .locationcards-card {
        width: 100%;
    }

    .locationcards-card-title {
        font-size: 1.1rem;
    }
}