/* ==========================================================================
   Local Lead Generator WP - Public Styles
   All classes prefixed with llg- to avoid conflicts.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Maillage Grid (columns) - used by villes_proches, top_villes_pays,
   top_villes_dept, liste_departements, departements_proches
   -------------------------------------------------------------------------- */

.llg-maillage {
    padding: 40px 0;
}

.llg-maillage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.llg-maillage-col p {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    font-size: 1rem;
}

.llg-maillage-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.llg-maillage-col li {
    padding: 4px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.llg-maillage-col li a {
    color: #2563eb;
    text-decoration: none;
}

.llg-maillage-col li a:hover {
    text-decoration: underline;
}

.llg-extra {
    color: #888;
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Business Cards - used by [liste_metier]
   -------------------------------------------------------------------------- */

.llg-businesses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.llg-biz-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.llg-biz-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #111;
}

.llg-biz-stars {
    color: #f59e0b;
    font-size: 1rem;
}

.llg-biz-rating {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-left: 4px;
}

.llg-biz-reviews {
    color: #888;
    font-size: 0.85rem;
}

.llg-biz-address,
.llg-biz-phone,
.llg-biz-category {
    font-size: 0.9rem;
    color: #555;
    margin: 4px 0;
}

.llg-biz-phone a {
    color: #2563eb;
    text-decoration: none;
}

.llg-biz-phone a:hover {
    text-decoration: underline;
}

.llg-biz-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.llg-biz-website {
    display: inline-block;
    padding: 6px 16px;
    background: #2563eb;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.llg-biz-website:hover {
    background: #1d4ed8;
}

/* --------------------------------------------------------------------------
   Leaflet Map
   -------------------------------------------------------------------------- */

.llg-map-wrapper {
    margin: 20px 0;
}

.llg-leaflet-map {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.llg-breadcrumb {
    font-size: 0.85rem;
    color: #666;
    padding: 10px 0;
    margin-bottom: 20px;
}

.llg-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.llg-breadcrumb a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .llg-maillage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .llg-businesses-list {
        grid-template-columns: 1fr;
    }
}
