/**
 * Ad Placeholders CSS
 * 
 * Styles for different ad placeholders used throughout the site
 */

.ad-container {
    width: 100%;
    margin: 30px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.ad-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 5px;
    letter-spacing: 1px;
    display: block;
    text-align: center;
}

.ad-placeholder {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.ad-placeholder-text {
    color: #777;
    font-size: 0.85rem;
    padding: 10px;
    text-align: center;
    max-width: 80%;
}

/* Different ad sizes */
.ad-leaderboard {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

.ad-large-rectangle {
    width: 336px;
    height: 280px;
    max-width: 100%;
}

.ad-medium-rectangle {
    width: 300px;
    height: 250px;
    max-width: 100%;
}

.ad-wide-skyscraper {
    width: 160px;
    height: 600px;
    max-width: 100%;
}

.ad-banner {
    width: 468px;
    height: 60px;
    max-width: 100%;
}

.ad-half-page {
    width: 300px;
    height: 600px;
    max-width: 100%;
}

.ad-mobile-banner {
    width: 320px;
    height: 50px;
    max-width: 100%;
}

.ad-horizontal-banner {
    width: 100%;
    height: 120px;
}

.ad-sidebar {
    width: 300px;
    height: 600px;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ad-leaderboard, 
    .ad-banner, 
    .ad-horizontal-banner {
        height: 90px;
    }
    
    .ad-wide-skyscraper,
    .ad-half-page,
    .ad-sidebar {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .ad-leaderboard, 
    .ad-banner, 
    .ad-horizontal-banner {
        height: 60px;
    }
}

/* Ad positions */
.ad-placeholder.ad-top {
    margin-top: 0;
    margin-bottom: 30px;
}

.ad-placeholder.ad-bottom {
    margin-top: 30px;
    margin-bottom: 0;
}

.ad-placeholder.ad-sidebar {
    margin: 0 0 20px 0;
}

/* Hover effect */
.ad-placeholder:hover {
    background-color: #e8e8e8;
    border-color: #bbb;
} 