/* OJS DEFAULT THEME OVERRIDES*/


/* HOMEPAGE ABOUT SECTION */
.homepage_about {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-top: 4px solid #0056b3;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    margin: 32px 0;
    font-family: inherit;
    box-sizing: border-box;
}

.homepage_about h2 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.homepage_about p:nth-of-type(1) {
    font-size: 15.5px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

.homepage_about p:nth-of-type(2) {
    margin-bottom: 28px;
    text-transform: capitalize;
}

.homepage_about p:nth-of-type(2) a {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
}

.homepage_about p:nth-of-type(2) a:hover {
    color: #003d82;
    text-decoration: underline;
}

.homepage_about p:nth-of-type(3) {
    background: #f8fbff;
    border-left: 4px solid #17a2b8;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.homepage_about p:nth-of-type(3) a {
    color: #0056b3;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-all;
}

.homepage_about p:nth-of-type(3) a:hover {
    color: #003d82;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .homepage_about {
        padding: 20px;
    }
    
    .homepage_about p:nth-of-type(2) a {
        display: block;
        text-align: center;
    }
}

/* Navigation */
.pkp_navigation_primary_wrapper {
    padding-left: 24px;
    padding-right: 24px;
}

.pkp_site_nav_menu {
    background: #fff0;
}
/* Main Section Layout */
.page_contact .contact_section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Address Block - Spans full width like a banner */
.page_contact .address {
    grid-column: 1 / -1;
    background: #f8fbff;
    border-left: 4px solid #0056b3; /* Theme Blue */
    padding: 16px 20px;
    font-size: 15.5px;
    line-height: 1.6;
    color: #333;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Base Card Styling for Contacts */
.page_contact .contact {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    width: auto;
}

.page_contact .contact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Distinguish Primary and Support with Colors */
.page_contact .contact.primary {
    border-top: 4px solid #0056b3; /* Blue for Principal */
}

.page_contact .contact.support {
    border-top: 4px solid #17a2b8; /* Teal for Support */
}

/* Card Headers */
.page_contact .contact h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

/* Personnel Name & Affiliation */
.page_contact .name {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.page_contact .affiliation {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

/* Contact Details (Phone & Email) */
.page_contact .phone,
.page_contact .email {
    font-size: 14.5px;
    color: #444;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Style the "Phone:" label */
.page_contact .phone .label {
    font-weight: 600;
    color: #333;
}

.page_contact .phone .label::after {
    content: ":";
}

/* Link Styling */
.page_contact .email a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    word-break: break-all; /* Prevents long emails from breaking the card */
}

.page_contact .email a:hover {
    color: #003d82;
    text-decoration: underline;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .page_contact .contact_section {
        grid-template-columns: 1fr;
    }
}

/* CUSTOM THEME EDITORIAL*/

/* Editorial Team */
.editorial-team {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    font-family: Arial, sans-serif;
}

.editorial-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.managing-editor .member-list,
.editorial-board .member-list,
.editorial-advisory .member-list,
.team-reviewers .member-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.member-name {
    margin: 6px !important;
    font-size: 18px;
    font-weight: 700;
}

.member-affiliation,
.member-identifier,
.member-country {
    margin: 4px !important;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.country-flag {
    width: 20px;
    height: auto;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
}

/* Link Styling for Identifiers */
.member-identifier a {
    color: #0056b3; /* Nice blue color for links */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.member-identifier a:hover {
    color: #003d82; /* Darker blue on hover */
    text-decoration: underline;
}

@media (max-width: 768px) {
    .pkp_site_nav_menu {
        background: #1e6292;
    }

    .managing-editor,
    .editorial-board .member-list,
    .editorial-advisory .member-list,
    .team-reviewers .member-list {
        grid-template-columns: 1fr;
    }
}


/* CUSTOM THEME: AIMS & SCOPE CARDS */
/* Container and Intro */
.aims-scope-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
}

.aims-intro {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 32px;
}

.aims-intro p {
    margin-bottom: 0;
}

/* Grid Layout */
.scope-grid {
    display: grid;
    /* Responsive grid: creates columns automatically based on screen size */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Card Styling */
.scope-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-top: 4px solid #0056b3; /* Blue theme accent */
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.scope-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-top-color: #003d82; /* Darker blue on hover */
}

/* Icon Styling */
.scope-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #0056b3;
    border-radius: 10px;
    margin-bottom: 16px;
}

.scope-icon svg {
    width: 24px;
    height: 24px;
}

/* Text Styling */
.scope-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0 !important;
    line-height: 1.3;
}

.scope-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #555;
    margin: 0 !important;
}

