/* ==================================
   RESET & GLOBAL - MODERN APPROACH
================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f8f9fa;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 15px;
}

a {
    color: #8B6F47;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #6B5940;
}

/* ==================================
   MALIYYA JOURNAL HEADER - HORIZONTAL
================================== */
.pkp_site_name {
    background: linear-gradient(135deg, #f5f0e8 0%, #ffffff 100%);
    border-bottom: 3px solid #8B6F47;
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.1);
    padding: 30px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    flex-shrink: 0;
}

.pkp_site_name img {
    max-width: 120px;
    max-height: 120px;
    height: auto;
}

.journal-info {
    flex: 1;
}

.pkp_site_name a {
    color: #8B6F47 !important;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.journal-subtitle {
    font-size: 18px;
    color: #6B5940;
    line-height: 1.6;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 15px;
}

/* ISSN Box - Minimalist Gold/Brown */
.issn-info {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #d4c4b0;
    font-size: 13px;
}

.issn-info a,
.issn-info span {
    color: #6B5940;
    font-weight: 500;
    padding: 5px 14px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #d4c4b0;
    transition: all 0.3s;
}

.issn-info a:hover {
    border-color: #8B6F47;
    color: #8B6F47;
    background: #f5f0e8;
}

.issn-label {
    font-weight: 700;
    color: #8B6F47;
}

