#agl-results .directory-card {
    border: 1px solid #ccc; /* Light gray border for the box */
    border-radius: 10px; /* Rounded corners for aesthetics */
    padding: 15px; /* Space inside the box */
    margin-top: 20px; /* Space between the box and other elements */
    background-color: #fff; /* White background for contrast */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for a clean, elevated look */
}

#agl-results .directory-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px; /* Space below the shop name */
}

#agl-results .directory-card p {
    margin: 5px 0; /* Space between lines of text */
    font-size: 1em; /* Adjust text size */
    line-height: 1.5; /* Improve text readability */
}


.card-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.card-header {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Align items vertically in the center */
    gap: 15px; /* Add space between the logo and the text */
}

.card-header img {
    width: 450px; /* Sets the maximum width for the logo */
    height: auto; /* Maintains aspect ratio */
    border-radius: 5px; /* Optional: Add slight rounding for aesthetics */
    flex-shrink: 0; /* Prevents the image from shrinking */
}

.card-header h3 {
    margin: 0; /* Remove extra margin for proper alignment */
    font-size: 1.8em; /* Adjust the font size of the business name */
    font-weight: bold;
}

.card-images img:hover {
    transform: scale(1.1); /* Slightly enlarges the image on hover */
}

.card-images img {
    width: 32%; /* Adjusts the width of the images */
    height: auto; /* Maintains aspect ratio */
    border-radius: 5px; /* Optional: Add slight rounding for better aesthetics */
    transition: transform 0.3s ease; /* Smooth animation for hover effects */
}

/* Formatting for the address inside the card-body */
.card-body p {
    margin: 0 0 5px; /* Adds spacing between lines */
    line-height: 1.6; /* Increases line height for readability */
    font-size: 1rem; /* Adjust font size */
    color: #333; /* Adjust the text color */
    white-space: pre-wrap; /* Ensures new lines and spaces are respected */
}
