 /* =========================================
   MEDIA DETAILS PAGE
========================================= */

.media-details-section {
    direction: rtl;
}

.media-details-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
}

/* Header */

.media-header {
    text-align: center;
    margin-bottom: 35px;
}

.media-type-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 18px;
    border-radius: 30px;
    background: #f7941d;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
}

.media-header h1 {
    margin: 0 0 15px;
    font-size: 34px;
    line-height: 1.6;
}

.media-abstract {
    font-size: 20px;
    line-height: 1.8;
}

/* Audio */

.media-player {
    margin-bottom: 35px;
}

.audio-player {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.audio-player audio {
    width: 100%;
    display: block;
}

/* Video */

.video-player {
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
}

.video-player video {
    display: block;
    width: 100%;
    max-height: 600px;
}

/* Image */

.media-image-wrapper {
    margin-bottom: 35px;
    text-align: center;
}

.media-main-image {
    max-width: 70%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

/* Description */

.media-description {
    padding-top: 30px;
    border-top: 1px solid #eeeeee;
    color: #555555;
    font-size: 18px;
    line-height: 2;
    text-align: right;
}

/* Document Actions */

.document-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.document-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 16px 25px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.document-action-btn:hover {
    transform: translateY(-4px);
}

.view-btn {
    background: #f7941d;
    color: #ffffff !important;
}

.download-btn {
    background: #333333;
    color: #ffffff !important;
}

.external-btn {
    background: #eeeeee;
    color: #333333 !important;
}

.document-icon {
    margin-left: 10px;
    font-size: 20px;
}

/* Mobile */

@media (max-width: 767px) {

    .media-details-wrapper {
        padding: 25px 15px;
        border-radius: 8px;
    }

    .media-header h1 {
        font-size: 26px;
    }

    .media-abstract {
        font-size: 17px;
    }

    .media-description {
        font-size: 16px;
    }

    .document-action-btn {
        width: 100%;
    }

}