/* ===================================
   Modern OJS Header Styles
   =================================== */

/* Reset header defaults */
.modern-header .pkp_structure_head,
.modern_header {
    all: unset;
    display: block;
    width: 100%;
}

/* Top Bar Styles */
.top-bar {
    background: #3d6a8f;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.container-fluid {
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Top Navigation Right */
.top-nav-right {
    display: flex;
    align-items: center;
}

.top-navigation ul {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.top-navigation li {
    margin: 0;
}

.top-navigation a {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 3px;
    transition: background 0.3s;
    font-size: 12px;
}

.top-navigation a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.top-navigation i {
    font-size: 13px;
}

/* Main Header */
.main-header {
    background: #4a7fa0;
    padding: 20px 0;
}

.main-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo .logo-link,
.site-logo .site-title-link {
    display: inline-block;
}

.site-logo img {
    height: 60px;
    width: auto;
    max-width: 300px;
}

.site-title {
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

.site-title-link {
    text-decoration: none;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 600px;
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
}

.search-button {
    background: #ff6600;
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.search-button:hover {
    background: #e65c00;
}

.search-button i {
    font-size: 14px;
}

/* Primary Navigation */
.primary-navigation {
    background: #2c5471;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 15px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.toggle-icon {
    width: 25px;
    height: 3px;
    background: white;
    display: block;
    border-radius: 2px;
}

.primary-menu-wrapper {
    display: block;
}

.primary_menu_list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.primary_menu_list > li {
    margin: 0;
}

.primary_menu_list > li > a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: background 0.3s;
    border-radius: 0;
}

.primary_menu_list > li > a:hover,
.primary_menu_list > li.current > a {
    background: rgba(255, 255, 255, 0.15);
}



/* Screen reader text */

.pkp_screen_reader {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container-fluid {
        padding: 0 20px;
    }

    .main-header-content {
        flex-wrap: wrap;
    }

    .header-search {
        width: 100%;
        max-width: 100%;
        order: 3;
    }

    .top-navigation ul {
        flex-wrap: wrap;
        gap: 3px;
    }

    .top-navigation a {
        padding: 5px 8px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .primary-menu-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2c5471;
        z-index: 1000;
    }

    .primary-menu-wrapper.active {
        display: block;
    }

    .primary_menu_list {
        flex-direction: column;
    }

    .primary_menu_list > li > a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .social-icons {
        gap: 5px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .top-navigation ul {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .site-logo img {
        height: 45px;
    }

    .site-title {
        font-size: 20px;
    }

    .search-input {
        padding: 10px;
        font-size: 13px;
    }

    .search-button {
        padding: 10px 15px;
        font-size: 13px;
    }
}


/* BODY STYLING */
/* ===================================
   COMPLETE MODERN OJS HOMEPAGE REDESIGN
   Based on Design Inspiration
   =================================== */

/* ==================== RESET & BASE ==================== */
.modern-design {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.modern-design * {
    box-sizing: border-box;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Force full width on main container */
.page_index_journal {
    width: 95% !important;
    max-width: 95% !important;
}

.pkp_structure_main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_structure_content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
}

/* ==================== HERO SLIDER ==================== */
.hero-banner {
    background-image: url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(69, 103, 137, 0.35);
    z-index: 11;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 65px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: white;
    margin: 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.3 !important;
    letter-spacing: 2px !important;
}

.about-box {
    background: rgba(0, 0, 0, 0.25);
    padding: 35px;
    border-radius: 8px;
    color: white;
    backdrop-filter: blur(10px);
}

.about-box h2 {
    font-size: 24px;
    margin: 0 0 20px 0;
    font-weight: 700;
    color: white;
}

.about-box p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.btn-learn-more {
    display: inline-block;
    background: #2c4a62;
    color: white !important;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s;
    border: none;
}

.btn-learn-more:hover {
    background: #1e3548;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Slider Right Side */
.slider-right {
    background: white;
    padding: 50px;
    border-radius: 12px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.slide-content {
    text-align: center;
    width: 100%;
}

.slide-content h3 {
    font-size: 28px;
    color: #2c4a62;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.slide-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #e74c3c;
    color: white !important;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #456789 !important;
    border: 2px solid #456789;
}

.btn-secondary:hover {
    background: #456789;
    color: white !important;
}

/* ==================== SOCIAL MEDIA BAR ==================== */
.social-bar {
    background: #34495e;
    padding: 18px 0;
    margin: 0;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

.social-btn {
    padding: 12px 25px;
    text-decoration: none;
    color: white !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.social-btn i {
    font-size: 16px;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn.rss {
    background: #f26522;
}

.social-btn.blog {
    background: #2c5471;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ==================== MAIN CONTENT AREA ==================== */
.main-content-area {
    padding: 50px 0;
    background: #f5f6f8;
    margin: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== LEFT COLUMN BOXES ==================== */
.left-column > div {
    background: white;
    padding: 0;
    margin-bottom: 35px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.left-column h3 {
    background: linear-gradient(135deg, #456789 0%, #567a9b 100%);
    color: white !important;
    padding: 18px 25px;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.left-column h4 {
    color: #2c4a62;
    font-size: 18px;
    margin-bottom: 15px;
}

/* ==================== ABOUT JOURNAL BOX ==================== */
.about-journal-box {
    padding: 0 !important;
}

.about-journal-box > div:not(h3) {
    padding: 25px;
}

.journal-cover {
    text-align: center;
    margin-bottom: 25px;
}

.journal-cover img {
    max-width: 200px;
    width: 100%;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.journal-description {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    padding: 0 25px 25px 25px;
}

/* ==================== QUICK LINKS GRID ==================== */
.quick-links-section {
    padding: 0 !important;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 30px 25px;
}

.quick-link-item {
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    padding: 20px 10px;
    border-radius: 8px;
}

.quick-link-item:hover {
    transform: translateY(-8px);
    background: #f8f9fa;
}

.quick-link-item .icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #5b9dd9 0%, #4a8bc2 100%);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(91, 157, 217, 0.3);
}

.quick-link-item:hover .icon {
    background: linear-gradient(135deg, #4a8bc2 0%, #3d7aa8 100%);
    transform: scale(1.1);
}

.quick-link-item span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #2c4a62;
    line-height: 1.4;
    margin-top: 10px;
}

/* ==================== ANNOUNCEMENTS ==================== */
.announcements {
    padding: 0 !important;
}

.announcements > div {
    padding: 25px;
}

.obj_announcement_summary {
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

.obj_announcement_summary:last-child {
    border-bottom: none;
}

.obj_announcement_summary h3 {
    background: none !important;
    color: #456789 !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    font-size: 16px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.obj_announcement_summary h3 a {
    color: #456789 !important;
    text-decoration: none;
}

.obj_announcement_summary h3 a:hover {
    color: #2c4a62 !important;
    text-decoration: underline;
}

.obj_announcement_summary .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

/* ==================== CURRENT ISSUE ==================== */
.current-issue-section {
    padding: 0 !important;
}

.current-issue-section > div:not(h3) {
    padding: 25px;
}

.issue-info h4 {
    color: #456789;
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-view-archive {
    display: inline-block;
    background: #456789;
    color: white !important;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-view-archive:hover {
    background: #2c4a62;
    transform: translateY(-2px);
}

/* ==================== RIGHT SIDEBAR ==================== */
.right-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.sidebar-box {
    background: white;
    padding: 0;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.sidebar-box h4 {
    background: linear-gradient(135deg, #456789 0%, #567a9b 100%);
    color: white !important;
    padding: 15px 20px;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-box ul li {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-box ul li:last-child {
    border-bottom: none;
}

.sidebar-box ul li a {
    color: #456789;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 12px 20px;
    transition: all 0.3s;
}

.sidebar-box ul li a:hover {
    background: #f8f9fa;
    color: #2c4a62;
    padding-left: 25px;
}

/* Publications Carousel */
.publications-carousel {
    padding: 20px;
    text-align: center;
}

.pub-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

/* Stats Box */
.stats-box > div {
    padding: 20px;
}

.stat-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.stat-value {
    color: #456789;
    font-weight: 700;
    font-size: 16px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-content {
        grid-template-columns: 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .right-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        padding: 30px 0;
    }
    
    .slider-content {
        padding: 0 15px;
    }
    
    .slider-right {
        padding: 30px 20px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-btn {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .about-box {
        padding: 25px;
    }
    
    .about-box h2 {
        font-size: 20px;
    }
    
    .slide-content h3 {
        font-size: 22px;
    }
}