/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 04 2026 | 09:00:37 */
.custom-gridaudio {
    display: flex;
    flex-wrap: wrap; /* يسمح بتقسيم العناصر على صفوف */
    gap: 20px; /* المسافة بين البوستات */
}

.custom-gridaudio .post-item {
       display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 15px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    width: calc(50% - 10px);
    box-sizing: border-box;
    justify-content: center;
}button.listen-btn {
    background-color: #a855f7;
    border-radius: 4px;
}

.custom-gridaudio .post-item .mediaaudio img {
    width: 243px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    max-height: 80px;    min-width: 112px;
}
.custom-gridaudio .post-item a {
    flex: 1;
    text-decoration: none;
    color: #000;
    display: flex;
}

.custom-gridaudio .post-item h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    padding-right: 12px;
}

.custom-gridaudio .post-audio {
    margin-top: 5px;
    display: none;
    display: none;
}

/* Responsive للموبايل: بوست واحد في الصف */
@media screen and (max-width: 768px) {
    .custom-gridaudio .post-item {
        width: 100%; /* عرض كامل للبوست في الموبايل */
    }
}
.custom-gridaudio .post-item {

    direction: ltr;
    text-align: right;
}
.elementor-element.elementor-element-f633615.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded .e-con-inner {
    margin: 0 !important;
    width: 100% !important;
    min-width: 100%;
}
#audio-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#audio-popup .popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

#audio-popup audio {
    width: 100%;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
}
.elementor-element.elementor-element-f633615.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
    margin-top: 0;
}
.elementor-element.elementor-element-5798b4a2.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
    margin-top: 0;
}

.custom-gridaudio .post-item a {

    justify-content: flex-end !important;
}
@media (max-width: 768px) {
    .custom-gridaudio .post-item .mediaaudio img {
        max-width: 100%;
    }

    .custom-gridaudio .post-item {
        justify-content: flex-start !important;
    }

    .custom-gridaudio .post-item h3 {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .custom-gridaudio .post-item .mediaaudio img {
        max-width: 130px;
	}
    .custom-gridaudio .post-item {
        justify-content: flex-start !important;
    }

    .custom-gridaudio .post-item h3 {
        width: 80%;
    }}