/* =========================================================
   ALBUCHUTS JOURNAL - CUSTOM OJS 3 STYLESHEET v43
   Universitas Sebelas Maret
   ========================================================= */

/* ---------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------- */
:root {
    --al-primary: #246895;
    --al-primary-dark: #174d70;
    --al-primary-deep: #103d5b;
    --al-accent: #ffda55;
    --al-bg: #ffffff;
    --al-bg-soft: #f6f8fa;
    --al-text: #20252a;
    --al-muted: #66717c;
    --al-border: #e2e7eb;
    --al-radius: 6px;
}

/* ---------------------------------------------------------
   2. GLOBAL TYPOGRAPHY
   --------------------------------------------------------- */
body {
    color: var(--al-text);
    background: #ffffff;
    font-size: 15.5px;
    line-height: 1.65;
}

a {
    color: var(--al-primary);
}

a:hover,
a:focus {
    color: var(--al-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--al-text);
    line-height: 1.3;
}

/* ---------------------------------------------------------
   3. PAGE WIDTH / NATIVE OJS LAYOUT
   --------------------------------------------------------- */
/*
 * Keep the OJS Default Theme's native page, main-column, and sidebar widths.
 * Do not force widths, grid, flex, or floats here.
 */
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_sidebar {
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   4. HEADER BANNER
   --------------------------------------------------------- */

/* Main header shell */
.pkp_structure_head {
    background: #ffffff;
    border-bottom: 0;
}

/* Banner image sits only in the journal identity area,
   so the navigation bar no longer covers the artwork */
.pkp_site_name_wrapper {
    min-height: 165px;
    background-image: url("https://journal.uns.ac.id/index.php/albuchuts/libraryFiles/downloadPublic/40");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Hide the old small journal logo.
   We temporarily avoid a full-size clickable overlay because it can
   interfere with OJS' header stacking/positioning in this theme. */
.pkp_site_name .is_img {
    display: none;
}

.pkp_site_name {
    margin: 0;
}

/* Remove blue gutters around the banner image */
.pkp_head_wrapper {
    background: #ffffff;
}

/* User/account bar sits on white rather than a blue strip */
.pkp_navigation_user_wrapper {
    background: #ffffff;
}

.pkp_navigation_user > li > a {
    color: var(--al-primary-dark);
    text-shadow: none;
}

.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
    color: var(--al-primary);
}


/* Keep OJS' native user-navigation placement */
.pkp_navigation_user_wrapper {
    background: transparent;
}

.pkp_navigation_user > li > a {
    color: var(--al-primary-dark);
    text-shadow: none;
}

.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
    color: var(--al-primary);
}

/* ---------------------------------------------------------
   5. NAVIGATION
   --------------------------------------------------------- */
.pkp_navigation_primary_wrapper {
    background: #1FABE1;
    border-top: 0;
}

.pkp_navigation_primary > li > a,
.pkp_search .search_prompt {
    color: #ffffff;
    text-shadow: none;
}

.pkp_navigation_primary > li > a {
    font-weight: 500;
}

/* ---------------------------------------------------------
   PRIMARY MENU LEFT INSET
   OJS versions/themes use slightly different markup.
   These selectors target the actual navigation list rather
   than relying on only one class selector.
   --------------------------------------------------------- */
#navigationPrimary,
.pkp_navigation_primary_wrapper .pkp_navigation_primary,
.pkp_navigation_primary_wrapper .pkp_nav_list:first-of-type {
    margin-left: 36px !important;
    padding-left: 0 !important;
}

/* Fallback for OJS markup where the list is a direct child */
.pkp_navigation_primary_wrapper > ul {
    margin-left: 36px !important;
}

