.elementor-161 .elementor-element.elementor-element-71baf48{--display:flex;}/* Start custom CSS for html, class: .elementor-element-f4e81d4 *//* ==================================================
   تاجر السعادة - مدونة تحفة فنية
   Blog Page Magic Styling
===================================================== */

/* تأثير ظهور البطاقات عند التمرير */
.post-card {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأخير ظهور كل بطاقة على حدة */
.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }
.post-card:nth-child(5) { animation-delay: 0.5s; }
.post-card:nth-child(6) { animation-delay: 0.6s; }

/* تأثير hover متطور على البطاقات */
.post-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.post-card:hover::before {
    left: 100%;
}

.post-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #F7CAC9, #D4AF37);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.post-card:hover::after {
    transform: scaleX(1);
}

/* توهج ذهبي عند المرور على الصورة */
.post-img {
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), filter 0.4s ease;
}

.post-card:hover .post-img {
    filter: brightness(1.05) saturate(1.1);
}

/* تحسين العناوين */
.post-title {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.post-card:hover .post-title {
    color: #D4AF37;
    transform: translateX(-5px);
}

/* زر اقرأ المزيد */
.read-more {
    position: relative;
    transition: all 0.3s ease;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

/* تنسيق المقال المنفرد */
.single-post-container {
    animation: fadeInScale 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* تحسين صور المقال */
.post-hero img {
    transition: all 0.5s ease;
    cursor: pointer;
}

.post-hero img:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

/* تحسين الاقتباسات */
.post-body blockquote {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.post-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.1);
    font-family: serif;
}

.post-body blockquote:hover {
    transform: translateX(-5px);
    border-right-color: #F7CAC9;
    background: rgba(212, 175, 55, 0.12);
}

/* تحسين القوائم */
.post-body ul li {
    transition: all 0.3s ease;
    list-style-type: none;
    position: relative;
    padding-right: 20px;
}

.post-body ul li::before {
    content: '✦';
    position: absolute;
    right: 0;
    color: #D4AF37;
    font-size: 0.8rem;
}

.post-body ul li:hover {
    transform: translateX(-5px);
    color: #F7CAC9;
}

/* تحسين التعليقات */
.comment {
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid transparent;
}

.comment:hover {
    transform: translateX(-5px);
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.05);
}

.comment-author {
    transition: all 0.3s ease;
}

.comment:hover .comment-author {
    color: #F7CAC9;
}

/* تحسين نموذج التعليق */
.comment-form input,
.comment-form textarea {
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.comment-form button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.comment-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.comment-form button:hover::before {
    left: 100%;
}

/* زر العودة */
.back-to-blog {
    transition: all 0.3s ease;
    padding: 10px 0;
    display: inline-flex;
}

.back-to-blog:hover {
    gap: 12px;
    color: #F7CAC9;
    transform: translateX(-5px);
}

/* تنسيق الهيدر */
.blog-header img {
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.blog-header img:hover {
    transform: scale(1.02) rotate(2deg);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.blog-header h1 {
    animation: titlePulse 3s infinite alternate;
}

@keyframes titlePulse {
    0% { text-shadow: 0 0 0px rgba(212, 175, 55, 0); }
    100% { text-shadow: 0 0 15px rgba(212, 175, 55, 0.5); }
}

/* تأثير الخلفية */
.bg-glow {
    animation: bgSlowDrift 15s infinite alternate;
}

@keyframes bgSlowDrift {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* تحسين التمرير السلس */
html {
    scroll-behavior: smooth;
}

/* تأثير على أيقونات السوشيال ميديا في الفوتر (لو موجودة) */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #D4AF37 !important;
    transform: translateY(-3px);
    display: inline-block;
}/* End custom CSS */