/* Certification badges (desktop only) — shared between the default/Estate
   template and the Buildings/Mall template. Both apply their own Elementor
   widget hashes but render the exact same badge markup/classes via
   single-listing-badges-and-labels.js. */
.certification-badges {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
    margin-left: 12px;
    flex-wrap: wrap;
}

.certification-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.certification-badge img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eee;
    background: #fff;
    padding: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.certification-caption {
    display: block;
    font-size: 11px;
    margin-top: 6px;
    color: #333;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .certification-badges {
        display: none !important;
    }
}

/* Buildings/Mall template's certification section only exists to host the
   source images the badges above are cloned from — always hidden in place. */
.elementor-element-702797a {
    display: none !important;
}

/* Clickable "Building" overview card (single-listing-badges-and-labels.js) */
.cre-building-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 12px 8px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.cre-building-link:hover {
    background-color: #e9ecef;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}
