/* Results content container */
.results-content {
    min-height: 200px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    gap: 40px; 
    padding: 30px;
    margin: 0 auto;
    max-width: 1000px;
}

.business-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.business-card:hover {
    transform: translateY(-5px);
}

.card-picture img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-details {
    padding: 20px;
    display: flex;
    flex-direction: column; 
    gap: 8px; 
    overflow-wrap: break-word; 
    white-space: normal; 
    word-break: break-word; 
}

.business-name {
    margin: 0 0 10px;
    font-size: 1.3em;
    color: #333;
}

.concise-description,
.location,
.phone,
.mail {
    margin: 0 0 8px;
    font-size: 1em;
    color: #666;
}

.pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 60px;
    min-height: 50px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-link {
    color: #333;
    padding: 10px 18px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 6px;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.page-link.active {
    background-color: #282C34;
    color: white;
    border: 1px solid #282C34;
}

.page-link:hover:not(.active):not(.disabled) {
    background-color: #ddd;
}

.page-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.loading-message,
.error-message,
.no-results-message {
    text-align: center;
    padding: 2rem;
    font-size: 1.1rem;
}

.loading-message {
    color: #666;
}

.error-message {
    color: #dc3545;
}

.no-results-message {
    color: #666;
}

/* JS state utility */
.hidden { display: none !important; }