.no-sidebar {
    max-width: 1240px;
    margin: auto;
    padding: 34px 20px 60px;
}

.hero-search {
    text-align: center;
    margin-bottom: 34px;
}

.hero-search h1 {
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #000;
}

.hero-search p {
    margin: 0 0 20px;
    color: #111;
}

.search-bar {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.search-bar input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 16px 18px;
    font-size: 15px;
    outline: none;
    background: #fff;
    color: #000;
}

.search-bar button {
    border: 0;
    padding: 0 24px;
    background: #ff0000;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.search-bar button:hover {
    background: #000;
}

.filters {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter,
#loadMoreBtn {
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    color: #000;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
    transition: all .2s ease;
}

.filter:hover,
#loadMoreBtn:hover {
    transform: translateY(-2px);
    border-color: #ff0000;
    color: #ff0000;
}

.filter.active,
#loadMoreBtn {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

#loadMoreBtn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.place-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

.place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.13);
}

.place-image {
    position: relative;
    height: 132px;
    background: linear-gradient(135deg, #111, #333);
    overflow: hidden;
}

.place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
}

.place-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.34));
    pointer-events: none;
}

.place-image-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 42px;
    background:
        radial-gradient(circle at 20% 10%, rgba(255,0,0,.5), transparent 35%),
        linear-gradient(135deg, #111, #2c2c2c);
}

.dept-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    background: #ff0000;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
    border-radius: 999px;
}

.rating-badge {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    background: rgba(255,255,255,0.94);
    color: #d90000;
    border: 1px solid rgba(255,0,0,0.18);
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
    border-radius: 999px;
}

.place-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.place-body h3 {
    font-size: 17px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #000;
}

.place-address {
    font-size: 13.5px;
    line-height: 1.45;
    color: #222;
    margin-bottom: 14px;
}

.place-info-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    width: 100%;
}

.site-link,
.place-phone {
    font-size: 12.5px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
}

.site-link:hover,
.place-phone:hover {
    color: #ff0000;
}

.place-phone {
    text-align: right;
    white-space: nowrap;
}

.site-link.muted,
.place-phone.muted {
    color: #888;
    font-weight: 700;
}

.maps-link {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    padding: 10px 12px;
    border-radius: 14px;
    transition: background .2s ease, transform .2s ease;
}

.maps-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.load-more-wrap {
    text-align: center;
    margin-top: 34px;
}

#loadMoreBtn {
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-msg,
.empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 22px;
    font-weight: 700;
    color: #111;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* Dark mode : on garde les cartes claires */
body.dark .place-card,
body.dark .search-bar,
body.dark .loading-msg,
body.dark .empty-msg,
body.dark .filter {
    background: #fff;
    color: #000;
}

body.dark .hero-search h1,
body.dark .hero-search p,
body.dark .place-body h3,
body.dark .place-address,
body.dark .site-link,
body.dark .place-phone {
    color: #000;
}

@media (max-width: 1150px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-bar {
        max-width: 100%;
    }
}

@media (max-width: 580px) {
    .no-sidebar {
        padding: 26px 14px 46px;
    }

    .hero-search h1 {
        font-size: 28px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 18px;
    }

    .search-bar button {
        padding: 14px;
        border-radius: 0;
    }

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

    .place-card {
        min-height: auto;
    }

    .place-info-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .place-phone {
        text-align: left;
    }
}