.promo-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.promo-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.promo-banner--top {
    margin-bottom: 10px;
    height: 80px;
    max-width: 975px;
}

.promo-banner--bottom {
    margin: 10px 0px;
    height: 80px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    max-width: 975px;
}

.content-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-banner--top .content-image-wrapper {
    height: 80px;
}

.content-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4)); */
    padding: 6px 12px;
    min-height: 32px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.banner-title-text {
    color: white;
    font-weight: 600;
    font-size: 13px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.content-text-wrapper {
    padding: 20px;
    background: white;
}

.close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.sponsored-label {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 3px;
    z-index: 5;
}

.promo-inline {
     margin: 30px 0px;
    height: 80px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    max-width: 975px;
    position: relative;    
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.promo-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-image-container {
    position: relative;
    cursor: pointer;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

.modal-info-section {
    padding: 20px;
    text-align: center;
    background: white;
}

.modal-info-section h3 {
    margin: 10px 0 0 0;
    color: #333;
    font-size: 18px;
}

.fullscreen-overlay .close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: #333;
    width: 40px;
    height: 40px;
    font-size: 24px;
}

.fullscreen-overlay .sponsored-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

body.has-bottom-promo {
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .promo-banner--bottom {
        max-height: 100px;
    }
    
    .modal-content-wrapper {
        max-width: 95%;
    }
    
    body.has-bottom-promo {
        padding-bottom: 80px;
    }
}