.joldo-ad {
    position: relative;
    width: 100%;
    min-height: var(--joldo-ad-min-height, 100px);
    margin: 1.5rem 0;
}

.joldo-ad__label {
    display: block;
    padding-bottom: .5rem;
    color: var(--ar-body-color);
    font-size: .65rem;
    letter-spacing: .05em;
    opacity: .5;
    text-align: center;
    text-transform: uppercase;
}

.joldo-ad__google {
    display: block;
    width: 100%;
    text-align: center;
}

.joldo-ad__house {
    min-height: var(--joldo-ad-min-height, 100px);
    padding: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--ar-primary) 0%, #2a5c4a 100%);
    color: #fff;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
}

.joldo-ad__house:not([hidden]) {
    display: flex;
}

.joldo-ad__house-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    color: var(--ar-primary);
    align-items: center;
    flex: 0 0 auto;
    font-size: 2rem;
    justify-content: center;
}

.joldo-ad__house-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.joldo-ad__house-copy small {
    color: rgba(255, 255, 255, .75);
}

.joldo-ad--reserved-empty .joldo-ad__label,
.joldo-ad--reserved-empty .joldo-ad__google {
    visibility: hidden;
}

.joldo-ad--collapsed {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
}

/* Only templates whose outer geometry belongs exclusively to an ad use this
 * marker. Useful sibling content must never be collapsed with the placement. */
[data-joldo-ad-shell].joldo-ad-shell--collapsed {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.joldo-ad__mock {
    display: flex;
    min-height: calc(var(--joldo-ad-min-height, 100px) - 1.25rem);
    border: 1px dashed rgba(var(--ar-primary-rgb), .45);
    border-radius: .75rem;
    background: rgba(var(--ar-primary-rgb), .06);
    color: var(--ar-primary);
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .joldo-ad--desktop { display: none !important; }
}

@media (min-width: 992px) {
    .joldo-ad--mobile { display: none !important; }
}

@media (max-width: 575.98px) {
    .joldo-ad__house:not([hidden]) {
        flex-direction: column;
        text-align: center;
    }
}
