.pkp_structure_head,
.pkp_structure_footer_wrapper {
    --maskay-coffee: #5f3d29;
    --maskay-deep-coffee: #43291d;
    --maskay-cream: #fff8ef;
    --maskay-gold: #eacfab;
    color: var(--maskay-cream);
    background: var(--maskay-coffee);
}

.pkp_structure_head {
    border-bottom: 2px solid #b78758;
}

.pkp_structure_head .pkp_site_name .is_text {
    display: inline-grid;
    justify-items: start;
    gap: 7px;
    padding: 5px 0;
    font-size: 0;
}

.pkp_structure_head .pkp_site_name .is_text::before {
    width: clamp(142px, 21vw, 231px);
    aspect-ratio: 354 / 66;
    border-radius: 2px;
    background: #fff2e3 url("/public/journals/1/maskay-portada-marca.webp") no-repeat 50.75% 6.93% / 118.93% 909.09%;
    content: "";
}

.pkp_structure_head .pkp_site_name .is_text::after {
    max-width: 100%;
    font-size: clamp(.71rem, 2.6vw, .92rem);
    font-weight: 600;
    line-height: 1.3;
    content: "Revista del Instituto Sierra Sur" / "";
}

.pkp_structure_head .pkp_site_name a,
.pkp_structure_head .pkp_navigation_primary > li > a,
.pkp_structure_head .pkp_navigation_user > li > a,
.pkp_structure_head .pkp_search .search_prompt,
.pkp_structure_head .pkp_site_nav_toggle {
    color: var(--maskay-cream);
}

.pkp_structure_head .pkp_navigation_primary > li > a:hover,
.pkp_structure_head .pkp_navigation_primary > li > a:focus,
.pkp_structure_head .pkp_navigation_user > li > a:hover,
.pkp_structure_head .pkp_navigation_user > li > a:focus,
.pkp_structure_head .pkp_search .search_prompt:hover,
.pkp_structure_head .pkp_search .search_prompt:focus {
    color: var(--maskay-cream);
    border-color: var(--maskay-gold);
}

.pkp_structure_head .pkp_site_nav_toggle:hover,
.pkp_structure_head .pkp_site_nav_toggle:focus {
    color: var(--maskay-gold);
}

.pkp_structure_footer_wrapper {
    border-top: 2px solid #b78758;
}

.pkp_structure_footer .pkp_brand_footer {
    display: none;
}

.pkp_structure_footer .pkp_footer_content {
    float: none;
    box-sizing: border-box;
    width: 100%;
    padding: clamp(26px, 4vw, 56px) clamp(18px, 4vw, 48px);
}

.maskay-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(248px, 1fr);
    gap: clamp(22px, 3.2vw, 44px);
    align-items: start;
    color: var(--maskay-cream);
}

.maskay-footer__heading {
    margin: 0 0 9px;
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.maskay-footer__institution,
.maskay-footer__contact {
    min-width: 0;
}

.maskay-footer__institution p,
.maskay-footer__contact p {
    margin: 0 0 7px;
}

.maskay-footer__institution p:last-child,
.maskay-footer__contact p:last-child {
    margin-bottom: 0;
}

.maskay-footer__institution a,
.maskay-footer__contact a {
    color: var(--maskay-cream);
    text-decoration: underline;
    text-underline-offset: .2em;
    overflow-wrap: anywhere;
}

.maskay-footer__institution a:hover,
.maskay-footer__contact a:hover {
    color: var(--maskay-gold);
}

.maskay-footer__issn {
    color: var(--maskay-gold);
    font-size: .9em;
}

.maskay-studio {
    box-sizing: border-box;
    max-width: 388px;
    padding: clamp(20px, 4vw, 29px);
    border-radius: 4px;
    background: #f7efe3;
    color: var(--maskay-deep-coffee);
}

.maskay-studio p {
    margin: 0;
}

.maskay-studio .maskay-studio__heading {
    margin-bottom: 10px;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.maskay-studio .maskay-studio__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 7px 0 14px;
    color: #17120f;
    font-size: clamp(1.12rem, 4vw, 1.45rem);
    font-weight: 800;
    line-height: 1.08;
}

.maskay-studio__brand img {
    flex: 0 0 auto;
    width: clamp(42px, 13vw, 66px);
    height: auto;
}

.maskay-studio a {
    color: #68412a;
    text-underline-offset: .2em;
}

.maskay-studio a:hover,
.maskay-studio a:focus {
    color: #43291d;
}

.pkp_structure_head a:focus-visible,
.pkp_structure_head button:focus-visible,
.maskay-footer a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 850px) {
    .maskay-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .maskay-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .pkp_structure_head .pkp_site_name .is_text {
        min-height: 54px;
        padding: 6px 0;
    }
}
