/**
 * Ad Styles
 * 
 * This file is maintained for backward compatibility.
 * It imports the new ad-placeholders.css file.
 */

@import url('../css/ad-placeholders.css');

/**
 * Ad Section Styles
 * 
 * Styles for the advertisement section that appears below the header
 * on content pages.
 */

.ad-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.ad-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ad-content {
    padding: 10px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-style: italic;
    border: 1px dashed #ddd;
    padding: 15px;
}

/* Ad types */
.horizontal-banner {
    height: auto;
    max-width: 1200px;
}

.leaderboard {
    height: auto;
    max-width: 728px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ad-container {
        margin-bottom: 15px;
    }
    
    .ad-content {
        min-height: 60px;
        padding: 5px;
    }
}

/* Print styles - hide ads when printing */
@media print {
    .ad-container {
        display: none !important;
    }
} 