/* 
   ZUJ Professional Modernization CSS
   Target: journals.zu.edu.jo
   Theme: Academic / Modern / Clean
*/

@charset "utf-8";

/* 1. FONTS & CORE TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;600;700&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --zuj-green: #2d5a27;      /* Primary Green from Logo */
    --zuj-gold: #c5a059;       /* Gold/Tan from Logo */
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

* {
    font-family: "Inter", "Alexandria", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

body {
    color: var(--text-main);
    line-height: 1.7;
    background-color: #fff;
}

/* 2. HEADER & BRANDING */




.pkp_structure_head {
    background-color: #ffffff;
    border-bottom: 4px solid var(--zuj-green);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

/* Main header wrapper */
.pkp_head_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Keep logo + title aligned in one row */
.pkp_site_name_wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: nowrap;
}

/* Remove default spacing */
.pkp_site_name {
    margin: 0;
    padding: 0;
}

/* Make the logo/text container horizontal */
.pkp_site_name .is_img {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

/* Logo size */
.pkp_site_name img {
    max-height: 105px !important;
    width: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.pkp_site_name img:hover {
    transform: scale(1.05);
}

/* Put title text to the right of logo */
.pkp_site_name .is_img::after {
    content: "Zarqa Journal for Research and Studies in Humanities\A ISSN 1561-9109 | ISSN 2788-8916 | ISSN(ONLINE) 2788-4732";
    display: block;
    white-space: pre-line;
    font-size: 16px;
    font-weight: 700;
    color: var(--zuj-green);
    line-height: 1.5;
    margin-top: 0;
}

/* RTL: text appears on the other side if needed */
body[dir="rtl"] .pkp_site_name .is_img {
    flex-direction: row;
}

/* Mobile: stack logo and text vertically */
@media (max-width: 768px) {
    .pkp_site_name .is_img {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pkp_site_name .is_img::after {
        margin-top: 10px;
        font-size: 14px;
    }

    .pkp_site_name img {
        max-height: 80px !important;
    }
}




/* Reduce Logo Size */
.pkp_site_name img {
    max-height: 107px !important; /* Reduced from default large size */
    width: auto;
    transition: transform 0.3s ease;
}

.pkp_site_name img:hover {
    transform: scale(1.05);
}

.pkp_site_name_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 3. NAVIGATION */
.pkp_navigation_primary_wrapper {
    background-color: var(--zuj-green);
    padding: 0;
}

.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pkp_navigation_primary > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--zuj-gold) !important;
}

/* User Navigation (Login/Register) */
.pkp_navigation_user_wrapper {
    background: #ffffff00;
    padding: 5px 0;
}

.pkp_navigation_user > li > a {
    color: var(--text-light) !important;
    font-size: 12px;
    font-weight: 600;
}

/* 4. CONTENT & ARTICLE CARDS */
.obj_issue_summary, 
.obj_article_summary {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--zuj-green);
    border-radius: var(--radius);
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.obj_issue_summary:hover, 
.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Article Titles */
.obj_article_summary .title a {
    color: var(--zuj-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.obj_article_summary .title a:hover {
    color: var(--zuj-gold);
}

/* PDF Buttons */
.galleys_links a {
    background-color: var(--zuj-green);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.galleys_links a:hover {
    background-color: var(--zuj-gold);
}

/* 5. SIDEBAR STYLING */
.pkp_block {
    background: #fff;
   
   
    padding: 20px;
    margin-bottom: 25px;
    
}

.pkp_block .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--zuj-green);
    border-bottom: 2px solid var(--zuj-gold);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Make a Submission Button */
.block_make_submission a {
    background: var(--zuj-green) !important;
    color: #fff !important;
    border-radius: var(--radius) !important;
    padding: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

.block_make_submission a:hover {
    background: var(--zuj-gold) !important;
    transform: scale(1.02);
}

/* 6. FOOTER */
.pkp_structure_footer_wrapper {
    background-color: #1e293b;
    color: #f1f5f9;
    padding: 0px 0;
    margin-top: 0px;
    border-top: 5px solid var(--zuj-gold);
}

/* RTL Support */
body[dir="rtl"] .obj_article_summary {
    border-left: 1px solid var(--border-color);
    border-right: 5px solid var(--zuj-green);
}

/* 7. PROFESSIONAL 3-COLUMN FOOTER */
.custom-footer {
   background-color: #1e293b;
    color: #f1f5f9;
    padding: 0px 0 5px;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-column h4 {
    color: var(--zuj-gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #ffffff;
    transform: translateX(-5px); /* Slide left for RTL */
}

body[dir="ltr"] .footer-column ul li a:hover {
    transform: translateX(5px); /* Slide right for LTR */
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column ul li a:hover {
        transform: none;
    }
}


.pkp_page_index .homepage_image img {
    display: block;
    width: 20%;
    height: auto;
    margin: 10px;
}




.has_site_logo .pkp_site_name, .has_site_logo .pkp_navigation_primary_wrapper {
    width: auto;
    border-radius: 15px;
}



@media (min-width: 992px) {
    .pkp_navigation_search_wrapper a {
      
        color: rgb(255 255 255 / 84%);
       
    }
}


.pkp_structure_head {
    background-color: #dcceb1;
    border-bottom: 4px solid var(--zuj-green);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}


.content img {
    max-width: 92%;
    margin: auto !important;
    text-align: center !important;
    display: block;
    margin-bottom: 10px !important;
    max-height: 80px;
    padding-bottom: 5px;
}


}



.pkp_footer_content {
    padding: 0px;
    text-align: left;
}




.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  padding: 12px 0;
  align-items: center;
  justify-items: center;
}
.badge-grid a, .badge-grid span.wf_caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
}
.badge-grid img {
  max-width: 100px;
  width: 100%;
  height: auto;
  display: block;
}
.badge-label {
  font-size: 8pt;
  font-weight: 700;
  color: #000;
  text-align: center;
  display: block;
}



body[dir="rtl"] .pkp_navigation_primary ul {
    text-align: right;
    top: 20px;
}




@media (min-width: 992px) {
    .pkp_site_nav_menu ul ul {
        padding-left: 0;
        top: 20px !important;
        position: relative;
    }
}


@media (min-width: 992px) {
    .pkp_nav_list ul li {
        display: block;
        background: RGBA(239, 227, 200, 1);
    }
}