
/* Metodist.net UI Fix v13 - ABSOLUTE FINAL LINE KILLER */

/* 1. Kill ALL borders on EVERY structural element */
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_footer_wrapper,
.pkp_structure_footer,
.pkp_structure_wrapper {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 2. Kill ALL background images and patterns (The background line root) */
.pkp_structure_page,
.pkp_structure_content,
body {
    background-image: none !important;
    background: #f1f5f9 !important; /* Uniform background color */
}

/* 3. Kill ALL pseudo-element lines (The hidden lines) */
.pkp_structure_page::before,
.pkp_structure_page::after,
.pkp_structure_content::before,
.pkp_structure_content::after,
.pkp_structure_main::before,
.pkp_structure_main::after,
.pkp_structure_sidebar::before,
.pkp_structure_sidebar::after,
.pkp_navigation_user_wrapper::before,
.pkp_navigation_user_wrapper::after {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    background: none !important;
}

/* 4. Kill specific 1px helper elements if any */
div[style*="width: 1px"], 
div[style*="width:1px"],
span[style*="width: 1px"] {
    display: none !important;
}

/* 5. RESTORE PREMIUM CARDS (Shadows only, no borders) */
.pkp_structure_main {
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08) !important;
    padding: 40px !important;
    margin-bottom: 40px !important;
}

.pkp_block {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
}

/* 6. Fix Sidebar Separator (Targeting flex gap instead of borders) */
@media (min-width: 992px) {
    .pkp_structure_content {
        display: flex !important;
        gap: 30px !important;
        max-width: 1280px !important;
        margin: 40px auto !important;
        padding: 0 20px !important;
    }
}

/* 7. Sidebar Headings Translation & Style */
.pkp_block h2 {
    border-bottom: 3px solid #3b82f6 !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.pkp_block.block_browse h2 { font-size: 0 !important; }
.pkp_block.block_browse h2::before { content: "KO'RIB CHIQISH" !important; font-size: 15px !important; visibility: visible !important; }

.pkp_block.block_information h2 { font-size: 0 !important; }
.pkp_block.block_information h2::before { content: "MA'LUMOTLAR" !important; font-size: 15px !important; visibility: visible !important; }

.pkp_block.block_make_submission h2 { font-size: 0 !important; }
.pkp_block.block_make_submission h2::before { content: "MAQOLA YUBORISH" !important; font-size: 15px !important; visibility: visible !important; }

/* 8. Hide redundant OJS elements */
.block_language { display: none !important; }
