/* Medya Page - Flexible Height for Text */
.pbmit-title-bar-wrapper.medya-page {
    min-height: 320px !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.pbmit-title-bar-wrapper.medya-page .pbmit-title-bar-content {
    min-height: 320px !important;
    height: auto !important;
    padding-bottom: 0 !important;
}

.medya-page .section-md {
    padding-top: 30px !important;
    padding-bottom: 60px;
    margin-top: 0 !important;
}

/* Center align title bar content */
.medya-page .pbmit-title-bar-content-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 320px;
    padding: 30px 0;
}

/* Modern Accordion Styling */
.modern-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.accordion-header {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.accordion-item.active .accordion-header {
    background: #f8f9fa;
    border-left-color: #2c3e50;
}

.accordion-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.accordion-title-wrapper i {
    font-size: 24px;
    color: #2c3e50;
}

.accordion-title-wrapper h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.accordion-icon {
    font-size: 20px;
    color: #7f8c8d;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: #2c3e50;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.document-list {
    padding: 20px 30px 20px 30px;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.document-item:hover {
    background: #ffffff;
    border-left-color: #2c3e50;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-info i {
    font-size: 20px;
    color: #2c3e50;
}

.doc-name {
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
}

.doc-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.doc-size {
    font-size: 13px;
    color: #95a5a6;
    font-weight: 500;
}

.doc-btn {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.doc-btn i {
    font-size: 14px;
}

.doc-btn:hover {
    background: linear-gradient(135deg, #1a252f, #2c3e50);
    transform: scale(1.05);
}

/* Section Title */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .accordion-header {
        padding: 18px 20px;
    }

    .accordion-title-wrapper h3 {
        font-size: 18px;
    }

    .document-list {
        padding: 0 20px 15px 20px;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .doc-actions {
        width: 100%;
        justify-content: space-between;
    }
}