/* Small adjustments for mobile */
@media (max-width: 600px) {
    .scope-grid {
        grid-template-columns: 1fr;
    }
}


/* CUSTOM THEME: ABOUT THE JOURNAL PAGE */
/* Container */
.about-journal-wrapper {
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Common Card Styles */
.about-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Primary About Card */
.primary-about {
    border-top: 4px solid #0056b3; /* Theme Blue */
    padding: 32px;
}

.about-content p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Metadata Badges */
.about-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: #555;
}

.meta-badge svg {
    width: 16px;
    height: 16px;
    color: #0056b3;
}

/* Alert Card for Old Journal Note */
.alert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #f8fbff; /* Very subtle blue tint */
    border-left: 4px solid #17a2b8; /* Teal info color */
}

.alert-icon {
    flex-shrink: 0;
    color: #17a2b8;
}

.alert-icon svg {
    width: 28px;
    height: 28px;
}

.alert-content p {
    margin: 0 !important;
    font-size: 14.5px;
    line-height: 1.6;
    color: #333;
}

.alert-content a {
    color: #0056b3;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.alert-content a:hover {
    color: #003d82;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .primary-about {
        padding: 20px;
    }
    
    .alert-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* CUSTOM THEME: AUTHOR FEES & EXCLUSION ALERT */
/* Container */
.author-fees-wrapper {
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
}

.intro-text {
    font-size: 16px;
    color: #444;
    margin-bottom: 24px;
}

/* Grid Layout */
.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Card Styling */
.fee-box {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

/* Specific Card Accents */
.free-fee {
    border-top: 4px solid #28a745; /* Success Green for Free */
}

.pub-fee {
    border-top: 4px solid #0056b3; /* Theme Blue for Publication */
}

/* Card Header */
.fee-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.fee-box-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 !important;
}

.fee-box-header svg {
    width: 28px;
    height: 28px;
}

.free-fee .fee-box-header svg {
    color: #28a745;
}

.pub-fee .fee-box-header svg {
    color: #0056b3;
}

/* Price Display */
.fee-price {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.fee-price span {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

/* Card Text */
.fee-box p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 16px 0 !important;
}

/* Exclusion Alert Box */
.fee-exclusion {
    background: #fff5f5; /* Light red background */
    border-left: 4px solid #dc3545; /* Red warning accent */
    padding: 16px;
    border-radius: 4px;
    display: flex;
    gap: 12px;
    margin-top: auto; /* Pushes the alert to the bottom of the card */
}

.exclusion-icon svg {
    width: 20px;
    height: 20px;
    color: #dc3545;
    flex-shrink: 0;
    margin-top: 2px;
}

.exclusion-text p {
    margin: 0 !important;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .fees-grid {
        grid-template-columns: 1fr;
    }
}


/* CUSTOM THEME: STANDARD OPERATIONAL PROCEDURE (SOP) */
/* Container */
.sop-wrapper {
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 32px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
}

.process-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.step-badge {
    background: #0056b3;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.process-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0 !important;
}

.process-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #555;
    margin: 0 !important;
}

.process-card a {
    color: #0056b3;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.process-card a:hover {
    color: #003d82;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}
