/**
 * Boxed Layout Styles for InnoScientia Theme
 * Unified container with blog-style large margins
 */

/* ========================================================================
   UNIFIED BOXED LAYOUT - BLOG STYLE
   ======================================================================== */

/* Main page wrapper - transparent to show wave particles */
body {
    background: transparent !important;
    background-attachment: fixed;
}

/* Main structure page - this is the unified container */
.pkp_structure_page {
    max-width: 1200px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding-bottom: 0;
}

/* Remove individual boxed styling from navbar */
.navbar.navbar-default {
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none;
    border-bottom: 1px solid #e8eaf0;
}

/* Custom header - remove individual boxed styling */
.innoscientia-custom-header {
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Main content area - remove individual boxed styling */
.pkp_structure_content {
    margin: 0 !important;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 40px 30px;
}

/* Main content */
.pkp_structure_main {
    background: transparent !important;
    padding-right: 30px;
}

/* Sidebar styling */
.pkp_structure_sidebar {
    background: transparent !important;
    padding-left: 20px;
    padding-right: 5px;
}

.pkp_structure_sidebar .block {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8eaf0;
    transition: all 0.3s ease;
}

.pkp_structure_sidebar .block:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Footer - inside the unified container */
.pkp_structure_footer {
    margin: 0 !important;
    border-radius: 0 0 20px 20px !important;
    box-shadow: none !important;
    border-top: 2px solid #e8eaf0;
    padding: 40px 30px;
}

/* Adjust navbar container */
.navbar .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

/* Adjust custom header container */
.innoscientia-custom-header .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

/* Content container adjustments */
.pkp_structure_content .container {
    max-width: 100%;
    padding: 0;
}

/* Article summaries styling */
.obj_article_summary {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.obj_article_summary:hover {
    border-color: #3a7bd5;
    box-shadow: 0 8px 25px rgba(58, 123, 213, 0.15);
    transform: translateY(-3px);
}

/* Add subtle animation on page load */
.pkp_structure_page {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .pkp_structure_page {
        margin: 30px 40px;
    }
}

@media (max-width: 992px) {
    .pkp_structure_page {
        margin: 20px 30px;
    }

    .pkp_structure_content {
        padding: 30px 20px;
    }

    .pkp_structure_main {
        padding-right: 0;
    }

    .pkp_structure_sidebar {
        padding-left: 0;
        padding-right: 5px;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .pkp_structure_page {
        margin: 15px 20px;
        border-radius: 15px;
    }

    .navbar .container-fluid,
    .innoscientia-custom-header .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pkp_structure_content {
        padding: 25px 15px;
    }

    .pkp_structure_footer {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .pkp_structure_page {
        margin: 10px;
        border-radius: 12px;
    }

    .navbar .container-fluid,
    .innoscientia-custom-header .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .pkp_structure_content {
        padding: 20px 10px;
    }
}

/* Additional polish */
.page_index_journal {
    background: transparent;
}

/* Current issue section */
.current_issue {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e8eaf0;
}

/* Homepage about section */
.homepage_about {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e8eaf0;
}

/* Announcements */
.cmp_announcements {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e8eaf0;
}