/* New CSS for Native Ads */
.native-ad-section {
    margin: 2rem 0;
}

.native-ad-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.horizontal-ad {
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-ad-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem 0;
    border-radius: 8px;
}

.social-ad-container {
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.native-ad-vertical {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Enhanced Category Cards */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-icon .icon-wrapper {
    transition: all 0.3s ease;
}

.category-card:hover .icon-wrapper {
    background-color: rgba(13, 110, 253, 0.2) !important;
    transform: scale(1.1);
}

/* Improved Featured Posts */
.featured-posts .card {
    transition: all 0.3s ease;
}

.featured-posts .card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Modern Newsletter Form */
#newsletterForm .form-control {
    border-left: 0;
    padding-left: 0;
}

#newsletterForm .input-group-text {
    border-right: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .native-ad-container,
    .social-ad-container {
        padding: 1rem;
    }

    .native-ad-vertical {
        min-height: 250px;
    }
}


/*****************************************************/
/* Banner Ad Styles */
.banner-ad-section {
    margin: 2rem 0;
}

.banner-ad-container {
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.adsterra-banner {
    margin: 0 auto;
    max-width: 728px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f3f5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banner-ad-container {
        padding: 5px;
    }

    .adsterra-banner {
        width: 100%;
        height: auto;
        min-height: 90px;
    }

    /* For mobile, you might want to use a 300x250 ad instead */
    .mobile-banner {
        display: none;
    }
}

@media (max-width: 480px) {

    /* Alternative mobile ad size */
    .adsterra-banner {
        height: 100px;
    }

    /* You can add this if you want to switch to mobile-specific ad unit */
    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
        width: 320px;
        height: 100px;
        margin: 0 auto;
    }
}
