/* Map Block Styles */

/* Aspect Ratio Width Classes */
.aspect-w-16 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 16;
}

.aspect-w-14 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 14;
}

.aspect-w-12 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 12;
}

.aspect-w-18 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 18;
}

.aspect-w-20 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 20;
}

/* Aspect Ratio Height Classes */
.aspect-h-6 {
    --tw-aspect-h: 6;
}

.aspect-h-7 {
    --tw-aspect-h: 7;
}

.aspect-h-8 {
    --tw-aspect-h: 8;
}

.aspect-h-9 {
    --tw-aspect-h: 9;
}

.aspect-h-10 {
    --tw-aspect-h: 10;
}

.aspect-h-12 {
    --tw-aspect-h: 12;
}

/* Common aspect ratio children positioning */
.aspect-w-16 > *, 
.aspect-w-14 > *, 
.aspect-w-12 > *, 
.aspect-w-18 > *, 
.aspect-w-20 > * {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Map container fallback */
.map-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 1rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* Loading state */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    background-color: #f3f4f6;
    border-radius: 1rem;
    color: #6b7280;
}

/* Map info cards hover effects */
.map-info-card {
    transition: all 0.3s ease;
}

.map-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
} 