/* Business Review Listings - front-end styles */

.brl-single-listing {
    max-width: 1100px;
    margin: 20px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #222;
}

.brl-single-listing .dashicons {
    vertical-align: middle;
}

.brl-hero-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.brl-hero-image {
    flex: 2 1 60%;
    max-height: 320px;
    overflow: hidden;
    border-radius: 12px;
}

.brl-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brl-hero-content {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brl-hero-title {
    font-size: 26px;
    margin: 0 0 8px;
}

.brl-hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.brl-hero-rating-badge {
    background: #16a34a;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.brl-hero-rating-text {
    font-size: 13px;
    color: #555;
}

.brl-hero-location,
.brl-hero-nearest {
    margin: 4px 0;
    font-size: 14px;
}

.brl-hero-location .dashicons,
.brl-hero-nearest .dashicons {
    margin-right: 5px;
}

/* Main two-column layout */

.brl-main-section {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 20px;
}

.brl-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.brl-card h2,
.brl-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.brl-card p {
    margin: 0 0 8px;
    line-height: 1.5;
    font-size: 14px;
}

/* Ratings block */

.brl-ratings-block .brl-ratings-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.brl-rating-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.brl-rating-label {
    min-width: 70px;
    font-weight: 500;
}

.brl-rating-stars .dashicons {
    font-size: 16px;
}

.brl-rating-value {
    margin-left: 4px;
    font-weight: 500;
}

.brl-rating-count {
    font-weight: 400;
    color: #4b5563;
}

/* Map / right column */

.brl-map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.brl-contact-info p {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.brl-contact-info a {
    color: #2563eb;
    text-decoration: none;
}

.brl-contact-info a:hover {
    text-decoration: underline;
}

/* Grid of cards for [business_listings] */

.brl-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.brl-card-image {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    max-height: 190px;
}

.brl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brl-card-body {
    padding: 14px 14px 12px;
}

.brl-card-title {
    margin: 0 0 6px;
    font-size: 17px;
}

.brl-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4b5563;
    margin: 0 0 6px;
}

.brl-card-rating {
    margin-bottom: 6px;
}

.brl-card-shortcode {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

/* Responsive */

@media (max-width: 900px) {
    .brl-hero-section {
        flex-direction: column;
    }

    .brl-main-section {
        grid-template-columns: 1fr;
    }
}