/* Keep the first item itself from cancelling the inset */
#navigationPrimary > li:first-child,
.pkp_navigation_primary > li:first-child {
    margin-left: 0 !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_search .search_prompt:hover,
.pkp_search .search_prompt:focus {
    color: var(--al-accent);
}

.pkp_navigation_primary .dropdown-menu {
    border: 1px solid var(--al-border);
    border-radius: var(--al-radius);
    box-shadow: 0 8px 22px rgba(0,0,0,.10);
}

.pkp_navigation_primary .dropdown-menu a {
    color: var(--al-text);
}

.pkp_navigation_primary .dropdown-menu a:hover,
.pkp_navigation_primary .dropdown-menu a:focus {
    color: var(--al-primary);
    background: var(--al-bg-soft);
}

/* ---------------------------------------------------------
   6. MAIN / SIDEBAR LAYOUT - USE OJS NATIVE STRUCTURE
   --------------------------------------------------------- */
/*
 * OJS decides whether the page is one-column or two-column.
 * We only add spacing here, never structural widths.
 */
.pkp_structure_main {
    padding-top: 30px;
    padding-bottom: 45px;
}

.pkp_structure_sidebar {
    padding-top: 30px;
    padding-bottom: 45px;
}

/* Keep content inside the native OJS column borders */
.pkp_structure_main > * {
    max-width: 100%;
}

.obj_issue_toc,
.pkp_page_index .additional_content,
.pkp_page_index .current_issue {
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   7. HOMEPAGE
   --------------------------------------------------------- */
.pkp_page_index .additional_content,
.pkp_page_index .current_issue,
.cmp_announcements {
    margin-top: 28px;
}

.pkp_page_index .additional_content h2,
.pkp_page_index .current_issue h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.pkp_page_index .additional_content p {
    line-height: 1.75;
    margin-bottom: 1em;
}

/* ---------------------------------------------------------
   8. CURRENT ISSUE
   --------------------------------------------------------- */
.pkp_page_index .current_issue {
    border-top: 1px solid var(--al-border);
    padding-top: 28px;
}

.pkp_page_index .current_issue .current_issue_title {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 18px;
}

.pkp_page_index .current_issue .cover {
    margin-right: 28px;
}

.pkp_page_index .current_issue .cover img {
    width: 220px;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--al-border);
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* ---------------------------------------------------------
   9. ARTICLE LIST
   --------------------------------------------------------- */
.obj_issue_toc .section {
    margin-top: 28px;
}

.obj_issue_toc .section h2,
.obj_issue_toc .section h3 {
    color: var(--al-muted);
    font-weight: 500;
}

.obj_article_summary {
    padding: 20px 0 22px;
    border-bottom: 1px solid var(--al-border);
}

.obj_article_summary:last-child {
    border-bottom: 0;
}

.obj_article_summary .title {
    margin-bottom: 7px;
}

.obj_article_summary .title a {
    color: var(--al-primary);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.obj_article_summary .title a:hover,
.obj_article_summary .title a:focus {
    color: var(--al-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.obj_article_summary .authors {
    color: var(--al-text);
    margin-bottom: 10px;
}

.obj_article_summary .pages {
    color: var(--al-muted);
    font-size: .9rem;
}

/* PDF / galley buttons */
.obj_article_summary .galleys_links a,
.obj_article_summary .galley-link,
.obj_galley_link {
    display: inline-block;
    color: var(--al-primary);
    background: #ffffff;
    border: 1px solid var(--al-primary);
    border-radius: 4px;
    padding: 5px 11px;
    text-decoration: none;
    transition: background .15s ease-in-out, color .15s ease-in-out, border-color .15s ease-in-out;
}

.obj_article_summary .galleys_links a:hover,
.obj_article_summary .galleys_links a:focus,
.obj_article_summary .galley-link:hover,
.obj_article_summary .galley-link:focus,
.obj_galley_link:hover,
.obj_galley_link:focus {
    color: #ffffff;
    background: var(--al-primary);
    border-color: var(--al-primary);
}

.pkp_page_index .current_issue .read_more {
    font-weight: 600;
}

/* ---------------------------------------------------------
   10. ARTICLE DETAIL
   --------------------------------------------------------- */
.obj_article_details .page_title {
    line-height: 1.35;
    margin-bottom: 18px;
}

.obj_article_details .authors {
    margin-bottom: 18px;
}

.obj_article_details .item {
    margin-bottom: 28px;
}

/* Abstract always justified */
.obj_article_details .abstract,
.obj_article_details .abstract p {
    text-align: justify !important;
    line-height: 1.75;
}

/* Also cover themes/templates that wrap abstract text differently */
.obj_article_details .abstract .value,
.obj_article_details .abstract .value p {
    text-align: justify !important;
}

.obj_article_details .keywords,
.obj_article_details .references {
    line-height: 1.7;
}

.obj_article_details .references p {
    margin-bottom: .85em;
}

/* ---------------------------------------------------------
   11. SIDEBAR — COMPACT, INSET BLUE/YELLOW LABELS
   Only changes the sidebar; OJS handles overall column widths.
   --------------------------------------------------------- */
.pkp_structure_sidebar {
    box-sizing: border-box;
    padding-left: 18px;
    padding-right: 18px;
}

.pkp_structure_sidebar .pkp_block {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 18px;
    padding: 0 5px 5px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* Uniform headers for INFORMATION, ISSN, INDEXING,
   LATEST PUBLICATIONS, LANGUAGE, and other active blocks. */
.pkp_structure_sidebar .pkp_block .title,
.pkp_structure_sidebar .pkp_block h2.title,
.pkp_structure_sidebar .pkp_block h3.title {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 0 0 10px;
    padding: 9px 10px;
    background: #1FABE1;
    color: #FFDB07;
    border: 0;
    border-radius: 13px;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.2px;
    overflow-wrap: anywhere;
}

.pkp_structure_sidebar .pkp_block .title a {
    color: #FFDB07;
    text-decoration: none;
}
.pkp_structure_sidebar .pkp_block .title a:hover,
.pkp_structure_sidebar .pkp_block .title a:focus {
    color: #FFFFFF;
}

.pkp_structure_sidebar .pkp_block .content {
    box-sizing: border-box;
    padding: 2px 8px 5px;
    font-size: 14px;
    line-height: 1.55;
}
.pkp_structure_sidebar .pkp_block ul {
    margin: 0;
    padding-left: 15px;
}
.pkp_structure_sidebar .pkp_block li {
    margin-bottom: 8px;
}
.pkp_structure_sidebar .pkp_block .content a {
    overflow-wrap: anywhere;
}
.pkp_structure_sidebar img {
    max-width: 100%;
    height: auto;
}

/* Optional fully clickable headings in a custom OJS block. */
.pkp_structure_sidebar .albuchuts-sidebar-links {
    display: grid;
    gap: 10px;
}
.pkp_structure_sidebar .albuchuts-sidebar-links a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 13px;
    background: #1FABE1;
    color: #FFDB07;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}
.pkp_structure_sidebar .albuchuts-sidebar-links a:hover,
.pkp_structure_sidebar .albuchuts-sidebar-links a:focus {
    background: #168DBB;
    color: #FFFFFF;
}

.block_make_submission a,
.pkp_structure_sidebar .block_make_submission a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    text-align: center;
    color: #ffffff;
    background: var(--al-primary);
    font-weight: 700;
    text-decoration: none;
}
.block_make_submission a:hover,
.block_make_submission a:focus,
.pkp_structure_sidebar .block_make_submission a:hover,
.pkp_structure_sidebar .block_make_submission a:focus {
    color: #ffffff;
    background: var(--al-primary-dark);
}

/* ---------------------------------------------------------
   12. FORMS & BUTTONS
   --------------------------------------------------------- */
button,
input[type="submit"],
input[type="button"],
.cmp_button,
.pkp_button {
    border-radius: 4px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    border-radius: 4px;
    border-color: #cfd6dc;
}

/* ---------------------------------------------------------
   13. ARCHIVES
   --------------------------------------------------------- */
.obj_issue_summary {
    padding: 18px 0;
    border-bottom: 1px solid var(--al-border);
}

.obj_issue_summary .title {
    font-weight: 700;
}

/* ---------------------------------------------------------
   14. FOOTER — MATCH THE ALBUCHUTS NAVIGATION BAR
   --------------------------------------------------------- */
.pkp_structure_footer_wrapper {
    background: #1FABE1;
    border-top: 4px solid #FFDB07;
}

.pkp_structure_footer {
    background: transparent;
    color: #ffffff;
}

.pkp_structure_footer a {
    color: #ffffff;
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus {
    color: #103d5b;
}

/* Default PKP/OJS branding is black; display it in white on blue. */
.pkp_brand_footer {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* ---------------------------------------------------------
   15. ACCESSIBILITY
   --------------------------------------------------------- */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--al-accent);
    outline-offset: 2px;
}

/* ---------------------------------------------------------
   16. TABLET / MOBILE
   --------------------------------------------------------- */
@media (max-width: 991px) {
    .pkp_site_name_wrapper {
        min-height: 145px;
    }

    .pkp_page_index .current_issue .cover img {
        width: 190px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    /* Mobile header: preserve the full 1920 × 300 banner without cropping */
    .pkp_site_name_wrapper {
        box-sizing: border-box;
        width: 100%;
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 1920 / 300;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #ffffff;
    }

    .pkp_structure_main {
        padding-top: 20px;
    }

    .pkp_structure_sidebar {
        padding-top: 0;
        padding-bottom: 30px;
    }

    .pkp_page_index .current_issue .cover {
        float: none;
        margin: 0 0 18px 0;
    }

    .pkp_page_index .current_issue .cover img {
        width: 170px;
    }

    .obj_article_summary {
        padding: 17px 0 19px;
    }

    .obj_article_summary .pages {
        display: block;
        margin-top: 6px;
    }

    .pkp_structure_sidebar {
        padding-left: 15px;
        padding-right: 15px;
    }

    .pkp_structure_sidebar .pkp_block .title,
    .pkp_structure_sidebar .albuchuts-sidebar-links a {
        font-size: 13px;
        min-height: 38px;
    }
}


/* ---------------------------------------------------------
   17. EXISTING ALBUCHUTS FOOTER CONTENT
   Preserves existing Page Footer HTML, including Quick Links.
   Does not apply the abandoned two-column redesign or move
   the OJS/PKP branding. Header, menu, and sidebar unchanged.
   --------------------------------------------------------- */
.albuchuts-footer {
    box-sizing: border-box;
    padding: 24px 10px;
    line-height: 1.55;
}

.albuchuts-footer img {
    max-width: 100%;
    height: auto;
}

.albuchuts-footer a {
    color: #ffffff;
    text-decoration: none;
}

.albuchuts-footer a:hover,
.albuchuts-footer a:focus {
    color: #FFDB07;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .albuchuts-footer {
        padding: 20px 10px;
        gap: 20px !important;
    }
}

/* ---------------------------------------------------------
   18. COMPACT JOURNAL MENU - CLEAN HTML REQUIRED (v21)
   In Custom Block, use direct <a> children within the container:
   <div class="albuchuts-sidebar-menu"><a ...>...</a>...</div>
   Do not wrap each link in <p> or add blank paragraphs/<br>.
   --------------------------------------------------------- */
.pkp_structure_sidebar .pkp_block:has(.albuchuts-sidebar-menu) {
    margin-bottom: 8px;
}

.pkp_structure_sidebar .pkp_block:has(.albuchuts-sidebar-menu) .content {
    padding: 0 !important;
}

.pkp_structure_sidebar .albuchuts-sidebar-menu {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 40px;
    gap: 0 !important;
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 13px;
    overflow: hidden;
    background: #1FABE1;
}

.pkp_structure_sidebar .albuchuts-sidebar-menu > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px !important;
    min-height: 0 !important;
    max-height: 40px !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 8px !important;
    border: none !important;
    border-bottom: 1px solid #ffffff !important;
    border-radius: 0 !important;
    background: #1FABE1 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
}

.pkp_structure_sidebar .albuchuts-sidebar-menu > a:last-child {
    border-bottom: 0 !important;
}

.pkp_structure_sidebar .albuchuts-sidebar-menu > a:hover,
.pkp_structure_sidebar .albuchuts-sidebar-menu > a:focus {
    background: #168DBB !important;
    color: #FFDB07 !important;
}

/* Tolerate an occasional extra blank paragraph created by the editor,
   but use the clean HTML shown in the instructions for reliable sizing. */
.pkp_structure_sidebar .albuchuts-sidebar-menu > p,
.pkp_structure_sidebar .albuchuts-sidebar-menu > br {
    display: none !important;
}

@media (max-width: 767px) {
    .pkp_structure_sidebar .albuchuts-sidebar-menu {
        grid-auto-rows: 38px;
    }
    .pkp_structure_sidebar .albuchuts-sidebar-menu > a {
        height: 38px !important;
        max-height: 38px !important;
        font-size: 12px !important;
    }
}

/* ---------------------------------------------------------
   19. LANGUAGE SWITCHER BESIDE SEARCH (v23)
   Circular glossy flags and tighter spacing. The functional
   OJS language links and responsive navigation remain intact.
   --------------------------------------------------------- */
@media (min-width: 992px) {
    .pkp_navigation_primary_wrapper {
        position: relative;
    }

    #navigationPrimary,
    .pkp_navigation_primary {
        position: static;
    }

    #navigationPrimary > li:has(> a[href*="setLocale/en"]),
    .pkp_navigation_primary > li:has(> a[href*="setLocale/en"]),
    #navigationPrimary > li:has(> a[href*="setLocale/id"]),
    .pkp_navigation_primary > li:has(> a[href*="setLocale/id"]) {
        position: absolute;
        top: 0;
        z-index: 3;
        width: auto;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }

    /* 12px less separation than v22, without moving Search. */
    #navigationPrimary > li:has(> a[href*="setLocale/en"]),
    .pkp_navigation_primary > li:has(> a[href*="setLocale/en"]) {
        right: 177px;
    }

    #navigationPrimary > li:has(> a[href*="setLocale/id"]),
    .pkp_navigation_primary > li:has(> a[href*="setLocale/id"]) {
        right: 117px;
    }

    #navigationPrimary > li > a[href*="setLocale/en"],
    .pkp_navigation_primary > li > a[href*="setLocale/en"],
    #navigationPrimary > li > a[href*="setLocale/id"],
    .pkp_navigation_primary > li > a[href*="setLocale/id"] {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
        height: 44px;
        padding: 0 4px !important;
        box-sizing: border-box;
        color: #ffffff !important;
        font-size: 0 !important; /* Keep existing link text accessible in DOM */
        line-height: 1;
        white-space: nowrap;
        text-decoration: none;
    }

    /* Round flags with a subtle reflective sheen and edge highlight. */
    #navigationPrimary > li > a[href*="setLocale/en"]::before,
    .pkp_navigation_primary > li > a[href*="setLocale/en"]::before,
    #navigationPrimary > li > a[href*="setLocale/id"]::before,
    .pkp_navigation_primary > li > a[href*="setLocale/id"]::before {
        content: "";
        display: inline-block;
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        box-sizing: border-box;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.65);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%, cover;
        box-shadow:
            inset 0 1px 1px rgba(255,255,255,.35),
            0 1px 3px rgba(0,0,0,.20);
    }

    #navigationPrimary > li > a[href*="setLocale/en"]::before,
    .pkp_navigation_primary > li > a[href*="setLocale/en"]::before {
        background-image:
            linear-gradient(to bottom, rgba(255,255,255,.55), rgba(255,255,255,0) 48%),
            url("https://flagcdn.com/w40/gb.png");
    }

    #navigationPrimary > li > a[href*="setLocale/id"]::before,
    .pkp_navigation_primary > li > a[href*="setLocale/id"]::before {
        background-image:
            linear-gradient(to bottom, rgba(255,255,255,.55), rgba(255,255,255,0) 48%),
            url("https://flagcdn.com/w40/id.png");
    }

    #navigationPrimary > li > a[href*="setLocale/en"]::after,
    .pkp_navigation_primary > li > a[href*="setLocale/en"]::after {
        content: "EN";
        font-size: 12px;
        font-weight: 700;
    }

    #navigationPrimary > li > a[href*="setLocale/id"]::after,
    .pkp_navigation_primary > li > a[href*="setLocale/id"]::after {
        content: "ID";
        font-size: 12px;
        font-weight: 700;
    }

    #navigationPrimary > li > a[href*="setLocale/en"]:hover::after,
    #navigationPrimary > li > a[href*="setLocale/id"]:hover::after,
    .pkp_navigation_primary > li > a[href*="setLocale/en"]:hover::after,
    .pkp_navigation_primary > li > a[href*="setLocale/id"]:hover::after {
        color: #FFDB07;
    }
}

/* Mobile continues to use the OJS native navigation. */


/* ---------------------------------------------------------
   20. DOI LOGO ON ARTICLE LIST (v24)
   Adds a small DOI logo immediately before each DOI URL.
   --------------------------------------------------------- */

.obj_article_summary a[href*="doi.org"]::before,
.obj_article_summary a[href*="dx.doi.org"]::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 16px;
    margin-right: 6px;
    vertical-align: -2px;
    background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/DOI_logo.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.obj_article_summary a[href*="doi.org"],
.obj_article_summary a[href*="dx.doi.org"] {
    display: inline-flex;
    align-items: center;
    gap: 0;
}


/* ---------------------------------------------------------
   21. ACADEMIC ARTICLE CARDS (v25)
   Minimal card styling for a cleaner scholarly article list.
   --------------------------------------------------------- */

.obj_article_summary {
    box-sizing: border-box;
    margin: 0 0 18px !important;
    padding: 18px 20px 20px !important;
    background: #ffffff;
    border: 1px solid #dfe7eb !important;
    border-left: 4px solid #1FABE1 !important;
    border-radius: 6px;
    transition:
        background-color .15s ease-in-out,
        border-color .15s ease-in-out;
}

.obj_article_summary:last-child {
    border-bottom: 1px solid #dfe7eb !important;
}

.obj_article_summary .title {
    margin-bottom: 8px;
}

.obj_article_summary .title a {
    color: #0f5f8f;
    font-weight: 700;
    line-height: 1.4;
}

.obj_article_summary .authors {
    margin-bottom: 10px;
    color: #333333;
}

.obj_article_summary .pages {
    color: #6b7280;
}

.obj_article_summary:hover {
    background: #fbfdfe;
    border-color: #cfdde4 !important;
    border-left-color: #1FABE1 !important;
}

.obj_article_summary .galleys_links,
.obj_article_summary .galley-link,
.obj_article_summary .doi {
    margin-top: 4px;
}

@media (max-width: 767px) {
    .obj_article_summary {
        margin-bottom: 14px !important;
        padding: 15px 14px 17px !important;
        border-left-width: 3px !important;
        border-radius: 5px;
    }
}


/* ---------------------------------------------------------
   22. TIGHTER ARTICLE CARD SPACING (v26)
   Reduces the large vertical whitespace between article cards.
   --------------------------------------------------------- */

/* OJS wraps article summaries in list items; remove its extra spacing */
.obj_issue_toc .articles > li,
.obj_issue_toc .articles > li.obj_article_summary,
.obj_issue_toc .section > ul > li {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Keep only a small gap between cards */
.obj_article_summary {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* Avoid inherited bottom spacing on the last card */
.obj_article_summary:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    .obj_issue_toc .articles > li,
    .obj_issue_toc .section > ul > li,
    .obj_article_summary {
        margin-bottom: 8px !important;
    }
}
/* ---------------------------------------------------------
   23. SUGGESTED TOOLS SIDEBAR (v27)
   Grammarly, Mendeley, and Turnitin logo cards.
   Designed for 520 × 140 px horizontal transparent images.
   --------------------------------------------------------- */

.pkp_structure_sidebar .albuchuts-suggested-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.pkp_structure_sidebar .albuchuts-suggested-tools .tool-card {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 62px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #dfe7eb;
    border-radius: 6px;
    text-decoration: none;
    transition:
        background-color .15s ease-in-out,
        border-color .15s ease-in-out,
        transform .15s ease-in-out;
}

.pkp_structure_sidebar .albuchuts-suggested-tools .tool-card:hover,
.pkp_structure_sidebar .albuchuts-suggested-tools .tool-card:focus {
    background: #f8fcfe;
    border-color: #1FABE1;
    transform: translateY(-1px);
    outline: none;
}

.pkp_structure_sidebar .albuchuts-suggested-tools .tool-card img {
    display: block;
    width: auto;
    height: auto;
    max-width: 175px;
    max-height: 46px;
    margin: 0 auto;
    object-fit: contain;
}

.pkp_structure_sidebar .albuchuts-tools-note {
    margin: 9px 5px 0;
    padding: 0;
    color: #6b7280;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 767px) {
    .pkp_structure_sidebar .albuchuts-suggested-tools .tool-card {
        min-height: 58px;
        padding: 7px 10px;
    }

    .pkp_structure_sidebar .albuchuts-suggested-tools .tool-card img {
        max-width: 165px;
        max-height: 42px;
    }
}

/* ---------------------------------------------------------
   24. RESPONSIVE HEADER FIX (v28)
   On screens <= 767px, the full 1920 × 300 banner is shown
   proportionally instead of being cropped by background-size: cover.
   The desktop and tablet header behavior remains unchanged.
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   25. MOBILE HAMBURGER SAFE AREA (v29)
   Places the OJS mobile menu button in its own white strip
   above the banner so it no longer overlaps the Albuchuts logo.
   Desktop/tablet behavior is unchanged.
   --------------------------------------------------------- */

@media (max-width: 767px) {

    /* Reserve a dedicated row for the hamburger button */
    .pkp_head_wrapper {
        padding-top: 48px !important;
    }

    /* Keep the menu button in the reserved row */
    .pkp_site_nav_toggle {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 10001 !important;
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        background: #ffffff !important;
        border: 0 !important;
        border-right: 1px solid #dfe7eb !important;
        border-bottom: 1px solid #dfe7eb !important;
        border-radius: 0 0 8px 0 !important;
        box-shadow: none !important;
    }

    /* The banner now starts below the hamburger row */
    .pkp_site_name_wrapper {
        margin-top: 0 !important;
    }
}


/* ---------------------------------------------------------
   26. HOMEPAGE ANNOUNCEMENT CARDS (v31)
   Featured + secondary announcement layout.
   Designed for the native OJS homepage announcement markup.
   --------------------------------------------------------- */

/* Two-column announcement area on desktop */
.pkp_page_index .cmp_announcements {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
    gap: 16px;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    margin-top: 28px;
    padding: 0;
}

/* Remove native OJS separator lines/pseudo-elements */
.pkp_page_index .cmp_announcements > .obj_announcement_summary:before,
.pkp_page_index .cmp_announcements > .more:before,
.pkp_page_index .cmp_announcements .obj_announcement_summary:before {
    display: none !important;
}

/* Featured announcement */
.pkp_page_index .cmp_announcements > .obj_announcement_summary {
    position: relative;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 66px 24px 22px !important;
    background: #ffffff;
    border: 1px solid #dbe5ea !important;
    border-left: 4px solid #1FABE1 !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16, 61, 91, .045);
}

/* Secondary announcement container */
.pkp_page_index .cmp_announcements > .more {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    border: 1px solid #dbe5ea !important;
    border-left: 4px solid #1FABE1 !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16, 61, 91, .045);
    overflow: hidden;
}

/* Make the first secondary item fill its card */
.pkp_page_index .cmp_announcements > .more > .obj_announcement_summary,
.pkp_page_index .cmp_announcements > .more .obj_announcement_summary {
    position: relative;
    box-sizing: border-box;
    height: 100%;
    margin: 0 !important;
    padding: 66px 24px 22px !important;
    border: 0 !important;
    background: transparent !important;
}

/* Reusable badge labels */
.pkp_page_index .cmp_announcements > .obj_announcement_summary::after,
.pkp_page_index .cmp_announcements > .more::after {
    position: absolute;
    top: 22px;
    left: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    box-sizing: border-box;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .35px;
    text-transform: uppercase;
    pointer-events: none;
}

.pkp_page_index .cmp_announcements > .obj_announcement_summary::after {
    content: "FEATURED ANNOUNCEMENT";
    color: #6c5700;
    background: #fff1a8;
}

.pkp_page_index .cmp_announcements > .more::after {
    content: "LATEST ANNOUNCEMENT";
    color: #174d70;
    background: #dff3fb;
}

/* Titles */
.pkp_page_index .cmp_announcements .obj_announcement_summary h2,
.pkp_page_index .cmp_announcements .obj_announcement_summary h3,
.pkp_page_index .cmp_announcements .obj_announcement_summary h4,
.pkp_page_index .cmp_announcements .obj_announcement_summary .title {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    color: #0f5f8f;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.42;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary h2 a,
.pkp_page_index .cmp_announcements .obj_announcement_summary h3 a,
.pkp_page_index .cmp_announcements .obj_announcement_summary h4 a,
.pkp_page_index .cmp_announcements .obj_announcement_summary .title a {
    color: #0f5f8f !important;
    text-decoration: none !important;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary h2 a:hover,
.pkp_page_index .cmp_announcements .obj_announcement_summary h3 a:hover,
.pkp_page_index .cmp_announcements .obj_announcement_summary h4 a:hover,
.pkp_page_index .cmp_announcements .obj_announcement_summary .title a:hover {
    color: #174d70 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Date */
.pkp_page_index .cmp_announcements .obj_announcement_summary .date,
.pkp_page_index .cmp_announcements .obj_announcement_summary .published,
.pkp_page_index .cmp_announcements time {
    margin: 0 0 16px !important;
    color: #6b7280 !important;
    font-size: 12.5px !important;
    line-height: 1.4;
}

/* Summary text */
.pkp_page_index .cmp_announcements .obj_announcement_summary .summary,
.pkp_page_index .cmp_announcements .obj_announcement_summary .description {
    color: #2d3338;
    line-height: 1.68;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary .summary p,
.pkp_page_index .cmp_announcements .obj_announcement_summary .description p {
    margin-top: 0;
    margin-bottom: 12px;
}

/* Read more link as a quiet academic CTA */
.pkp_page_index .cmp_announcements .obj_announcement_summary .read_more,
.pkp_page_index .cmp_announcements .obj_announcement_summary a.read_more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    padding: 7px 12px;
    border-radius: 7px;
    color: #0f5f8f !important;
    background: #e5f5fb;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary .read_more:hover,
.pkp_page_index .cmp_announcements .obj_announcement_summary a.read_more:hover {
    color: #ffffff !important;
    background: #1FABE1;
}

/* Keep native lists inside secondary block tidy */
.pkp_page_index .cmp_announcements > .more ul,
.pkp_page_index .cmp_announcements > .more ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.pkp_page_index .cmp_announcements > .more li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Tablet */
@media (max-width: 991px) {
    .pkp_page_index .cmp_announcements {
        grid-template-columns: minmax(0, 1.25fr) minmax(240px, .9fr);
        gap: 12px;
    }

    .pkp_page_index .cmp_announcements > .obj_announcement_summary,
    .pkp_page_index .cmp_announcements > .more .obj_announcement_summary {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .pkp_page_index .cmp_announcements > .obj_announcement_summary::after,
    .pkp_page_index .cmp_announcements > .more::after {
        left: 20px;
    }
}

/* Mobile: stack cards vertically */
@media (max-width: 767px) {
    .pkp_page_index .cmp_announcements {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pkp_page_index .cmp_announcements > .obj_announcement_summary,
    .pkp_page_index .cmp_announcements > .more {
        width: 100% !important;
        min-height: 0;
    }

    .pkp_page_index .cmp_announcements > .obj_announcement_summary,
    .pkp_page_index .cmp_announcements > .more .obj_announcement_summary {
        padding: 62px 16px 18px !important;
    }

    .pkp_page_index .cmp_announcements > .obj_announcement_summary::after,
    .pkp_page_index .cmp_announcements > .more::after {
        top: 18px;
        left: 16px;
        min-height: 26px;
        padding: 5px 10px;
        font-size: 10px;
    }
}


/* ---------------------------------------------------------
   27. ANNOUNCEMENT WIDTH + READ MORE FIX (v32)
   Full-width announcement block aligned with homepage content.
   Removes the native arrow after the Read More link.
   --------------------------------------------------------- */

/* Force the announcement area to use the full main-content width. */
.pkp_page_index .cmp_announcements {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    clear: both !important;
}

/* Neutralize native OJS widths/floats on both announcement columns. */
.pkp_page_index .cmp_announcements > .obj_announcement_summary,
.pkp_page_index .cmp_announcements > .more {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

/* Keep the secondary announcement content within the full card width. */
.pkp_page_index .cmp_announcements > .more > .obj_announcement_summary,
.pkp_page_index .cmp_announcements > .more .obj_announcement_summary {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
}

/* Remove the native arrow/icon after "Read More / Baca Selengkapnya". */
.pkp_page_index .cmp_announcements .read_more::after,
.pkp_page_index .cmp_announcements a.read_more::after,
.pkp_page_index .cmp_announcements .read_more:after,
.pkp_page_index .cmp_announcements a.read_more:after {
    content: none !important;
    display: none !important;
}

/* Keep the CTA text vertically centered without reserving icon space. */
.pkp_page_index .cmp_announcements .obj_announcement_summary .read_more,
.pkp_page_index .cmp_announcements .obj_announcement_summary a.read_more {
    gap: 0 !important;
    line-height: 1.25 !important;
}

/* Tablet: retain two balanced cards without a hard minimum width. */
@media (max-width: 991px) and (min-width: 768px) {
    .pkp_page_index .cmp_announcements {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) !important;
        gap: 12px !important;
    }
}

/* Mobile: one full-width card per row. */
@media (max-width: 767px) {
    .pkp_page_index .cmp_announcements {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }
}

/* ---------------------------------------------------------
   26. PRIMARY NAV ACTIVE / FOCUS STATE (v33)
   Replaces the OJS default black active/focus styling.
   --------------------------------------------------------- */

.pkp_navigation_primary > li > a.current,
.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li > a[aria-current="page"],
#navigationPrimary > li > a.current,
#navigationPrimary > li.current > a,
#navigationPrimary > li > a[aria-current="page"] {
    background: #174D70 !important;
    color: #FFDB07 !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
}

.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li > a:active,
#navigationPrimary > li > a:focus,
#navigationPrimary > li > a:active {
    background: #174D70 !important;
    color: #FFDB07 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(31, 171, 225, 0.20) !important;
}



/* ---------------------------------------------------------
   27. PRIMARY SUBMISSION BUTTON (v33)
   Formal, prominent CTA distinct from the sidebar menu.
   --------------------------------------------------------- */

.block_make_submission a,
.pkp_structure_sidebar .block_make_submission a {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 50px;
    padding: 12px 18px !important;

    background: #174D70 !important;
    color: #FFFFFF !important;

    border: 1px solid #103D5B !important;
    border-radius: 11px !important;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    letter-spacing: 0.1px;

    box-shadow:
        0 4px 12px rgba(23, 77, 112, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.12);

    transition:
        background-color .16s ease-in-out,
        border-color .16s ease-in-out,
        box-shadow .16s ease-in-out,
        transform .16s ease-in-out;
}


/* Hover / focus */
.block_make_submission a:hover,
.block_make_submission a:focus,
.pkp_structure_sidebar .block_make_submission a:hover,
.pkp_structure_sidebar .block_make_submission a:focus {
    background: #103D5B !important;
    color: #FFFFFF !important;
    border-color: #0C3148 !important;
    box-shadow:
        0 5px 14px rgba(16, 61, 91, 0.22),
        0 0 0 3px rgba(31, 171, 225, 0.18);
    transform: translateY(-1px);
    outline: none !important;
}


/* Keep spacing distinct from the next sidebar block */
.block_make_submission,
.pkp_structure_sidebar .block_make_submission {
    margin-bottom: 22px !important;
}

@media (max-width: 767px) {
    .block_make_submission a,
    .pkp_structure_sidebar .block_make_submission a {
        min-height: 48px;
        padding: 11px 16px !important;
        border-radius: 10px !important;
        font-size: 13px;
    }
}


/* ---------------------------------------------------------
   28. NAV CLEANUP + SUBMISSION DOCUMENT ICON (v34)
   Removes the stray yellow pseudo-element after dropdown items
   and replaces the submission arrow with a formal document icon.
   --------------------------------------------------------- */

/* Prevent the v33 pseudo-element styling from creating a yellow mark.
   Keep the theme's own dropdown caret behavior untouched where possible. */
.pkp_navigation_primary > li > a::after,
#navigationPrimary > li > a::after {
    background-color: transparent !important;
    border-color: currentColor;
    box-shadow: none !important;
}

/* Submission button: remove any legacy arrow generated by older rules */
.block_make_submission a::after,
.pkp_structure_sidebar .block_make_submission a::after {
    content: none !important;
    display: none !important;
}

/* Small document icon before the label */
.block_make_submission a::before,
.pkp_structure_sidebar .block_make_submission a::before {
    content: "";
    display: inline-block;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFDB07' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='16' y2='17'/%3E%3C/svg%3E");
}

/* Keep icon crisp on hover/focus */
.block_make_submission a:hover::before,
.block_make_submission a:focus::before,
.pkp_structure_sidebar .block_make_submission a:hover::before,
.pkp_structure_sidebar .block_make_submission a:focus::before {
    opacity: 1;
}


/* ---------------------------------------------------------
   29. REMOVE DROPDOWN MARK AFTER "ABOUT" (v35)
   Completely hides the small dash/caret pseudo-element
   on primary navigation items that contain a submenu.
   --------------------------------------------------------- */

#navigationPrimary > li:has(ul) > a::after,
.pkp_navigation_primary > li:has(ul) > a::after,
#navigationPrimary > li.dropdown > a::after,
.pkp_navigation_primary > li.dropdown > a::after,
#navigationPrimary > li > a.dropdown-toggle::after,
.pkp_navigation_primary > li > a.dropdown-toggle::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}


/* ---------------------------------------------------------
   30. FOOTER INNER WIDTH ALIGNMENT (v36)
   Keeps the blue/yellow footer background full-width while
   constraining the footer contents to the journal page width.
   --------------------------------------------------------- */

/* Full-width footer background remains unchanged */
.pkp_structure_footer_wrapper {
    width: 100%;
}

/* Align footer contents with the main journal content */
.pkp_structure_footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* Existing custom footer content stays inside the same visual grid */
.albuchuts-footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Keep PKP/OJS branding aligned within the constrained footer */
.pkp_brand_footer {
    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 1199px) {
    .pkp_structure_footer {
        max-width: calc(100% - 40px);
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pkp_structure_footer {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* ---------------------------------------------------------
   31. COMPACT TWO-COLUMN FOOTER (v37)
   Replaces the old three-column footer with:
   left = journal identity/contact
   right = license + PKP/OJS branding
   --------------------------------------------------------- */

/* Keep full-width journal footer background */
.pkp_structure_footer_wrapper {
    width: 100%;
    background: #1FABE1 !important;
    border-top: 4px solid #FFDB07 !important;
}

/* Compact inner footer area */
.pkp_structure_footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 0 20px !important;
    background: transparent !important;
}

/* New custom footer grid */
.albuchuts-footer {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
    gap: 52px !important;
    align-items: start;
    width: 100%;
    margin: 0 auto !important;
    padding: 28px 0 26px !important;
    color: #ffffff;
    line-height: 1.5;
}

/* Left identity column */
.albuchuts-footer__identity {
    min-width: 0;
}

.albuchuts-footer__brand {
    margin: 0 0 8px;
    color: #FFDB07;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.4px;
}

.albuchuts-footer__journal-title {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.albuchuts-footer__address,
.albuchuts-footer__email {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.55;
}

.albuchuts-footer__email {
    margin-top: 13px;
}

.albuchuts-footer__email a {
    color: #ffffff !important;
    text-decoration: none;
}

.albuchuts-footer__email a:hover,
.albuchuts-footer__email a:focus {
    color: #FFDB07 !important;
    text-decoration: underline;
}

/* Right column: license + OJS/PKP, kept together */
.albuchuts-footer__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.albuchuts-footer__heading {
    margin: 0 0 8px;
    color: #FFDB07;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.albuchuts-footer__license {
    margin: 0;
}

.albuchuts-footer__license img {
    display: block;
    width: auto;
    max-width: 112px;
    height: auto;
    margin: 0 0 8px;
}

.albuchuts-footer__license p {
    margin: 0;
    max-width: 330px;
    color: #ffffff;
    font-size: 12.5px;
    line-height: 1.5;
}

.albuchuts-footer__license a {
    color: #ffffff !important;
    text-decoration: none;
}

.albuchuts-footer__license a:hover,
.albuchuts-footer__license a:focus {
    color: #FFDB07 !important;
    text-decoration: underline;
}

/* Keep native PKP brand close to the license instead of far at bottom-right */
.pkp_brand_footer {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    opacity: .96;
    filter: brightness(0) invert(1);
}

.pkp_brand_footer a,
.pkp_brand_footer img {
    display: block;
}

.pkp_brand_footer img {
    width: auto;
    max-width: 150px;
    height: auto;
    margin: 0;
}

/* If PKP wrapper is rendered after the custom footer, keep it compact */
.pkp_structure_footer > .pkp_brand_footer {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: 190px;
    margin: -78px 0 24px auto !important;
}

/* Remove obsolete quick-link structures if old HTML remains temporarily */
.albuchuts-footer__quicklinks,
.albuchuts-footer .quick-links,
.albuchuts-footer .footer-quick-links {
    display: none !important;
}

/* Tablet */
@media (max-width: 991px) {
    .pkp_structure_footer {
        max-width: calc(100% - 32px);
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .albuchuts-footer {
        grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
        gap: 32px !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .albuchuts-footer__brand {
        font-size: 30px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pkp_structure_footer {
        max-width: 100%;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .albuchuts-footer {
        grid-template-columns: 1fr;
        gap: 22px !important;
        padding: 22px 0 !important;
    }

    .albuchuts-footer__brand {
        font-size: 28px;
    }

    .albuchuts-footer__license p {
        max-width: none;
    }

    .pkp_structure_footer > .pkp_brand_footer {
        width: auto !important;
        max-width: 160px;
        margin: 0 0 22px !important;
    }
}


/* ---------------------------------------------------------
   32. FOOTER LOGO IMAGE (v38)
   Uses the official Albuchuts logo from Publisher Library.
   --------------------------------------------------------- */

.albuchuts-footer__logo {
    margin: 0 0 10px;
}

.albuchuts-footer__logo img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 70px;
    height: auto;
    margin: 0;
    object-fit: contain;
}

/* Hide text-brand fallback when the image logo is used */
.albuchuts-footer__brand {
    display: none !important;
}

@media (max-width: 767px) {
    .albuchuts-footer__logo img {
        max-width: 190px;
        max-height: 62px;
    }
}


/* ---------------------------------------------------------
   33. FINAL COMPACT FOOTER WITHOUT PKP BRANDING (v39)
   Keeps the official yellow Albuchuts logo and removes the
   native OJS/PKP branding block from the footer.
   --------------------------------------------------------- */

/* Remove native PKP/OJS footer branding completely */
.pkp_brand_footer,
.pkp_structure_footer > .pkp_brand_footer {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Tighten footer height now that PKP branding is removed */
.albuchuts-footer {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr);
    gap: 44px !important;
    padding-top: 24px !important;
    padding-bottom: 22px !important;
}

/* Official yellow Albuchuts logo */
.albuchuts-footer__logo {
    margin: 0 0 9px !important;
}

.albuchuts-footer__logo img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 70px;
    height: auto;
    margin: 0;
    object-fit: contain;
}

/* Journal title and institutional identity */
.albuchuts-footer__journal-title {
    margin: 0 0 14px !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.albuchuts-footer__address,
.albuchuts-footer__email {
    font-size: 13.5px;
    line-height: 1.5;
}

.albuchuts-footer__email {
    margin-top: 10px !important;
}

/* Compact license block */
.albuchuts-footer__meta {
    gap: 0 !important;
}

.albuchuts-footer__license {
    margin: 0 !important;
}

.albuchuts-footer__heading {
    margin-bottom: 8px !important;
}

.albuchuts-footer__license img {
    max-width: 104px !important;
    margin-bottom: 7px !important;
}

.albuchuts-footer__license p {
    max-width: 320px;
    font-size: 12.5px;
    line-height: 1.45;
}

/* Optional copyright line spanning both columns */
.albuchuts-footer__copyright {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.30);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

/* Tablet */
@media (max-width: 991px) {
    .albuchuts-footer {
        grid-template-columns: minmax(0, 1.15fr) minmax(230px, .85fr);
        gap: 28px !important;
        padding-top: 22px !important;
        padding-bottom: 20px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .albuchuts-footer {
        grid-template-columns: 1fr;
        gap: 18px !important;
        padding: 20px 0 !important;
    }

    .albuchuts-footer__logo img {
        max-width: 190px;
        max-height: 62px;
    }

    .albuchuts-footer__copyright {
        grid-column: 1;
        margin-top: 0;
        padding-top: 12px;
        text-align: left;
    }
}


/* ---------------------------------------------------------
   34. TIGHTER FOOTER VERTICAL SPACING (v40)
   Reduces the top gap, the spacing around the copyright divider,
   and the bottom whitespace while preserving the approved layout.
   --------------------------------------------------------- */

/* Main two-column footer block: tighter top/bottom spacing */
.albuchuts-footer {
    padding-top: 14px !important;
    padding-bottom: 10px !important;
    row-gap: 14px !important;
}

/* Pull identity/license content slightly closer to the top edge */
.albuchuts-footer__identity,
.albuchuts-footer__meta {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Slightly tighten vertical rhythm inside both columns */
.albuchuts-footer__logo {
    margin-bottom: 6px !important;
}

.albuchuts-footer__journal-title {
    margin-bottom: 10px !important;
}

.albuchuts-footer__email {
    margin-top: 8px !important;
}

.albuchuts-footer__heading {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.albuchuts-footer__license img {
    margin-bottom: 5px !important;
}

/* Copyright divider and text: much more compact */
.albuchuts-footer__copyright {
    margin-top: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    line-height: 1.3 !important;
}

/* Ensure no extra bottom padding comes from the footer shell */
.pkp_structure_footer,
.pkp_structure_footer_wrapper {
    padding-bottom: 0 !important;
}

/* Tablet */
@media (max-width: 991px) {
    .albuchuts-footer {
        padding-top: 12px !important;
        padding-bottom: 9px !important;
        row-gap: 12px !important;
    }

    .albuchuts-footer__copyright {
        padding-top: 7px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .albuchuts-footer {
        padding-top: 12px !important;
        padding-bottom: 8px !important;
        gap: 14px !important;
    }

    .albuchuts-footer__copyright {
        padding-top: 7px !important;
        margin-top: 0 !important;
    }
}


/* ---------------------------------------------------------
   35. GOOGLE SCHOLAR PROFILE BLOCK (v41)
   Uses the standard sidebar width and journal palette.
   --------------------------------------------------------- */
.pkp_structure_sidebar .albuchuts-scholar {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
}
.pkp_structure_sidebar .albuchuts-scholar__link {
    display: flex;
    align-items: center;
    gap: 11px;
    box-sizing: border-box;
    padding: 12px 13px;
    background: #fff;
    border: 1px solid #dfe7eb;
    border-left: 4px solid #1FABE1;
    border-radius: 7px;
    color: #174D70;
    text-decoration: none !important;
    transition: background-color .18s, border-color .18s;
}
.pkp_structure_sidebar .albuchuts-scholar__link:hover,
.pkp_structure_sidebar .albuchuts-scholar__link:focus-visible {
    background: #f5fbff;
    border-color: #1FABE1;
    outline: 2px solid #FFDB07;
    outline-offset: 2px;
}
.pkp_structure_sidebar .albuchuts-scholar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    border-radius: 9px;
    background: #e9f7fc;
    color: #12699b;
}
.pkp_structure_sidebar .albuchuts-scholar__icon svg {
    width: 23px;
    height: 23px;
}
.pkp_structure_sidebar .albuchuts-scholar__text {
    display: block;
    min-width: 0;
    line-height: 1.4;
}
.pkp_structure_sidebar .albuchuts-scholar__name {
    display: block;
    color: #174D70;
    font-weight: 700;
    font-size: 14px;
}
.pkp_structure_sidebar .albuchuts-scholar__hint {
    display: block;
    margin-top: 2px;
    color: #66717c;
    font-size: 11.5px;
}


/* ---------------------------------------------------------
   36. GOOGLE SCHOLAR ICON COMPATIBILITY FIX (v42)
   Uses a CSS background image because the OJS rich-text
   editor may remove embedded SVG markup on save.
   --------------------------------------------------------- */
.pkp_structure_sidebar .albuchuts-scholar__icon {
    display: inline-flex !important;
    flex: 0 0 39px !important;
    width: 39px !important;
    height: 39px !important;
    min-width: 39px !important;
    min-height: 39px !important;
    background-color: #e9f7fc !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312699b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5L2 9Z'/%3E%3Cpath d='M6 11v5c3.5 3 8.5 3 12 0v-5'/%3E%3Cpath d='M22 9v7'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 24px 24px !important;
    border-radius: 9px !important;
}


/* 37. SCHOLAR ICON: DIRECT IMAGE ELEMENT (v43)
   A regular img element is more reliable with OJS editor filtering. */
.pkp_structure_sidebar .albuchuts-scholar__link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 11px !important;
}
.pkp_structure_sidebar .albuchuts-scholar__icon,
.pkp_structure_sidebar .albuchuts-scholar__link > span.albuchuts-scholar__icon {
    display: none !important; /* remove older pseudo-image container */
}
.pkp_structure_sidebar .albuchuts-scholar__image {
    display: block !important;
    flex: 0 0 39px !important;
    width: 39px !important;
    height: 39px !important;
    min-width: 39px !important;
    max-width: 39px !important;
    object-fit: contain !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
