/**
 * Custom OJS Stylesheet
 * Palette: Dark Blue to Light Blue
 */

:root {
  --color-1: #0f3957; /* Darkest */
  --color-2: #1f72ad; /* Primary Medium Dark */
  --color-3: #52a5e0; /* Secondary Medium Light */
  --color-4: #a8d2f0; /* Lightest */
  --color-5: #ffffff; /* White */
}

/* =======================================
   Main Body Background
   ======================================= */
body, 
.pkp_structure_page {
  background-color: #EFF6FB;
}

/* =======================================
   Typography & Links
   ======================================= */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-1);
}

a {
  color: var(--color-2);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover, 
a:focus {
  color: var(--color-1);
}

/* =======================================
   Header & Navigation (Full Width & Premium)
   ======================================= */

/* Break the header out of the boxed page container to span 100% of the screen */
.pkp_structure_head {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background-color: #1f5f8b; /* Adjusts top header background to match image */
    border-top: 4px solid #071f30;
}

/* Keep the inner content (logo, title, nav links) aligned with the rest of the site */
.pkp_head_wrapper {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 15px;
}

/* Premium Gradient, Shadow, and Edge Thickness for the Dark Blue Line */
/* Break the navigation row out of the 1200px wrapper to span 100% of the screen */
.pkp_navigation_primary_row {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: linear-gradient(90deg, #071f30 0%, #0f3957 15%, #0f3957 85%, #071f30 100%) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    border-bottom: 2px solid #051622;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Re-center the navigation links inside the newly stretched bar */
.pkp_navigation_primary_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    background-color: transparent !important;
}

.pkp_navigation_primary > li > a {
  color: #ffffff;
  font-weight: 600;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li:focus > a {
  background-color: rgba(255, 255, 255, 0.1); /* Softer hover on premium nav */
  color: #ffffff;
}

/* Dropdown Menus */
.pkp_navigation_primary ul {
  background-color: var(--color-1);
  border: 1px solid #071f30;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pkp_navigation_primary ul li a {
  color: #ffffff;
}

.pkp_navigation_primary ul li a:hover,
.pkp_navigation_primary ul li a:focus {
  background-color: var(--color-2);
  color: #ffffff;
}

/* =======================================
   Journal Title & ISSN (Enlarged)
   ======================================= */
.pkp_site_name .is_text {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pkp_site_name .is_text::after {
    content: "e-ISSN: 3136-2575";
    display: block;
    font-size: 1.2rem; /* Scaled up proportionately */
    font-weight: 400;
    color: var(--color-5);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* =======================================
   Buttons
   ======================================= */
.pkp_button, 
.cmp_button, 
button, 
input[type="button"], 
input[type="submit"] {
  background-color: var(--color-2);
  color: #ffffff;
  border: 1px solid var(--color-1);
  border-radius: 4px;
  transition: background-color 0.2s;
}

.pkp_button:hover, 
.cmp_button:hover, 
button:hover, 
input[type="button"]:hover, 
input[type="submit"]:hover {
  background-color: var(--color-1);
  color: #ffffff;
  border-color: var(--color-1);
}

/* =======================================
   Sidebar Blocks
   ======================================= */
.pkp_block .title {
  background-color: var(--color-4);
  color: var(--color-1);
  padding: 10px 15px;
  border-radius: 3px 3px 0 0;
  font-weight: bold;
}

.pkp_block {
  border: 1px solid var(--color-4);
  border-radius: 4px;
  margin-bottom: 20px;
}

/* =======================================
   Footer (OUP-Style Custom Layout)
   ======================================= */
/* Break footer out to full width to match the new header */
.pkp_structure_footer_wrapper {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background-color: var(--color-1);
}

.pkp_structure_footer {
    padding: 0 !important;
    margin-top: 40px;
    background-color: transparent;
}

.oup-style-footer {
    color: #ffffff;
    padding: 60px 20px 20px;
    font-family: "Noto Sans", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

/* CSS Grid for responsive columns */
.oup-style-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-bottom: 1px solid var(--color-2);
    padding-bottom: 40px;
}

.oup-style-footer h4 {
    color: var(--color-4) !important;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oup-style-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oup-style-footer ul li {
    margin-bottom: 12px;
}

.oup-style-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.oup-style-footer a:hover {
    color: var(--color-3);
    text-decoration: underline;
}

.oup-style-footer .brand-col p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #dcf0ff;
    margin-bottom: 15px;
}

.oup-style-footer .socials a {
    font-weight: bold;
    color: var(--color-4);
}

/* Bottom copyright and legal bar */
.oup-style-footer .footer-bottom {
    margin: 20px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-4);
}

.oup-style-footer .footer-bottom a {
    color: var(--color-4);
}

@media (max-width: 768px) {
    .oup-style-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* =========================================================
   OJS 3.5 — REMOVE CONTENT / SIDEBAR DIVIDERS
   ========================================================= */
.pkp_structure_content,
.pkp_structure_content.has_sidebar {
    border: none !important;
    box-shadow: none !important;
}

.pkp_structure_content .pkp_structure_main {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
}

.pkp_structure_content .pkp_structure_sidebar,
.pkp_structure_content .pkp_structure_sidebar.left {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
}

.pkp_structure_content .pkp_structure_main::before,
.pkp_structure_content .pkp_structure_main::after,
.pkp_structure_content .pkp_structure_sidebar::before,
.pkp_structure_content .pkp_structure_sidebar::after {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.pkp_structure_content .row,
.pkp_structure_content [class*="col-"] {
    border-left: none !important;
    border-right: none !important;
}

.pkp_structure_content hr {
    border: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
}

.obj_issue_toc,
.obj_issue_toc .heading,
.obj_issue_toc .sections,
.obj_issue_toc .section {
    border: none !important;
}

.obj_article_details,
.obj_article_details .main_entry,
.obj_article_details .entry_details,
.obj_article_details .page_title,
.obj_article_details .row,
.obj_article_details .item {
    border: none !important;
    box-shadow: none !important;
}

.pkp_structure_content .cmp_breadcrumbs,
.pkp_structure_content .obj_article_summary,
.pkp_structure_content .obj_issue_summary,
.pkp_structure_content .galleys,
.pkp_structure_content .authors {
    border-left: none !important;
    border-right: none !important;
}

.pkp_structure_content .pkp_structure_main,
.pkp_structure_content .pkp_structure_sidebar {
    background-image: none !important;
}

/* =======================================
   Add ISSN into Article Landing Pages
   ======================================= */
.obj_article_details .page_title::after {
    content: "e-ISSN: 3136-2575";
    display: block;
    font-size: 1.1rem;
    color: var(--color-2);
    margin-top: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-4);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* =======================================
   Premium Sidebar Submission Button
   ======================================= */
.premium-submit-btn {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, var(--color-1) 0%, var(--color-2) 100%);
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid #051622;
    margin-bottom: 15px;
}

.premium-submit-btn:hover {
    background: linear-gradient(90deg, var(--color-2) 0%, var(--color-1) 100%);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

/* =======================================
   Text-Based Indexing Link
   ======================================= */
.indexing-text-link {
    text-align: center;
    padding: 10px 0;
}

.indexing-text-link a {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-2);
    text-decoration: none;
    border-bottom: 2px solid var(--color-2);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.indexing-text-link a:hover {
    color: var(--color-1);
    border-color: var(--color-1);
}