/* Container */
.bg-geolocation-container {
    margin: 2rem auto;
    padding: 0;
    max-width: 80rem;
}

/* Loading state */
.bg-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Error state */
.bg-error {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
    background: #ffe6e6;
    border: 1px solid #ff9999;
    border-radius: 4px;
}

.bg-error-message {
    color: #cc0000;
    margin: 0;
}

/* No posts */
.bg-no-posts {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 4px;
}

/* Post layout */
.bg-post {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
}

.bg-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Featured image */
.bg-post-image-wrap {
    margin-bottom: 1rem;
}

.bg-post-image {
    margin-top: 20px;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.bg-post-image-wrap a {
    display: block;
    transition: opacity 0.3s;
}

.bg-post-image-wrap a:hover {
    opacity: 0.9;
}

/* Post content */
.bg-post-content {
    padding: 0;
}

.bg-post-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.bg-post-title a {
    color: #333;
    text-decoration: none;
}

.bg-post-title a:hover {
    color: #0073aa;
    text-decoration: underline;
}

/* Distance display */
.bg-post-distance {
    margin: 1rem 0;
    font-size: 0.95rem;
    color: #666;
    background: #FAF9CD;
    padding: 0.75rem;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    text-align: center;
}

.bg-distance-label {
    font-weight: 600;
    margin-right: 0.25rem;
}

.bg-distance-value {
    font-weight: 600;
    color: #333;
    margin-right: 0.5rem;
}

.bg-default-location {
    font-size: 0.85rem;
    color: #f39c12;
    font-style: italic;
}

/* Excerpt */
.bg-post-excerpt {
    line-height: 1.6;
    color: #555;
}

/* Read more link */
.bg-read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
}

.bg-read-more:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (min-width: 768px) {
    .bg-post {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 1.5rem;
        align-items: start;
    }
    
    .bg-post-image-wrap {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .bg-post {
        grid-template-columns: 350px 1fr;
        gap: 2rem;
    }
}