/**
 * Plugin Name: Zeal Ad Manager
 * Author:      Edu Brazeal
 * Author URI:  https://edubrazeal.com
 * Version:     1.0.0
 */

/**
 * TABLE OF CONTENTS
 * --------------------------------------------------------------------------
 * 6.0 - Ad Preview Templates (Dashboard & Modal)
 * 6.1 - Common Preview Styles
 * 6.2 - Spotlight Preview
 * 6.3 - Story Preview
 * 6.4 - Banner Preview
 * 6.5 - App Install Preview
 * 6.6 - AI Dynamic Preview
 * 7.0 - Live Ad Unit Styles (Publisher Sites)
 * 7.1 - General Ad Unit Container
 * 7.2 - Spotlight Ad Unit
 * 7.3 - Story Ad Unit
 * 7.4 - Banner Ad Unit
 * 7.5 - ZealUp Vignette Ad Unit
 * 7.6 - ZealUp Anchor Ad
 * 7.7 - ZealUp Sticky Bar
 * 7.8 - App Install Ad Unit
 * 7.9 - AI-Powered Dynamic Ad Unit
 * --------------------------------------------------------------------------
 */


/* --- 6.0 - Ad Preview Templates (Dashboard & Modal) --- */
/* --- 6.1 - Common Preview Styles --- */
.zam-ad-preview-template {
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease-in-out;
}

.zam-sponsored-tag {
    position: absolute;
    top: 2px;
    right: 3px;
    background: bisque;
    color: darkorange;
    padding: 1px 3px;
    font-size: 14px;
    border-radius: 3px;
    font-weight: 500;
    z-index: 3;
}