/* ==================================
   NAVIGATION - CLEAN HORIZONTAL
================================== */
.pkp_navigation_primary {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.pkp_navigation_primary ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.pkp_navigation_primary > li > a {
    color: #495057 !important;
    font-weight: 500;
    padding: 16px 22px;
    font-size: 14px;
    display: block;
    transition: all 0.3s;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pkp_navigation_primary > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8B6F47;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.pkp_navigation_primary > li > a:hover {
    color: #8B6F47 !important;
}

.pkp_navigation_primary > li > a:hover::after {
    width: 80%;
}

/* ==================================
   DROPDOWN MENU - ELEGANT
================================== */
.pkp_navigation_primary > li {
    position: relative;
}

.pkp_navigation_primary > li > ul,
.pkp_navigation_primary > li > .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
    border-radius: 6px;
    margin-top: 0;
}

.pkp_navigation_primary > li:hover > ul,
.pkp_navigation_primary > li:hover > .dropdown-menu {
    display: block;
}

.pkp_navigation_primary > li > ul > li,
.pkp_navigation_primary > li > .dropdown-menu > li {
    border: none !important;
    background: transparent !important;
}

.pkp_navigation_primary > li > ul > li > a,
.pkp_navigation_primary > li > .dropdown-menu > li > a {
    display: block;
    color: #495057 !important;
    padding: 10px 18px;
    font-weight: 500;
    font-size: 13px !important;
    transition: all 0.3s ease;
    border: none !important;
    background: transparent !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pkp_navigation_primary > li > ul > li:hover,
.pkp_navigation_primary > li > .dropdown-menu > li:hover {
    background: #f8f9fa !important;
}

.pkp_navigation_primary > li > ul > li > a:hover,
.pkp_navigation_primary > li > .dropdown-menu > li > a:hover {
    color: #8B6F47 !important;
    padding-left: 24px;
}

.pkp_navigation_primary > li.has-submenu > a::after {
    content: " ▾";
    font-size: 10px;
    margin-left: 4px;
    color: #6c757d;
}

/* ==================================
   LAYOUT STRUCTURE - MODERN GRID
================================== */
.pkp_structure_page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.pkp_structure_main {
    display: flex;
    gap: 35px;
    margin: 35px 0;
}

/* ==================================
   CONTENT AREA - CLEAN CARDS
================================== */
.pkp_structure_content {
    flex: 1;
    background: #ffffff;
    padding: 35px;
    min-width: 0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.pkp_structure_content h1 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #8B6F47;
    letter-spacing: -0.5px;
}

.pkp_structure_content h2 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin: 28px 0 16px 0;
}

.pkp_structure_content h3 {
    color: #495057;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.pkp_structure_content p {
    margin-bottom: 16px;
    text-align: justify;
    line-height: 1.7;
    color: #495057;
}

/* ==================================
   ARTICLE LIST - ATT STYLE
================================== */
.obj_article_summary {
    border-bottom: 1px solid #e9ecef;
    padding: 28px 0;
    transition: all 0.3s ease;
}

.obj_article_summary:hover {
    background: #f8f9fa;
    padding-left: 20px;
    margin-left: -20px;
    margin-right: -20px;
    padding-right: 20px;
    border-left: 3px solid #8B6F47;
}

.obj_article_summary h3 {
    margin: 0 0 10px 0;
}

.obj_article_summary h3 a {
    color: #2c3e50;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    transition: color 0.3s;
}

.obj_article_summary h3 a:hover {
    color: #8B6F47;
}

.obj_article_summary .authors {
    color: #6c757d;
    font-size: 13px;
    margin: 8px 0;
    font-style: italic;
}

.obj_article_summary .meta {
    color: #868e96;
    font-size: 12px;
    margin: 10px 0;
}

.obj_article_summary .summary {
    color: #495057;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
}

/* Article Stats */
.article-stats {
    display: flex;
    gap: 18px;
    margin-top: 12px;
    font-size: 12px;
    color: #6c757d;
}

.article-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.article-stats .views::before {
    content: "👁";
}

.article-stats .downloads::before {
    content: "⬇";
}

/* DOI Badge */
.doi-link {
    display: inline-block;
    background: #8B6F47;
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    margin-top: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.doi-link:hover {
    background: #6B5940;
    transform: translateY(-1px);
}

/* ==================================
   SIDEBAR - MODERN CARDS
================================== */
.pkp_structure_sidebar {
    width: 300px;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
}

.pkp_structure_sidebar .pkp_block {
    background: #ffffff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.pkp_structure_sidebar .pkp_block:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pkp_structure_sidebar h2,
.pkp_structure_sidebar .pkp_block_heading {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 2px solid #8B6F47;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.pkp_structure_sidebar ul {
    list-style: none;
    padding: 0;
}

.pkp_structure_sidebar li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.pkp_structure_sidebar li:last-child {
    border-bottom: none;
}

.pkp_structure_sidebar a {
    color: #495057;
    font-size: 13px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.pkp_structure_sidebar a:hover {
    color: #8B6F47;
    padding-left: 8px;
}

/* ==================================
   BUTTONS - MODERN STYLE
================================== */
.pkp_button,
button,
input[type="submit"],
.cmp_button {
    background: #8B6F47;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(139, 111, 71, 0.15);
}

.pkp_button:hover,
button:hover,
input[type="submit"]:hover,
.cmp_button:hover {
    background: #6B5940;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 111, 71, 0.25);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8B6F47;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.08);
}

/* ==================================
   ANNOUNCEMENT - SUBTLE
================================== */
.cmp_announcement_summary {
    background: #f5f0e8;
    border-left: 3px solid #8B6F47;
    padding: 20px 24px;
    border-radius: 6px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.cmp_announcement_summary h2 {
    color: #8B6F47;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.cmp_announcement_summary .date {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 10px;
    font-style: italic;
}

/* ==================================
   BREADCRUMB
================================== */
.cmp_breadcrumbs {
    background: #f8f9fa;
    padding: 12px 18px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.cmp_breadcrumbs a {
    color: #8B6F47;
    font-size: 13px;
    font-weight: 500;
}

.cmp_breadcrumbs span {
    color: #adb5bd;
    margin: 0 8px;
}

/* ==================================
   PAGINATION
================================== */
.cmp_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
}

.cmp_pagination a,
.cmp_pagination span {
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.cmp_pagination a:hover {
    background: #8B6F47;
    color: #ffffff;
    border-color: #8B6F47;
}

.cmp_pagination .current {
    background: #8B6F47;
    color: #ffffff;
    border-color: #8B6F47;
}

/* ==================================
   TABLES - CLEAN
================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

table th {
    background: #8B6F47;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
}

table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f8f9fa;
    font-size: 13px;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: #f8f9fa;
}

table a {
    color: #8B6F47;
    font-weight: 500;
}

/* ==================================
   FOOTER - MODERN GRADIENT
================================== */
.pkp_site_footer {
    background: linear-gradient(135deg, #8B6F47 0%, #6B5940 100%);
    color: #ffffff;
    padding: 40px 20px 20px;
    text-align: center;
    margin-top: 60px;
}

.pkp_site_footer h3,
.pkp_site_footer h4 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: 700;
}

.pkp_site_footer a {
    color: #ffffff;
    transition: opacity 0.3s;
}

.pkp_site_footer a:hover {
    opacity: 0.85;
}

.pkp_site_footer p {
    margin: 10px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

/* ==================================
   CUSTOM SIDEBAR WIDGETS
================================== */

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

.menu-sidebar li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.menu-sidebar a {
    color: #495057;
    font-size: 13px;
}

.menu-sidebar a::before {
    content: "▸ ";
    color: #8B6F47;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-sidebar a:hover::before {
    opacity: 1;
}

.current-issue-widget {
    text-align: center;
    padding: 20px;
}

.current-issue-widget img {
    width: 100%;
    max-width: 230px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid #e9ecef;
}

.current-issue-widget img:hover {
    transform: scale(1.03);
}

.btn-view {
    display: inline-block;
    background: #8B6F47;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-view:hover {
    background: #6B5940;
    transform: translateY(-1px);
}

/* Social Media Sidebar */
.social-media-sidebar {
    list-style: none;
    padding: 0;
}

.social-media-sidebar li {
    padding: 10px 0;
}

.social-media-sidebar a {
    display: flex;
    align-items: center;
    color: #495057;
    font-size: 14px;
    gap: 8px;
}

.social-media-sidebar a:hover {
    color: #8B6F47;
}

/* Quick Links */
.quick-links-block ul {
    list-style: none;
    padding: 0;
}

.quick-links-block li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.quick-links-block a {
    color: #495057;
    font-size: 14px;
    transition: all 0.2s ease;
}

.quick-links-block a:hover {
    color: #8B6F47;
    padding-left: 10px;
}

/* Journal Info Table */
.journal-info-block table {
    width: 100%;
    font-size: 13px;
}

.journal-info-block td {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.journal-info-block td:first-child {
    width: 40%;
    font-weight: 600;
    color: #555;
}

/* Stats Block */
.stats-block {
    text-align: center;
}

.stat-item {
    padding: 15px 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #8B6F47;
}

.stat-label {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

/* Indexing Block */
.indexing-block ul {
    list-style: none;
    padding: 0;
}

.indexing-block li {
    padding: 8px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.indexing-block li::before {
    content: "✓";
    color: #8B6F47;
    font-weight: bold;
    margin-right: 8px;
    font-size: 16px;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #8B6F47 0%, #6B5940 100%);
    color: #ffffff;
    padding: 50px 30px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 35px;
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.15);
}

.hero-banner h1 {
    font-size: 32px;
    margin-bottom: 14px;
    font-weight: 700;
}

.hero-banner p {
    font-size: 16px;
    margin-bottom: 28px;
    opacity: 0.95;
}

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

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-primary {
    background: #ffffff;
    color: #8B6F47;
}

.btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

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

.btn-secondary:hover {
    background: #ffffff;
    color: #8B6F47;
}

/* Highlights Section */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.highlight-item {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #8B6F47;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 111, 71, 0.2);
}

.highlight-item h3 {
    color: #8B6F47;
    font-size: 20px;
    margin-bottom: 10px;
}

.highlight-item p {
    color: #666;
    font-size: 14px;
}

/* Announcements */
.announcements {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-left: 5px solid #8B6F47;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.announcement-item {
    padding-left: 0;
    margin-bottom: 20px;
}

.announcement-item h3 {
    color: #8B6F47;
    margin-bottom: 10px;
    font-size: 18px;
}

.announcement-item .date {
    color: #888;
    font-size: 13px;
    font-style: italic;
}

/* ==================================
   USER MENU DROPDOWN
================================== */

.pkp_head_wrapper .pkp_navigation_user,
.pkp_site_header .user-nav,
.pkp_navigation_user_wrapper {
    position: relative;
    display: inline-block;
}

.pkp_head_wrapper .pkp_navigation_user > a,
.user-nav > a,
.pkp_navigation_user_wrapper > a {
    color: #495057 !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pkp_head_wrapper .pkp_navigation_user > a:hover,
.user-nav > a:hover,
.pkp_navigation_user_wrapper > a:hover {
    color: #8B6F47 !important;
    border-color: #8B6F47;
}

.pkp_head_wrapper .pkp_navigation_user > a::after,
.user-nav > a::after,
.pkp_navigation_user_wrapper > a::after {
    content: " ▾";
    font-size: 12px;
    color: #8B6F47;
    margin-left: 4px;
}

.pkp_navigation_user ul,
.user-nav ul,
.pkp_navigation_user_wrapper ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
    z-index: 9999;
    border-radius: 6px;
    margin-top: 6px;
}

.pkp_navigation_user ul li,
.user-nav ul li,
.pkp_navigation_user_wrapper ul li {
    margin: 0;
    padding: 0;
    border: none !important;
    background: transparent !important;
}

.pkp_navigation_user ul li a,
.user-nav ul li a,
.pkp_navigation_user_wrapper ul li a {
    display: block;
    padding: 10px 18px !important;
    color: #495057 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background: transparent !important;
    border: none !important;
}

.pkp_navigation_user ul li:hover,
.user-nav ul li:hover,
.pkp_navigation_user_wrapper ul li:hover {
    background: #f8f9fa !important;
}

.pkp_navigation_user ul li a:hover,
.user-nav ul li a:hover,
.pkp_navigation_user_wrapper ul li a:hover {
    color: #8B6F47 !important;
    padding-left: 24px !important;
}

.pkp_navigation_user ul li a::before,
.