.content-wrapper {
    min-height: calc(100vh - 200px);
    padding-bottom: 40px;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.featured-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

/* City Segmented Control */
.city-selector {
    display: inline-flex;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 4px;
}

.city-segment {
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.city-segment:hover {
    text-decoration: none;
    color: #333;
}

.city-segment.active {
    background: #000;
    color: #fff;
}

.city-segment:hover:not(.active) {
    background: #e0e0e0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.featured-card {
    position: relative;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: #333;
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.date-badge {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: white;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 8px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.card-description {
    font-size: 14px;
    color: white;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.book-button {
    align-self: flex-start;
    padding: 6px 16px;
    border: 1px solid white;
    border-radius: 6px;
    background: transparent;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.book-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state img {
    max-width: 200px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state p {
    font-size: 16px;
    color: #666;
}

/* Button styling for book button */
button.book-button {
    cursor: pointer;
    outline: none;
}

button.book-button:focus {
    outline: none;
}

button.booked-button {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

button.booked-button:hover {
    background: rgba(255, 100, 100, 0.4);
    border-color: #ff6b6b;
}

button.booked-button:disabled {
    cursor: default;
    opacity: 0.7;
}

button.booked-button:disabled:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .featured-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .city-selector {
        width: 100%;
        justify-content: center;
    }

    .city-segment {
        padding: 8px 16px;
        font-size: 13px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        height: 200px;
    }
}