.zam-preview-img-element,
.zam-preview-video-element,
.zam-ad-preview-template img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zam-preview-headline,
.zam-preview-description {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zam-preview-headline {
    -webkit-line-clamp: 1;
}

.zam-preview-description {
    -webkit-line-clamp: 2;
}

/* --- 6.2 - Spotlight Preview --- */
#zam-preview-spotlight, .zam-preview-spotlight-modal {
    width: 300px;
    height: 250px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.zam-preview-spotlight-media {
    height: 150px;
    width: 100%;
    background-color: #e9ecef;
    position: relative;
}

.zam-video-mute-button {
    position: absolute;
    bottom: 5px;
    left: 90%;
    z-index: 2;
    background-color: rgba(0,0,0,0.4);
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.zam-video-mute-button:hover {
    background-color: rgba(0,0,0,0.7);
}

.zam-preview-spotlight-content {
    padding: 10px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.zam-preview-spotlight-content .zam-preview-headline {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.zam-preview-spotlight-content .zam-preview-description {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin: 4px 0 8px;
}

.zam-preview-spotlight-content .zam-preview-url-display {
    font-size: 12px;
    color: #555;
    margin-top: auto;
}

/* --- 6.3 - Story Preview --- */
#zam-preview-story, .zam-preview-story-modal {
    width: 300px;
    height: 500px;
}

.zam-preview-story-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #ced4da;
    z-index: 1;
}

.zam-preview-story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    color: #fff;
    z-index: 2;
}

.zam-preview-story-overlay .zam-preview-headline {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.zam-preview-story-overlay .zam-preview-description {
    font-size: 14px;
    line-height: 1.4;
    color: #eee;
    opacity: 0.9;
    margin-top: 8px;
}

.zam-preview-story-cta {
    display: block;
    margin-top: 15px;
    background-color: #fff;
    color: #111;
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
}

/* --- 6.4 - Banner Preview --- */
#zam-preview-banner, .zam-preview-banner-modal {
    width: 728px;
    max-width: 100%;
    height: 90px;
    background-color: #fdfdfd;
    display: flex;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.zam-preview-banner-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    background-color: #e9ecef;
}

.zam-preview-banner-content {
    flex-grow: 1;
    margin: 0 15px;
    min-width: 0;
}

.zam-preview-banner-content .zam-preview-headline {
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

.zam-preview-banner-content .zam-preview-description {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

/* --- 6.5 - App Install Preview --- */
#zam-preview-app-install {
    width: 300px;
    height: 400px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.zam-preview-app-media {
    height: 250px;
    width: 100%;
    background-color: #e9ecef;
    position: relative;
}
.zam-preview-app-img-element,
.zam-preview-app-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zam-preview-app-bottom-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.zam-preview-app-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zam-preview-app-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.zam-preview-app-icon img {
    border-radius: 12px;
}
.zam-preview-app-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.zam-preview-app-name {
    font-size: 16px;
    font-weight: 600;
    color: #1c1e21;
    margin: 0;
    -webkit-line-clamp: 1;
}
.zam-preview-app-rating {
    font-size: 13px;
    color: #606770;
    display: flex;
    align-items: center;
}
.zam-preview-app-rating-stars {
    color: #f5c518;
    margin-right: 4px;
}
.zam-preview-app-downloads {
    font-size: 13px;
    color: #606770;
    margin: 0;
}
.zam-preview-app-install-btn {
    width: 100%;
    background-color: #1877f2;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
}

/* --- 6.6 - AI Dynamic Preview --- */
#zam-preview-ai-dynamic-text {
    width: 300px;
    height: 250px;
    padding: 10px;
    box-sizing: border-box;
    background: #f9f9f9;
}
.zam-preview-ai-dynamic {
    font-family: Arial, sans-serif;
    color: #202124;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.zam-ai-preview-header {
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}
.zam-ai-preview-content {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}
.zam-ai-preview-text {
    flex: 1;
    min-width: 0;
}
.zam-ai-preview-text .zam-preview-headline {
    color: #1a0dab;
    font-size: 18px;
    font-weight: normal;
    -webkit-line-clamp: 2;
    margin-bottom: 4px;
}
.zam-ai-preview-text .zam-preview-url-display {
    color: #006621;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}
.zam-ai-preview-text .zam-preview-description {
    color: #5f6368;
    font-size: 14px;
    -webkit-line-clamp: 3;
}
.zam-ai-preview-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.zam-ai-preview-image img {
    border-radius: 8px;
}


/* --- 7.0 - Live Ad Unit Styles (Publisher Sites) --- */
/* --- 7.1 - General Ad Unit Container --- */
.zeal-ad-unit {
    display: none;
    margin: 15px auto;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-decoration: none;
    color: #333;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: none;
}
.zeal-ad-unit.zam-ad-template-ai-dynamic-text {
    max-width: 728px;
}

.zeal-ad-unit * {
    box-sizing: border-box;
}

.zeal-ad-unit.zam-ad-template-spotlight {
    width: 300px;
    height: 250px;
}

.zeal-ad-unit.zam-ad-template-story {
    width: 300px;
    height: 500px;
}

.zeal-ad-unit.zam-ad-template-banner {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

.zeal-ad-unit .zam-ad-headline,
.zeal-ad-unit .zam-ad-description {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zeal-ad-unit .zam-ad-headline {
    -webkit-line-clamp: 1;
}

.zeal-ad-unit .zam-ad-description {
    -webkit-line-clamp: 2;
}

.zeal-ad-unit .zam-ad-image,
.zeal-ad-unit .zam-ad-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* --- 7.2 - Spotlight Ad Unit --- */
.zeal-ad-unit.zam-ad-template-spotlight {
    display: flex;
    flex-direction: column;
}

.zeal-ad-unit.zam-ad-template-spotlight .zam-ad-spotlight-media {
    height: 150px;
    width: 100%;
    background-color: #e9ecef;
    position: relative;
}

.zeal-ad-unit.zam-ad-template-spotlight .zam-ad-spotlight-content {
    padding: 10px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.zeal-ad-unit.zam-ad-template-spotlight .zam-ad-headline {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.zeal-ad-unit.zam-ad-template-spotlight .zam-ad-description {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin: 4px 0 8px;
}

.zeal-ad-unit.zam-ad-template-spotlight .zam-ad-url-display {
    font-size: 12px;
    color: darkred;
    margin-top: auto;
}

/* --- 7.3 - Story Ad Unit --- */
.zeal-ad-unit.zam-ad-template-story .zam-ad-story-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.zeal-ad-unit.zam-ad-template-story .zam-ad-story-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    color: #fff;
    z-index: 2;
}

.zeal-ad-unit.zam-ad-template-story .zam-ad-headline {
	color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.zeal-ad-unit.zam-ad-template-story .zam-ad-description {
    font-size: 14px;
    line-height: 1.4;
    color: #eee;
    opacity: 0.9;
    margin-top: 8px;
}

.zeal-ad-unit.zam-ad-template-story .zam-ad-story-cta {
    display: block;
    margin-top: 15px;
    background-color: #fff;
    color: #111;
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
}

/* --- 7.4 - Banner Ad Unit --- */
.zeal-ad-unit.zam-ad-template-banner {
    display: flex !important;
    align-items: center !important;
}


.zeal-ad-unit.zam-ad-template-banner .zam-ad-banner-image-wrapper {
    width: 80px;
    height: 80px;
    margin-left: 5px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    background-color: #e9ecef;
}

.zeal-ad-unit.zam-ad-template-banner .zam-ad-banner-content {
    flex-grow: 1;
    margin: 0 15px;
    min-width: 0;
}

.zeal-ad-unit.zam-ad-template-banner .zam-ad-headline {
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

.zeal-ad-unit.zam-ad-template-banner .zam-ad-description {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

/* --- 7.5 - ZealUp Vignette Ad Unit --- */
.zealup-vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    visibility: hidden;
}

.zealup-vignette-overlay.zealup-is-visible {
    opacity: 1;
    visibility: visible;
}

.zealup-vignette-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    padding: 2px;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
}

.zealup-vignette-container.contains-banner {
    position: fixed;
    top: 0;
    margin-top: 10px;
}

.zealup-vignette-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1px;
    padding-bottom: 1px;
    border-bottom: 1px solid #eee;
}

.zealup-vignette-brand {
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-right: auto;
}

.zealup-vignette-close {
    padding: 5px;
    font-size: 16px;
    line-height: 1;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 300;
}
.zealup-vignette-close:hover {
    color: #000;
}

.zealup-vignette-ad-wrapper {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zealup-vignette-ad-wrapper .zeal-ad-unit {
    margin: 0;
}

@media screen and (min-width: 768px) {
    .zealup-vignette-container {
        max-width: 600px !important;
        transform: scale(1.3);
        padding: 5px;
    }
    
    @media screen and (min-width: 768px) {
    .zealup-vignette-container.contains-spotlight {
        transform: scale(2.0);
    }
}

    .zealup-vignette-container .zam-ad-template-spotlight {
        transform: scale(1.1);
        margin: 15px;
    }

    .zealup-vignette-container .zam-ad-template-banner {
        height: 350px;
        max-width: 728px;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    .zealup-vignette-container .zam-ad-template-banner .zam-ad-banner-image-wrapper {
        width: 280px;
        height: 280px;
        margin: 0 5px 0 0;
        flex-shrink: 0;
    }
    .zealup-vignette-container .zam-ad-template-banner .zam-ad-banner-content {
        text-align: left;
    }
    .zealup-vignette-container .zam-ad-template-banner .zam-ad-headline {
        font-size: 34px;
        -webkit-line-clamp: 2;
    }
    .zealup-vignette-container .zam-ad-template-banner .zam-ad-description {
        font-size: 20px;
        -webkit-line-clamp: 3;
    }
}

/* --- 7.6 - ZealUp Anchor Ad --- */
.zealup-anchor-ad {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99998;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.zealup-anchor-ad.zealup-is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.zealup-anchor-ad .zeal-ad-unit {
    margin: 0;
}

/* --- 7.7 - ZealUp Sticky Bar --- */
@media screen and (min-width: 1024px) {
    .zealup-sticky-bar.zealup-is-visible {
        border-radius: 12px;
        left: 25%;
    }
}
    
.zealup-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    max-width: 740px;
    width: 100%;
    z-index: 99997;
    background-color: #ddd;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    padding: 3px 0;
}

.zealup-sticky-bar.zealup-is-visible {
    display: block;
    transform: translateY(0);
}

.zealup-sticky-bar-inner {
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zealup-sticky-bar .zealup-ad-wrapper {
    width: 100%;
}

.zealup-sticky-bar .zeal-ad-unit {
    margin: 0;
    box-shadow: none;
    border: 1px solid #eee;
    width: 100%;
}

/* --- Robust Close Buttons --- */
.zealup-anchor-close,
.zealup-sticky-close {
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: #333;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    z-index: 10;
}

.zealup-anchor-close:hover,
.zealup-sticky-close:hover {
    background-color: #000;
}

.zealup-anchor-close {
    top: -25px;
    right: 0px;
}

.zealup-sticky-close {
    top: -20px;
    right: -1px;
}

/* --- 7.8 - App Install Ad Unit --- */
.zeal-ad-unit.zam-ad-template-app-install {
    width: 300px;
    height: 400px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: solid 1px orange;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-media {
    height: 250px;
    width: 100%;
    background-color: #000;
    position: relative;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-image,
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-bottom-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-content {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-icon img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-name {
    font-size: 15px;
    font-weight: 600;
    color: #1c1e21;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-rating {
    font-size: 13px;
    color: #606770;
    display: flex;
    align-items: center;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-rating-stars {
    color: #f5c518;
    margin-right: 4px;
    font-size: 15px;
    letter-spacing: 1px;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-downloads {
    font-size: 13px;
    color: #606770;
    margin: 0;
}
.zeal-ad-unit.zam-ad-template-app-install .zam-ad-app-install-btn {
    width: 100%;
    background-color: #1877f2;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.2s;
}
.zeal-ad-unit.zam-ad-template-app-install:hover .zam-ad-app-install-btn {
    background-color: #166fe5;
}

/* --- 7.9 - AI-Powered Dynamic Ad Unit --- */
.zeal-ad-unit .zam-ad-ai-dynamic {
    padding: 10px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #202124;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.zeal-ad-unit .zam-ad-ai-dynamic-spotlight {
    background: #f9f9f9;
}
.zeal-ad-unit .zam-ai-preview-header {
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}
.zeal-ad-unit .zam-ai-preview-content {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}
.zeal-ad-unit .zam-ai-preview-text {
    flex: 1;
    min-width: 0;
}
.zeal-ad-unit .zam-ad-ai-dynamic .zam-ad-headline {
    color: #1a0dab;
    font-size: 18px;
    font-weight: normal;
    -webkit-line-clamp: 2;
    margin-bottom: 4px;
}
.zeal-ad-unit .zam-ad-ai-dynamic .zam-ad-url-display {
    color: #006621;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}
.zeal-ad-unit .zam-ad-ai-dynamic .zam-ad-description {
    color: #5f6368;
    font-size: 14px;
    -webkit-line-clamp: 3;
}
.zeal-ad-unit .zam-ad-ai-dynamic-spotlight .zam-ad-description {
    margin-top: auto;
}
.zeal-ad-unit .zam-ai-preview-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.zeal-ad-unit .zam-ai-preview-image img {
    border-radius: 8px;
}
.zeal-ad-unit .zam-ad-ai-dynamic-banner {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 10px;
}
.zeal-ad-unit .zam-ad-ai-dynamic-banner .zam-ad-ai-dynamic-text {
    flex-grow: 1;
    min-width: 0;
}
.zeal-ad-unit .zam-ad-ai-dynamic-banner .zam-ad-ai-dynamic-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}
.zeal-ad-unit .zam-ad-ai-dynamic-banner .zam-ad-ai-dynamic-image img {
    border-radius: 8px;
}
.zeal-ad-unit .zam-ad-ai-dynamic-banner .zam-ad-headline {
    -webkit-line-clamp: 1;
}
.zeal-ad-unit .zam-ad-ai-dynamic-banner .zam-ad-description {
    -webkit-line-clamp: 1;
}