/* Custom CSS Overrides */
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scrollbar due to full-width elements */
}
body {
    overflow-x: hidden;
}

.prose h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.prose p {
    margin-bottom: 1rem;
}
.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* City Card Styles for Grid Layouts */
.city-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    font-weight: 500;
    color: #334155;
    font-size: 0.875rem;
    text-decoration: none;
}
.city-card:hover {
    border-color: #3b82f6;
    color: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc;
}
.city-card .arrow {
    opacity: 0;
    transition: opacity 0.2s;
    color: #2563eb;
}
.city-card:hover .arrow {
    opacity: 1;
}

/* Carousel / Ticker Animation */
.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves half the width (the original set) */
    }
}

/* Hide scrollbar for carousel container if needed */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}