:root {
    --maskay-blue: #5f3d29;
    --maskay-blue-dark: #43291d;
    --maskay-ink: #32241c;
    --maskay-text: #312922;
    --maskay-muted: #69574a;
    --maskay-rule: #e1d7cf;
    --maskay-panel: #f8f2e9;
    --maskay-shell: 1680px;
    --maskay-gutter: clamp(20px, 4vw, 64px);
    --maskay-serif: Georgia, "Times New Roman", serif;
    --maskay-sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pkp_structure_page {
    background-color: #fff;
    color: var(--maskay-text);
    font-family: var(--maskay-sans);
    font-size: 16px;
    line-height: 1.6;
}

.pkp_structure_main a {
    color: var(--maskay-blue);
}

.pkp_structure_main a:hover {
    color: var(--maskay-blue-dark);
}

.pkp_structure_page :is(a, button):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.pkp_structure_page .pkp_structure_head {
    background: var(--maskay-blue);
    border-bottom: 0;
}

.pkp_structure_page .pkp_structure_head .pkp_head_wrapper {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 0;
}

.pkp_structure_head .pkp_site_name_wrapper {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 56px;
    padding: 0;
}

.maskay-masthead {
    background: #fff8ef;
}

.maskay-masthead__inner {
    box-sizing: border-box;
    max-width: var(--maskay-shell);
    margin-inline: auto;
    padding: 20px var(--maskay-gutter);
    padding-inline-start: max(var(--maskay-gutter), 64px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.maskay-masthead__inner > * {
    min-width: 0;
}

.maskay-masthead__journal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: fit-content;
    color: var(--maskay-ink);
    text-decoration: none;
}

.maskay-masthead__journal:hover {
    color: var(--maskay-ink);
    text-decoration: none;
}

.maskay-masthead__journal-mark {
    display: block;
    width: clamp(166px, 22vw, 288px);
    max-width: 100%;
    aspect-ratio: 354 / 66;
    background: #fff4e8 url("/public/journals/1/maskay-portada-marca.webp") no-repeat 50.75% 6.93% / 118.93% 909.09%;
}

.maskay-masthead__subtitle {
    color: var(--maskay-muted);
    font-size: clamp(.73rem, 1.2vw, .97rem);
    font-weight: 650;
    line-height: 1.35;
}

.maskay-masthead__university {
    width: auto;
    max-width: min(100%, 300px);
    max-height: 64px;
}

.maskay-masthead__university img {
    display: block;
    width: auto;
    height: auto;
    max-height: inherit;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.maskay-footer .maskay-studio {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
}

.maskay-footer .maskay-studio a {
    color: inherit;
}

.maskay-footer .maskay-studio .maskay-studio__brand img {
    width: min(100%, 236px);
    height: auto;
}

.maskay-footer .maskay-studio__credit {
    line-height: 1.42;
}

.maskay-masthead__issn {
    color: var(--maskay-blue);
    font-family: var(--maskay-serif);
    font-size: clamp(15px, 1.45vw, 21px);
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.maskay-masthead__issn strong {
    font-weight: 700;
    font-variant-numeric: lining-nums;
}

.pkp_structure_head .pkp_site_nav_menu {
    box-sizing: border-box;
    background: var(--maskay-blue);
}

.pkp_structure_head .pkp_site_nav_menu a,
.pkp_structure_head .pkp_site_nav_menu a:hover {
    color: #fff;
}

.pkp_structure_head .pkp_site_nav_menu a:focus-visible {
    position: relative;
    z-index: 1;
    outline-color: currentColor;
    outline-offset: 2px;
}

.pkp_structure_head .pkp_navigation_user > li > a:is([href$="/login"], [href$="/user/profile"], :has(> .task_count))::before {
    content: "";
    display: inline-block;
    width: 1.05em;
    height: 1.05em;
    margin-inline-end: .4em;
    vertical-align: -.16em;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='7.5' r='3.8'/%3E%3Cpath d='M3.8 21v-1.2a8.2 7.2 0 0 1 16.4 0V21'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pkp_site_name_wrapper:has(.maskay-masthead) > .pkp_site_nav_toggle {
    top: 11px;
    left: 8px;
    width: 44px;
    height: 44px;
    color: var(--maskay-blue);
    box-shadow: none;
}

.pkp_site_name_wrapper:has(.maskay-masthead) > .pkp_site_nav_toggle > span {
    border-bottom-color: var(--maskay-blue);
}

.pkp_site_name_wrapper:has(.maskay-masthead) > .pkp_site_nav_toggle > span::before,
.pkp_site_name_wrapper:has(.maskay-masthead) > .pkp_site_nav_toggle > span::after {
    background: var(--maskay-blue);
}

.pkp_structure_content,
.pkp_structure_footer {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--maskay-shell);
    margin-inline: auto;
    padding-inline: var(--maskay-gutter);
}

.pkp_structure_content {
    padding-block: clamp(32px, 4vw, 58px) clamp(52px, 6vw, 82px);
}

.pkp_structure_content > .pkp_structure_main,
.pkp_structure_content > .pkp_structure_sidebar {
    float: none;
    box-sizing: border-box;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
}

.pkp_structure_content > .pkp_structure_main::before,
.pkp_structure_content > .pkp_structure_main::after {
    content: none;
}

.pkp_structure_content > .pkp_structure_sidebar {
    margin-top: 44px;
}

.pkp_structure_content > .pkp_structure_main:first-child:last-child {
    max-width: 1040px;
    margin: 0 auto;
}

.pkp_structure_main :is(.maskay-journal-intro, .homepage_about) {
    padding: 0 0 30px;
}

.pkp_structure_main :is(.maskay-journal-intro, .homepage_about) > h2,
.pkp_structure_main .current_issue > h2,
.pkp_structure_main .page_issue > h1 {
    margin: 0 0 15px;
    color: var(--maskay-ink);
    font-family: var(--maskay-serif);
    font-size: clamp(29px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.maskay-journal-intro__description {
    max-width: 76ch;
    font-size: 17px;
}

.pkp_structure_main .maskay-journal-intro__description p {
    margin-top: 10px;
    line-height: 1.65;
}

.maskay-home-summary {
    max-inline-size: 78ch;
    margin-block: 0 clamp(28px, 3vw, 44px);
    color: var(--maskay-text);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.68;
    overflow-wrap: anywhere;
}

.maskay-home-summary > :first-child {
    margin-block-start: 0;
}

.maskay-home-summary > :last-child {
    margin-block-end: 0;
}

.pkp_structure_main .homepage_image {
    margin: 0 0 35px;
}

.pkp_structure_main .current_issue {
    margin-top: 28px;
}

.pkp_structure_main .current_issue > h2 {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--maskay-rule);
}

.pkp_structure_main .current_issue .current_issue_title {
    margin: 22px 0 26px;
    color: var(--maskay-muted);
    font-family: var(--maskay-serif);
    font-size: clamp(19px, 2.2vw, 29px);
    font-weight: 500;
    line-height: 1.38;
    overflow-wrap: anywhere;
}

.pkp_structure_main .obj_issue_toc > .heading {
    display: flow-root;
    background-color: #fff;
}

.pkp_structure_main .obj_issue_toc > .heading > .cover {
    float: none;
    width: min(100%, 244px);
    max-height: none;
    margin: 0 0 22px;
}

.pkp_structure_main .obj_issue_toc > .heading > .cover img {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 4px;
    border: 1px solid var(--maskay-rule);
    border-radius: 3px;
    object-fit: contain;
}

.pkp_structure_main .obj_issue_toc > .heading > .published {
    margin: 18px 0 0;
    color: var(--maskay-muted);
    font-size: 16px;
}

.pkp_structure_main .obj_issue_toc > .heading > .published .label {
    color: var(--maskay-text);
}

.pkp_structure_main .obj_issue_toc .description {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.pkp_structure_main .obj_issue_toc .sections {
    margin-top: 36px;
}

.pkp_structure_main .obj_issue_toc :is(.section, .galleys) {
    position: static;
    margin: 0 0 36px;
    padding: 0;
}

.pkp_structure_main .obj_issue_toc :is(.section, .galleys)::before {
    content: none;
}

.pkp_structure_main .obj_issue_toc :is(.section, .galleys) > :is(h2, h3) {
    display: flex;
    align-items: center;
    gap: 12px;
    position: static;
    margin: 0 0 15px;
    padding: 0;
    color: var(--maskay-muted);
    background: transparent;
    font-family: var(--maskay-sans);
    font-size: 17px;
    font-weight: 450;
    line-height: 1.4;
}

.pkp_structure_main .obj_issue_toc :is(.section, .galleys) > :is(h2, h3)::after {
    content: "";
    flex: 1;
    min-width: 20px;
    border-top: 1px solid var(--maskay-rule);
}

.pkp_structure_main .obj_issue_toc .section .articles {
    margin: 0;
}

.pkp_structure_main .obj_issue_toc .articles > li + li {
    margin-top: 24px;
}

.pkp_structure_main .obj_issue_toc .obj_article_summary > .title {
    margin: 0;
    color: var(--maskay-blue);
    font-family: var(--maskay-sans);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.pkp_structure_main .obj_issue_toc .obj_article_summary > .title a:hover {
    text-decoration: underline;
}

.pkp_structure_main .obj_issue_toc .obj_article_summary .meta {
    margin-top: 5px;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
}

.pkp_structure_main .obj_issue_toc .obj_article_summary .pages {
    color: var(--maskay-muted);
}

.pkp_structure_main .obj_issue_toc .galleys_links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 12px 0 0;
}

.pkp_structure_main .obj_issue_toc .galleys_links li {
    margin: 0;
}

.pkp_structure_main .obj_issue_toc .obj_galley_link:not(.restricted) {
    min-height: 36px;
    box-sizing: border-box;
    padding: 5px 12px;
    border: 1px solid var(--maskay-blue);
    border-radius: 3px;
    background: #fff;
    color: var(--maskay-blue);
    box-shadow: none;
    font-size: 14px;
    line-height: 24px;
}

.pkp_structure_main .obj_issue_toc .obj_galley_link:not(.restricted):is(:hover, :focus-visible) {
    background: var(--maskay-blue);
    color: #fff;
}

.pkp_structure_main .current_issue .read_more {
    margin-top: 12px;
}

@media (min-width: 992px) {
    .pkp_structure_page .pkp_structure_head .pkp_head_wrapper {
        padding-top: 38px;
    }

    .maskay-masthead__inner {
        display: grid;
        grid-template-columns: 1fr minmax(180px, 1fr) 1fr;
        gap: 25px;
        min-height: 112px;
        padding: 21px var(--maskay-gutter);
    }

    .maskay-masthead__university {
        justify-self: center;
        max-width: min(100%, 340px);
        max-height: 89px;
    }

    .maskay-masthead__issn {
        justify-self: end;
        padding: 4px 0 4px clamp(12px, 1.8vw, 26px);
        border-inline-start: 1px solid var(--maskay-rule);
    }

    .pkp_structure_head .pkp_navigation_user_wrapper,
    .pkp_structure_head .pkp_navigation_primary_wrapper {
        box-sizing: border-box;
        width: 100%;
        max-width: var(--maskay-shell);
        padding-inline: var(--maskay-gutter);
    }

    .pkp_structure_head .pkp_navigation_user {
        width: 100%;
    }

    .pkp_structure_head .pkp_navigation_primary_wrapper {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 12px;
    }

    .pkp_structure_head .pkp_navigation_primary {
        display: flex;
        flex: 1;
        flex-wrap: wrap;
        max-width: none;
    }

    .pkp_structure_head :is(.pkp_navigation_primary, .pkp_navigation_user) > li > a,
    .pkp_structure_head .pkp_navigation_search_wrapper > a {
        margin: 0;
        color: #fff;
        font-size: 15px;
        font-weight: 550;
    }

    .pkp_structure_head .pkp_navigation_user > li > a {
        padding: 9px 12px;
        line-height: 20px;
    }

    .pkp_structure_head .pkp_navigation_user > li:last-child > a {
        margin-inline-end: -12px;
    }

    .pkp_structure_head .pkp_navigation_primary > li > a,
    .pkp_structure_head .pkp_navigation_search_wrapper > a {
        padding: 13px clamp(10px, 1.5vw, 20px) 11px;
        line-height: 24px;
    }

    .pkp_structure_head .pkp_navigation_primary > li:first-child > a {
        margin-inline-start: -10px;
    }

    .pkp_structure_head .pkp_navigation_search_wrapper {
        float: none;
        flex: none;
    }

    .pkp_structure_head .pkp_navigation_search_wrapper > a {
        padding-inline-end: 0;
    }

    .pkp_structure_head :is(.pkp_navigation_primary, .pkp_navigation_user) > li > a:focus,
    .pkp_structure_head .pkp_navigation_search_wrapper > a:focus {
        background: white;
        color: var(--maskay-blue);
    }

    .pkp_structure_head .pkp_nav_list li ul a,
    .pkp_structure_head .pkp_nav_list li ul a:hover {
        color: var(--maskay-blue);
    }

    .pkp_structure_content.has_sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(230px, 22%, 292px);
        align-items: start;
        gap: clamp(32px, 4vw, 62px);
    }

    .pkp_structure_content.has_sidebar::before,
    .pkp_structure_content.has_sidebar::after {
        content: none;
    }

    .pkp_structure_content > .pkp_structure_sidebar {
        margin-top: 0;
    }
}

@media (max-width: 660px) {
    .maskay-masthead__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding-block: 15px;
    }

    .maskay-masthead__journal {
        grid-column: 1 / -1;
    }

    .maskay-masthead__university {
        max-height: 46px;
    }

    .maskay-masthead__issn {
        font-size: .9rem;
    }
}


