/* ============================================
   LUNAR ECLIPSE OVERLAY STYLING FOR DUAL HEADLINE BANNER
   ============================================ */

/* עיצוב האוברליי של ליקוי הירח בתוך dual-headline-banner */
.dual-headline-banner .lunar-eclipse-overlay-content {
    position: absolute;
    width: 50%;
    height: 25%;
    right: 5%;
    bottom: 5%;
    background: rgba(39, 59, 107, 0.8);
    border-radius: 5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0;
    margin: 0;
    min-width: 280px;
    min-height: 160px;
}

/* כותרת ליקוי הירח */
.dual-headline-banner .lunar-eclipse-title {
    position: absolute;
    right: 8%;
    top: 15%;
    left: 8%;
    bottom: 40%;
    font-family: 'Discovery_Fs', 'TalentFS', Arial, sans-serif !important;
    font-style: normal;
    font-weight: 800 !important;
    font-size: clamp(18px, 2.2vw, 30px) !important;
    line-height: 1.1 !important;
    text-align: right;
    color: #FFFFFF !important;
    margin: 0;
    padding: 0;
    align-items: flex-start;
    justify-content: flex-end;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* אזור תחתון - קרא עוד ושם מחבר */
.dual-headline-banner .lunar-eclipse-bottom-section {
    position: absolute;
    bottom: 12%;
    right: 8%;
    left: 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse; /* הופך את הסדר - ימין שם מחבר, שמאל קרא עוד */
}

/* קישור קרא עוד */
.dual-headline-banner .lunar-eclipse-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dual-headline-banner .lunar-eclipse-read-more:hover {
    opacity: 1;
    transform: translateX(-3px);
}

/* טקסט קרא עוד */
.dual-headline-banner .lunar-eclipse-read-more-text {
    font-family: 'Discovery_Fs', 'TalentFS', Arial, sans-serif !important;
    font-style: normal;
    font-size: clamp(12px, 1.2vw, 15px) !important;
    line-height: 1.5 !important;
    color: #FFFFFF !important;
    opacity: 0.9;
    order: 1;
}

/* אייקון החץ */
.dual-headline-banner .lunar-eclipse-read-more-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    transition: transform 0.3s ease;
    top: 3px;
    position: relative;
}

.dual-headline-banner .lunar-eclipse-read-more:hover .lunar-eclipse-read-more-icon {
    transform: translateX(-2px);
}

.dual-headline-banner .lunar-eclipse-read-more-icon svg {
    width: 100%;
    height: 100%;
    transition: fill 0.3s ease;
}

.dual-headline-banner .lunar-eclipse-read-more:hover .lunar-eclipse-read-more-icon svg path {
    fill: #9BB5FF;
}

/* שם המחבר */
.dual-headline-banner .lunar-eclipse-author {
    font-family: 'Discovery_Fs', 'TalentFS', Arial, sans-serif !important;
    font-style: normal;
    font-size: clamp(13px, 1.4vw, 16px) !important;
    line-height: 1.4 !important;
    color: #7183C0 !important;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    text-align: right;
}

/* הסתרת הסגנונות הישנים */
.dual-headline-banner .lunar-eclipse-overlay-content .dual-headline-title:not(.lunar-eclipse-title),
.dual-headline-banner .lunar-eclipse-overlay-content .dual-headline-author:not(.lunar-eclipse-author),
.dual-headline-banner .lunar-eclipse-overlay-content .dual-headline-cta:not(.lunar-eclipse-read-more-text) {
    display: none;
}

/* אפקט כניסה */
.dual-headline-banner .lunar-eclipse-overlay-content {
    animation: slideInFromRight 0.8s ease-out;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* התאמות רספונסיביות */
@media (max-width: 1024px) {
    .dual-headline-banner .lunar-eclipse-overlay-content {
        width: 320px;
        height: 180px;
        right: 30px;
        bottom: 30px;
    }
    
    .dual-headline-banner .lunar-eclipse-title {
        width: 270px;
        height: 100px;
        right: 25px;
        top: 25px;
        font-size: 26px !important;
        line-height: 26px !important;
    }
}

@media (max-width: 768px) {
    .dual-headline-banner .lunar-eclipse-overlay-content {
        width: 280px;
        height: 160px;
        right: 20px;
        bottom: 20px;
    }
    
    .dual-headline-banner .lunar-eclipse-title {
        width: 240px;
        height: 80px;
        right: 20px;
        top: 20px;
        font-size: 24px !important;
        line-height: 24px !important;
    }
    
    .dual-headline-banner .lunar-eclipse-bottom-section {
        bottom: 15px;
        right: 15px;
        left: 15px;
    }
    
    .dual-headline-banner .lunar-eclipse-read-more-text {
        font-size: 14px !important;
    }
    
    .dual-headline-banner .lunar-eclipse-read-more-icon {
        width: 18px;
        height: 18px;
    }
    
    .dual-headline-banner .lunar-eclipse-author {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .dual-headline-banner .lunar-eclipse-overlay-content {
        width: 250px;
        height: 140px;
        right: 15px;
        bottom: 15px;
    }
    
    .dual-headline-banner .lunar-eclipse-title {
        width: 210px;
        height: 70px;
        right: 15px;
        top: 15px;
        font-size: 20px !important;
        line-height: 22px !important;
    }
    
    .dual-headline-banner .lunar-eclipse-bottom-section {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .dual-headline-banner .lunar-eclipse-read-more {
        order: 2;
    }
    
    .dual-headline-banner .lunar-eclipse-author {
        order: 1;
        font-size: 13px !important;
    }
    
    .dual-headline-banner .lunar-eclipse-read-more-text {
        font-size: 13px !important;
    }
}

/* התאמות נגישות */
@media (prefers-reduced-motion: reduce) {
    .dual-headline-banner .lunar-eclipse-overlay-content {
        animation: none;
    }
    
    .dual-headline-banner .lunar-eclipse-read-more,
    .dual-headline-banner .lunar-eclipse-read-more-icon {
        transition: none;
    }
}

/* מצב ניגודיות גבוהה */
@media (prefers-contrast: high) {
    .dual-headline-banner .lunar-eclipse-overlay-content {
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #fff;
    }
    
    .dual-headline-banner .lunar-eclipse-title,
    .dual-headline-banner .lunar-eclipse-read-more-text {
        color: #fff !important;
        text-shadow: none;
    }
    
    .dual-headline-banner .lunar-eclipse-author {
        color: #ccc !important;
    }
}
