/* Ad Container Styles */
.ad-container {
    margin: 20px 0;
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
}

/* Responsive Ad Units */
.ad-unit {
    display: block;
    margin: 0 auto;
    min-height: 90px;  /* Minimum height for ad units */
}

/* Leaderboard Ad (Header) */
.ad-leaderboard {
    width: 100%;
    max-width: 970px;
    height: 90px;
}

/* Medium Rectangle (In-content) */
.ad-medium-rectangle {
    width: 300px;
    height: 250px;
}

/* Responsive Ad */
.ad-responsive {
    width: 100%;
    height: auto;
    min-height: 90px;
}

/* Ad Placeholder (when no ads are showing) */
.ad-placeholder {
    background: #f0f0f0;
    border: 1px dashed #ccc;
    color: #666;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

/* Hide ads on very small screens */
@media (max-width: 480px) {
    .ad-container {
        margin: 10px 0;
    }
    
    .ad-medium-rectangle {
        width: 100%;
        height: auto;
    }
}
