/*
 * Mehran Ads Pro - Public Stylesheet
 * Version: 2.0
 */

/* --- Ad Container --- */
.mehran-ad-container {
    margin: 15px auto; /* Centering the container and adding some vertical space */
    padding: 0;
    line-height: 1; /* Prevents extra space under images */
    text-align: center; /* Centers the ad inside the container */
    overflow: hidden; /* Good practice for containers */
}

/* --- Responsive Image Ads --- */
.mehran-ad-container img {
    max-width: 100%;
    height: auto;   /* Crucial for responsiveness */
    display: inline-block;
}

/* --- Responsive HTML/Iframe Ads --- */
.mehran-ad-container iframe,
.mehran-ad-container video {
    max-width: 100%;
}