/* Header Ads Styling with Fixed Container and Slow Blink */
.header-ad-container {
    position: relative;
    text-align: center;
    animation: blinkAdSlow 4s ease-in-out infinite;
}

.header-ad-title {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    font-size: 10px;
    font-weight: bold;
    color: red;
    /*background: rgba(0, 0, 0, 0.7);*/
    margin: 0;
    padding: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Fixed size container for image */
.header-ad-image-wrapper {
    width: 206px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}

.header-ad-image-wrapper a,
.header-ad-image-wrapper img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* Slow Smooth Blink Animation */
@keyframes blinkAdSlow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@media screen and (max-width: 768px) {
    .header-ad-image-wrapper {
        width: 80px;
        height: 40px;
    }
    .header-ad-title{
         font-size: 6px;
    
    }
}