/* ── Aldo Ads – Frontend Styles ───────────────────────────────────────────── */

.aldo-zone {
    margin: 24px 0;
    font-family: inherit;
}

.aldo-zone-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 10px;
    padding: 0;
}

/* ── Ad card ──────────────────────────────────────────────────────────────── */

.aldo-ad-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    margin: 8px 0;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    text-decoration: none;
    color: inherit;
}

.aldo-ad-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
    transform: translateY(-1px);
}

/* Thumbnail */
.aldo-ad-image {
    flex-shrink: 0;
}

.aldo-ad-image img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Body text */
.aldo-ad-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.aldo-ad-headline,
.aldo-ad-description {
    /* Reset any theme-imposed paragraph margins */
    margin: 0 !important;
    padding: 0 !important;
}

.aldo-ad-headline {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.aldo-ad-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA button */
.aldo-ad-action {
    flex-shrink: 0;
    margin-left: auto;
}

.aldo-ad-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
    line-height: 1.2;
    border: none;
}

.aldo-ad-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    text-decoration: none;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media ( max-width: 600px ) {
    .aldo-ad-card {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 16px;
    }

    .aldo-ad-image img {
        width: 56px;
        height: 56px;
    }

    .aldo-ad-body {
        width: calc( 100% - 56px - 28px - 36px );
    }

    .aldo-ad-action {
        width: 100%;
        text-align: center;
    }

    .aldo-ad-btn {
        width: 100%;
        text-align: center;
    }
}

