/*
 * TEMAS de Ciencia y Tecnología
 * Theme child of PKP Classic for OJS 3.5.
 * The colour palette is derived from the journal logo and the supplied design.
 */

:root {
    --temas-navy: #080b0a;
    --temas-navy-deep: #030504;
    --temas-blue: #087ea8;
    --temas-green: #087ea8;
    --temas-green-dark: #066786;
    --temas-green-soft: #e7f6fb;
    --temas-teal: #087ea8;
    --temas-ink: #111413;
    --temas-muted: #5f6763;
    --temas-line: #d8ddda;
    --temas-surface: #f1f0eb;
    --temas-cyan: #69cef0;
    --temas-lime: #c8f34f;
    --temas-coral: #ff746f;
    --temas-shadow: 0 22px 70px rgba(12, 18, 16, 0.12);
    --temas-shell: 1180px;
}

/* ---------- Foundation ---------- */

html,
body {
    color: var(--temas-ink);
    background: #fff;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

body a {
    color: var(--temas-blue);
}

body a:hover,
body a:focus {
    color: var(--temas-green-dark);
}

/* Continuous reading text. Interface labels, menus and headings retain their
   natural alignment below because justification makes short labels uneven. */
.page p,
.page li,
.page dd,
.page td,
.temas-description,
.temas-hero p,
.temas-issue-description,
.temas-feature-card p,
.temas-footer-brand p,
.temas-footer-custom {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.temas-shell {
    width: min(var(--temas-shell), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.temas-site-header,
.temas-site-header .header,
.temas-site-header .container-fluid {
    margin: 0;
    padding: 0;
    background: #fff;
}

/* ---------- Header and menus ---------- */

.temas-utility {
    min-height: 37px;
    color: #fff;
    background: var(--temas-navy);
}

.temas-utility .temas-shell {
    display: flex;
    min-height: 37px;
    align-items: center;
    justify-content: flex-end;
}

.temas-user-nav,
.temas-user-nav #navigationUser,
.temas-user-nav #languageNav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    border: 0;
}

.temas-user-nav .nav-item,
.temas-user-nav li {
    margin: 0;
}

.temas-user-nav a,
.temas-user-nav .nav-link,
.temas-user-nav #languageNav .dropdown-toggle {
    padding: 7px 0 7px 22px;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.temas-user-nav a:hover,
.temas-user-nav a:focus,
.temas-user-nav #languageNav .dropdown-toggle:hover,
.temas-user-nav #languageNav .dropdown-toggle:focus {
    color: #b7e3be !important;
    background: transparent;
}

.temas-user-nav .dropdown-menu {
    right: 0;
    left: auto;
    border: 1px solid var(--temas-line);
    border-radius: 0;
    box-shadow: var(--temas-shadow);
}

.temas-user-nav .dropdown-menu a {
    display: block;
    padding: 8px 14px;
    color: var(--temas-navy) !important;
}

.temas-brand-row {
    border-bottom: 1px solid var(--temas-line);
    background: #fff;
}

.temas-brand-shell {
    display: flex;
    min-height: 103px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.temas-site-header .logo-wrapper {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 12px 0;
    line-height: 0;
}

.temas-site-header .home-link {
    display: inline-flex;
    align-items: center;
    border: 0;
}

.temas-site-header .journal-logo {
    display: block;
    width: auto;
    max-width: min(340px, 64vw);
    max-height: 78px;
    height: auto;
    object-fit: contain;
}

.temas-site-header .journal-logo-text {
    color: var(--temas-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.temas-search {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    color: var(--temas-navy);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.temas-search svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.temas-navigation {
    background: #fff;
    border-bottom: 1px solid var(--temas-line);
    box-shadow: none;
}

.temas-navigation .lower-header {
    min-height: 48px;
}

.temas-navigation #navigationPrimary {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.temas-navigation #navigationPrimary > li {
    display: flex;
    align-items: stretch;
    margin: 0;
}

.temas-navigation #navigationPrimary > li > a,
.temas-navigation #navigationPrimary > li > button,
.temas-navigation #navigationPrimary .nav-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    padding: 14px 21px 11px;
    color: var(--temas-navy) !important;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.69rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.temas-navigation #navigationPrimary > li > a:hover,
.temas-navigation #navigationPrimary > li > a:focus,
.temas-navigation #navigationPrimary > li > button:hover,
.temas-navigation #navigationPrimary > li > button:focus,
.temas-navigation #navigationPrimary .nav-item.show .nav-link,
.temas-navigation #navigationPrimary .nav-link.active {
    color: var(--temas-green-dark) !important;
    border-bottom-color: var(--temas-green);
    background: #f4f9f4;
    outline: none;
}

.temas-navigation #navigationPrimary .dropdown-menu {
    min-width: 210px;
    margin-top: 0;
    padding: 6px 0;
    border: 1px solid var(--temas-line);
    border-radius: 0 0 4px 4px;
    box-shadow: var(--temas-shadow);
}

.temas-navigation #navigationPrimary .dropdown-menu a,
.temas-navigation #navigationPrimary .dropdown-menu .dropdown-item {
    padding: 9px 16px;
    color: var(--temas-navy) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: left;
}

.temas-navigation #navigationPrimary .dropdown-menu a:hover,
.temas-navigation #navigationPrimary .dropdown-menu a:focus,
.temas-navigation #navigationPrimary .dropdown-menu .dropdown-item:hover,
.temas-navigation #navigationPrimary .dropdown-menu .dropdown-item:focus {
    color: var(--temas-green-dark) !important;
    background: var(--temas-green-soft);
}

.temas-navigation #nav-small {
    display: none;
}

/* ---------- Home ---------- */

.temas-home {
    padding: 0;
}

.temas-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: #fff;
    background-color: #052034;
    /* The left text panel is the exact institutional navy selected for this
       journal. The transparent stops only begin where the photograph begins. */
    background-image: linear-gradient(90deg, #052034 0%, #052034 42%, rgba(5, 32, 52, 0.88) 56%, rgba(5, 32, 52, 0.30) 75%, rgba(5, 32, 52, 0) 100%), url('../images/hero-temas.png');
    /* On wide monitors `cover` enlarged the image until only the lens was
       visible. Keeping the image close to its natural ratio shows the report,
       charts and magnifier together, while the navy colour fills the left. */
    background-position: left top, right center;
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 100%, auto 120%;
}

.temas-hero-content {
    display: flex;
    /* Align precisely with the journal content below the hero. */
    width: min(var(--temas-shell), calc(100% - 48px));
    min-height: 520px;
    align-items: center;
}

.temas-hero-copy {
    width: min(680px, 100%);
    padding: 62px 0;
}

.temas-hero h2,
.temas-section h2,
.temas-current-copy h2,
.temas-issue-meta h1,
.temas-issue-toc > h2 {
    margin: 0;
    color: inherit;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.temas-hero h2 {
    max-width: 680px;
    color: #fff !important;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.13;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.45);
}

.temas-hero p {
    max-width: 610px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    line-height: 1.65;
}

.temas-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 29px;
}

.temas-button,
.temas-text-button {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    padding: 10px 19px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.temas-button:hover,
.temas-button:focus,
.temas-text-button:hover,
.temas-text-button:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.temas-button-primary,
.temas-text-button {
    color: #fff;
    border-color: var(--temas-green);
    background: var(--temas-green);
}

.temas-button-primary:hover,
.temas-button-primary:focus,
.temas-text-button:hover,
.temas-text-button:focus {
    color: #fff;
    border-color: var(--temas-green-dark);
    background: var(--temas-green-dark);
}

.temas-button-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(7, 31, 51, 0.24);
}

.temas-button-ghost:hover,
.temas-button-ghost:focus {
    color: var(--temas-navy);
    border-color: #fff;
    background: #fff;
}

.temas-section {
    padding: 66px 0;
}

.temas-section h2,
.temas-current-copy h2,
.temas-issue-toc > h2 {
    color: var(--temas-navy);
    font-size: clamp(1.55rem, 2vw, 2.05rem);
    line-height: 1.2;
}

.temas-title-rule {
    width: 40px;
    height: 3px;
    margin: 14px 0 27px;
    background: var(--temas-green);
}

.temas-about {
    background: #fff;
}

.temas-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 85px);
    align-items: center;
}

.temas-description,
.temas-about-copy > p {
    color: #334452;
    font-size: 0.95rem;
    line-height: 1.75;
}

.temas-description p {
    margin: 0 0 14px;
}

.temas-about-copy .temas-text-button {
    margin-top: 11px;
}

.temas-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.temas-feature-card {
    display: flex;
    min-height: 117px;
    gap: 13px;
    padding: 19px 16px;
    border: 1px solid #e1e8e7;
    border-radius: 7px;
    background: #fbfcfc;
}

.temas-feature-icon {
    flex: 0 0 28px;
    color: var(--temas-green-dark);
}

.temas-feature-icon svg,
.temas-area svg {
    width: 100%;
    height: auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.temas-feature-card h3 {
    margin: 0 0 5px;
    color: var(--temas-navy);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.temas-feature-card p {
    margin: 0;
    color: #4d5d69;
    font-size: 0.73rem;
    line-height: 1.45;
}

.temas-current-issue {
    padding: 58px 0;
    background: var(--temas-surface);
    border-top: 1px solid #e6ecee;
    border-bottom: 1px solid #e6ecee;
}

.temas-current-issue-grid {
    display: flex;
    max-width: 940px;
    align-items: center;
    gap: clamp(30px, 6vw, 82px);
}

.temas-current-cover,
.temas-issue-cover {
    display: block;
    flex: 0 0 auto;
}

.temas-current-cover img,
.temas-issue-cover img {
    display: block;
    width: min(235px, 35vw);
    height: auto;
    box-shadow: 0 8px 22px rgba(10, 39, 66, 0.18);
}

.temas-current-copy {
    flex: 1 1 auto;
}

.temas-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--temas-green-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.temas-current-copy h2 {
    margin-bottom: 12px;
}

.temas-published {
    margin: 0 0 16px;
    color: var(--temas-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.temas-issue-description {
    margin-bottom: 22px;
    color: #3e4d59;
    font-size: 0.9rem;
    line-height: 1.65;
}

.temas-issue-description p:last-child {
    margin-bottom: 0;
}

.temas-areas {
    /* Warm, almost-white surface: distinct from the cooler footer. */
    background: #f7f8f3;
    border-top: 1px solid #e5e8df;
}

.temas-area-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 17px;
    align-items: start;
}

.temas-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--temas-green-dark);
    text-align: center;
}

.temas-area svg {
    width: 39px;
    height: 39px;
}

.temas-area span {
    color: var(--temas-ink);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.35;
}

.temas-home .cmp_announcements,
.temas-additional-content {
    width: min(var(--temas-shell), calc(100% - 48px));
    margin: 0 auto;
    padding: 45px 0;
}

/* Invitation image entered through the OJS page editor. The uploaded image
   contains fixed pixel dimensions (1680 × 2100); override only this image so
   it follows its content column rather than overflowing at its native size. */
.page img[alt^="Invitación a publicar"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* ---------- Inner pages, issue and archive ---------- */

.temas-inner-page,
main.page:not(.page_index_journal) {
    width: min(var(--temas-shell), calc(100% - 48px));
    min-height: 480px;
    margin: 0 auto;
    padding: 44px 0 74px;
}

main.page:not(.page_index_journal) h1 {
    color: var(--temas-navy);
    font-family: Georgia, 'Times New Roman', serif;
}

main.page:not(.page_index_journal) .cmp_breadcrumbs {
    margin-bottom: 20px;
    color: var(--temas-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.76rem;
}

main.page:not(.page_index_journal) .cmp_breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none !important;
}

main.page:not(.page_index_journal) .cmp_breadcrumbs li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

main.page:not(.page_index_journal) .cmp_breadcrumbs ol > li::marker {
    content: '';
}

main.page:not(.page_index_journal) .cmp_breadcrumbs a,
main.page:not(.page_index_journal) .cmp_breadcrumbs a:hover,
main.page:not(.page_index_journal) .cmp_breadcrumbs a:focus,
main.page:not(.page_index_journal) .cmp_breadcrumbs a:active {
    display: inline;
    padding: 0;
    color: var(--temas-teal) !important;
    border: 0;
    background: transparent !important;
    box-shadow: none;
    text-decoration: none;
}

main.page:not(.page_index_journal) .cmp_breadcrumbs a:hover,
main.page:not(.page_index_journal) .cmp_breadcrumbs a:focus {
    color: var(--temas-green-dark) !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

main.page:not(.page_index_journal) .cmp_breadcrumbs .separator {
    display: inline-block;
    margin: 0 8px;
    color: #95a2aa;
}

main.page:not(.page_index_journal) .cmp_breadcrumbs a {
    color: var(--temas-teal);
    text-decoration: none;
}

.temas-issue-overview {
    display: flex;
    align-items: flex-start;
    gap: clamp(28px, 6vw, 75px);
    padding: clamp(26px, 4vw, 55px);
    border: 1px solid var(--temas-line);
    background: #fff;
    box-shadow: var(--temas-shadow);
}

.temas-issue-meta {
    flex: 1 1 auto;
}

.temas-issue-meta h1 {
    margin: 0 0 12px;
    border: 0;
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

.temas-issue-toc {
    margin-top: 45px;
}

.temas-issue-toc > h2 {
    margin-bottom: 24px;
    padding-bottom: 13px;
    border-bottom: 3px solid var(--temas-green);
}

.temas-issue-toc .obj_issue_toc > .heading {
    display: none;
}

.temas-issue-toc .section {
    margin-top: 30px;
}

.temas-issue-toc .section > h2,
.temas-issue-toc .section > h3 {
    color: var(--temas-navy);
    font-family: Georgia, 'Times New Roman', serif;
}

.temas-issue-toc .cmp_article_list > li {
    padding: 19px 0;
    border-color: var(--temas-line);
}

.temas-issue-toc .obj_article_summary .title a {
    color: var(--temas-blue);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
}

.page_issue_archive h1 {
    padding-bottom: 14px;
    border-bottom: 3px solid var(--temas-green);
}

.page_issue_archive .issues_archive {
    display: grid;
    gap: 18px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

.page_issue_archive .obj_issue_summary {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 17px;
    border: 1px solid var(--temas-line);
    background: #fff;
    box-shadow: 0 2px 8px rgba(10, 39, 66, 0.05);
}

.page_issue_archive .obj_issue_summary .cover {
    display: block;
}

.page_issue_archive .obj_issue_summary .cover img {
    display: block;
    width: 100%;
    height: auto;
}

.page_issue_archive .obj_issue_summary h2 {
    margin: 0 0 9px;
    color: var(--temas-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.12rem;
}

.page_issue_archive .obj_issue_summary h2 a {
    color: inherit;
}

.page_issue_archive .obj_issue_summary .series,
.page_issue_archive .obj_issue_summary .description {
    color: var(--temas-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
}

.page_issue_archive .obj_issue_summary .description p:last-child {
    margin-bottom: 0;
}

/* Default OJS controls inherit the green accent. */
.cmp_button,
.pkp_button,
button[type="submit"],
input[type="submit"] {
    color: #fff !important;
    border-color: var(--temas-green) !important;
    background: var(--temas-green) !important;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.cmp_button:hover,
.cmp_button:focus,
.pkp_button:hover,
.pkp_button:focus,
button[type="submit"]:hover,
button[type="submit"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    border-color: var(--temas-green-dark) !important;
    background: var(--temas-green-dark) !important;
}

/* ---------- Footer ---------- */

.temas-site-footer {
    padding: 36px 0;
    border-top: 1px solid var(--temas-line);
    color: #3e4c57;
    /* Cooler blue-grey, intentionally different from the Areas section. */
    background: #e9f0f1;
    font-family: Arial, Helvetica, sans-serif;
}

.temas-footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(210px, 0.8fr) minmax(118px, auto);
    gap: 34px;
    align-items: center;
}

.temas-footer-logo {
    display: inline-flex;
    max-width: 265px;
    align-items: center;
}

.temas-footer-logo img {
    display: block;
    max-width: 100%;
    max-height: 59px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.temas-footer-logo span {
    color: var(--temas-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 700;
}

.temas-footer-brand p {
    margin: 11px 0 0;
    font-size: 0.7rem;
    line-height: 1.55;
}

.temas-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
}

.temas-footer-links > a {
    padding: 0 12px;
    color: var(--temas-blue);
    border-right: 1px solid #aab6ba;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.temas-footer-links > a:last-of-type {
    border-right: 0;
}

.temas-footer-links > a:hover,
.temas-footer-links > a:focus {
    color: #fff !important;
    border-color: var(--temas-green-dark);
    border-radius: 2px;
    background: var(--temas-green-dark);
}

.temas-footer-custom {
    width: 100%;
    margin-top: 9px;
    color: var(--temas-muted);
    font-size: 0.72rem;
    text-align: center;
}

.temas-site-footer .pkpbrand-wrapper {
    display: flex;
    flex: none !important;
    width: auto;
    max-width: none !important;
    justify-content: flex-end;
}

.temas-site-footer .footer-brand-image {
    display: block;
    /* Classic limits this footer column to 25%, which made the PKP brand
       nearly illegible. Let OJS use the image's normal dimensions instead. */
    width: auto;
    max-width: 50% !important;
    height: auto;
}

/* ---------- Responsive navigation and layout ---------- */

@media (max-width: 991px) {
    .temas-navigation .lower-header {
        position: relative;
    }

    .temas-navigation #nav-small {
        display: flex;
        min-height: 46px;
        align-items: center;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .temas-navigation #show-modal {
        padding: 13px 0;
        color: var(--temas-navy) !important;
        border: 0;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.73rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .temas-navigation #show-modal:hover,
    .temas-navigation #show-modal:focus {
        color: var(--temas-green-dark) !important;
        background: transparent;
    }

    .temas-navigation .nav-modal {
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(6, 27, 48, 0.5);
    }

    .temas-navigation .nav-modal.hide {
        display: none;
    }

    .temas-navigation #primary-nav-wraper {
        position: absolute;
        top: 0;
        right: 0;
        width: min(390px, 86vw);
        height: 100%;
        overflow-y: auto;
        padding: 48px 25px 25px;
        background: #fff;
        box-shadow: -4px 0 18px rgba(6, 27, 48, 0.18);
    }

    .temas-navigation #close-small-modal {
        position: absolute;
        top: 11px;
        right: 16px;
        color: var(--temas-navy);
        cursor: pointer;
        font-size: 1.7rem;
        line-height: 1;
    }

    .temas-navigation #navigationPrimary {
        display: block;
    }

    .temas-navigation #navigationPrimary > li {
        display: block;
        border-bottom: 1px solid var(--temas-line);
    }

    .temas-navigation #navigationPrimary > li > a,
    .temas-navigation #navigationPrimary > li > button,
    .temas-navigation #navigationPrimary .nav-link {
        display: flex;
        justify-content: space-between;
        padding: 16px 0 14px;
        font-size: 0.78rem;
    }

    .temas-navigation #navigationPrimary .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0 0 10px;
        border: 0;
        box-shadow: none;
    }

    .temas-navigation #navigationPrimary .dropdown-menu a,
    .temas-navigation #navigationPrimary .dropdown-menu .dropdown-item {
        padding-left: 12px;
    }

    .temas-area-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 29px;
    }

    .temas-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .temas-site-footer .pkpbrand-wrapper {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .temas-shell,
    .temas-home .cmp_announcements,
    .temas-additional-content,
    .temas-inner-page,
    main.page:not(.page_index_journal) {
        width: min(100% - 32px, var(--temas-shell));
    }

    .temas-brand-shell {
        min-height: 87px;
        gap: 14px;
    }

    .temas-site-header .journal-logo {
        max-width: min(285px, 69vw);
        max-height: 61px;
    }

    .temas-search span {
        display: none;
    }

    .temas-search svg {
        width: 18px;
        height: 18px;
    }

    .temas-hero,
    .temas-hero-content {
        min-height: 450px;
    }

    .temas-hero {
        background-color: #052034;
        background-image: linear-gradient(90deg, #052034, rgba(5, 32, 52, 0.78)), url('../images/hero-temas.png');
        background-position: left top, 60% center;
        background-size: 100% 100%, cover;
    }

    .temas-hero-copy {
        padding: 50px 0;
    }

    .temas-section {
        padding: 48px 0;
    }

    .temas-about-grid {
        grid-template-columns: 1fr;
    }

    .temas-current-issue-grid,
    .temas-issue-overview {
        flex-direction: column;
        align-items: flex-start;
    }

    .temas-current-cover img,
    .temas-issue-cover img {
        width: min(235px, 60vw);
    }

    .temas-area-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page_issue_archive .obj_issue_summary {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 16px;
        padding: 13px;
    }

    .temas-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .temas-footer-links {
        justify-content: flex-start;
    }

    .temas-footer-links > a {
        padding-left: 0;
        padding-right: 12px;
    }
}

@media (max-width: 420px) {
    .temas-user-nav a,
    .temas-user-nav .nav-link,
    .temas-user-nav #languageNav .dropdown-toggle {
        padding-left: 12px;
        font-size: 0.69rem;
    }

    .temas-feature-grid {
        grid-template-columns: 1fr;
    }

    .temas-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================================================
   TEMAS — editorial homepage v1.0
   Final layer: overrides Classic and the inherited base where needed.
   ======================================================================== */

.temas-home p,
.temas-home li,
.temas-site-header p,
.temas-site-footer p { text-align: left; hyphens: none; }

.temas-site-header,
.temas-site-header .header,
.temas-site-header .container-fluid,
.temas-main-row,
.temas-navigation { color: #fff; background: var(--temas-navy); }

.temas-site-header { position: relative; z-index: 100; box-shadow: 0 12px 34px rgba(0,0,0,.16); }
.temas-utility { min-height: 36px; color: rgba(255,255,255,.68); background: #030504; }
.temas-utility .temas-shell,
.temas-utility-shell { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 24px; }
.temas-institution { color: rgba(255,255,255,.68) !important; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.temas-institution:hover,
.temas-institution:focus,
.temas-user-nav a:hover,
.temas-user-nav a:focus { color: var(--temas-cyan) !important; }

.temas-main-row { border: 0; background: var(--temas-navy); }
.temas-main-shell { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 28px; }
.temas-site-header .logo-wrapper { flex: 0 1 390px; width: min(390px,34vw); margin: 0; padding: 12px 0; }
.temas-site-header .home-link { display: block; width: 100%; }
.temas-site-header .journal-logo,
.temas-site-header .temas-official-logo { display: block; width: 100%; max-width: none; max-height: 54px; object-fit: contain; object-position: left center; }

/* The journal-level custom stylesheet in this OJS installation applies
   responsive widths to every img.journal-logo with !important. These more
   specific rules keep the uploaded OJS logo inside this theme's header. */
body .temas-site-header .temas-main-row .temas-main-shell h1.logo-wrapper {
    flex: 0 1 390px !important;
    width: min(390px,34vw) !important;
    max-width: min(390px,34vw) !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    overflow: hidden !important;
}
body .temas-site-header .temas-main-row .temas-main-shell h1.logo-wrapper a.home-link {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
}
body .temas-site-header .temas-main-row .temas-main-shell h1.logo-wrapper a.home-link img.journal-logo.temas-official-logo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 54px !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
}

.temas-navigation { flex: 1; border: 0; background: transparent; }
.temas-navigation-shell { display: flex; min-height: 84px; align-items: center; justify-content: flex-end; gap: 22px; }
.temas-navigation .lower-header { min-height: 84px; }
.temas-navigation #navigationPrimary { justify-content: flex-start; }
.temas-navigation #navigationPrimary > li > a,
.temas-navigation #navigationPrimary > li > button,
.temas-navigation #navigationPrimary .nav-link { min-height: 84px; padding: 30px 12px 27px; color: rgba(255,255,255,.74) !important; border-bottom: 3px solid transparent; font-size: .69rem; letter-spacing: .03em; }
.temas-navigation #navigationPrimary > li > a:hover,
.temas-navigation #navigationPrimary > li > a:focus,
.temas-navigation #navigationPrimary > li > button:hover,
.temas-navigation #navigationPrimary > li > button:focus,
.temas-navigation #navigationPrimary .nav-item.show .nav-link,
.temas-navigation #navigationPrimary .nav-link.active { color: var(--temas-cyan) !important; border-bottom-color: var(--temas-cyan); background: transparent; }

.temas-nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 18px; }
.temas-search { display: grid; width: 38px; height: 38px; place-items: center; color: rgba(255,255,255,.78) !important; border-left: 1px solid rgba(255,255,255,.18); }
.temas-search svg { width: 18px; height: 18px; }
.temas-header-submit { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; padding: 0 19px; color: var(--temas-navy) !important; border-radius: 999px; background: #fff; font-size: .76rem; font-weight: 800; text-decoration: none; }
.temas-header-submit:hover,
.temas-header-submit:focus { color: var(--temas-navy) !important; background: var(--temas-lime); text-decoration: none; }

.temas-home { padding: 0; background: #f7f6f2; }
.temas-hero { min-height: 0; overflow: hidden; color: var(--temas-ink); background: var(--temas-surface); }
.temas-hero-background { position: absolute; inset: 0; z-index: 0; }
.temas-hero-background img { display: block; width: 100%; height: 100%; object-fit: cover; }
.temas-hero::after { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg,rgba(241,240,235,.96) 0%,rgba(241,240,235,.7) 43%,rgba(241,240,235,.04) 100%); content: ''; pointer-events: none; }
.temas-hero-layout { position: relative; z-index: 1; display: grid; min-height: 510px; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: clamp(38px,6vw,76px); align-items: center; padding-top: 56px; padding-bottom: 62px; }
.temas-hero-copy { width: auto; max-width: 540px; padding: 0; }
.temas-kicker { margin: 0 0 17px !important; color: var(--temas-blue) !important; font-size: .7rem !important; font-weight: 800; line-height: 1.4 !important; letter-spacing: .16em; text-transform: uppercase; }
.temas-hero h2 { max-width: 560px; margin: 0; color: var(--temas-ink) !important; font-family: Georgia,'Times New Roman',serif; font-size: clamp(2.7rem,5vw,4.75rem); font-weight: 600; line-height: .96; letter-spacing: -.055em; text-shadow: none; }
.temas-hero h2.pkp_screen_reader { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.temas-hero-lead,
.temas-hero p.temas-hero-lead { max-width: 530px; margin: 24px 0 0; color: var(--temas-muted); font-size: 1.02rem; line-height: 1.72; }
.temas-hero-actions { margin-top: 30px; }

.temas-button { min-height: 48px; padding: 0 21px; border-radius: 999px; font-size: .78rem; text-transform: none; }
.temas-button-dark { color: #fff !important; border-color: var(--temas-navy); background: var(--temas-navy); }
.temas-button-dark:hover,
.temas-button-dark:focus { color: #fff !important; border-color: var(--temas-blue); background: var(--temas-blue); }
.temas-button-outline { color: var(--temas-ink) !important; border-color: #bfc5c1; background: rgba(255,255,255,.5); }
.temas-button-outline:hover,
.temas-button-outline:focus { color: var(--temas-ink) !important; border-color: var(--temas-ink); background: #fff; }

.temas-hero-visual { position: relative; width: min(100%,520px); min-height: 0; margin-left: auto; aspect-ratio: 1 / 1; }
.temas-hero-stage { position: absolute; inset: 0; overflow: hidden; border: 8px solid #fff; background: #ecebe5; box-shadow: 0 30px 80px rgba(12,18,16,.19); }
.temas-hero-stage::after { position: absolute; inset: 0; z-index: 1; border: 1px solid rgba(17,20,19,.12); content: ''; pointer-events: none; }
.temas-hero-field { position: absolute; inset: 0; opacity: .44; }
.temas-hero-field::after { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(247,246,242,.72),rgba(247,246,242,.08)); content: ''; }
.temas-hero-field img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(.92); }
.temas-hero-cover-focus { position: absolute; left: 50%; top: 50%; z-index: 3; width: min(54%,270px); transform: translate(-50%,-50%) rotate(-2.4deg); box-shadow: 0 24px 46px rgba(4,8,7,.27); transition: transform .22s ease; }
.temas-hero-cover-focus:hover,
.temas-hero-cover-focus:focus { transform: translate(-50%,calc(-50% - 4px)) rotate(-1deg); }
.temas-hero-cover-focus img { display: block; width: 100%; height: auto; }
.temas-hero-concept { width: min(100%,500px); margin: 0 auto 25px; }
.temas-hero-concept img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 20px rgba(8,11,10,.08)); }
.temas-issue-badge { position: absolute; top: -14px; right: -18px; z-index: 5; display: grid; width: 158px; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 17px; color: #fff; border-radius: 4px; background: var(--temas-navy); box-shadow: 0 24px 60px rgba(12,18,16,.18); }
.temas-issue-badge > span { grid-column: 1/-1; color: var(--temas-cyan); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.temas-issue-badge strong { font-family: Georgia,'Times New Roman',serif; font-size: 4.4rem; font-weight: 600; line-height: .92; }
.temas-issue-badge small { align-self: end; padding-bottom: 7px; color: rgba(255,255,255,.72); font-size: .62rem; font-weight: 700; line-height: 1.35; }

.temas-current-section,
.temas-highlights,
.temas-about,
.temas-author-cta { padding: 88px 0; }
.temas-current-section { background: #f7f6f2; }
.temas-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.temas-section-heading h2,
.temas-current-copy h3,
.temas-about h2,
.temas-author-cta h2 { margin: 0; color: var(--temas-ink); font-family: Georgia,'Times New Roman',serif; font-weight: 600; letter-spacing: -.05em; }
.temas-section-heading h2 { font-size: clamp(2.5rem,5vw,4.15rem); line-height: .98; }
.temas-section-heading > p { margin: 0; color: var(--temas-muted); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.temas-current-card { display: grid; grid-template-columns: minmax(250px,.74fr) minmax(0,1.26fr); overflow: hidden; border: 1px solid var(--temas-line); background: #fff; box-shadow: var(--temas-shadow); }
.temas-current-cover { display: grid; min-height: 540px; place-items: center; padding: 40px; background: #dfe3e0; }
.temas-current-cover img { display: block; width: min(100%,340px); height: auto; box-shadow: 0 24px 55px rgba(6,9,8,.2); transition: transform .24s ease; }
.temas-current-cover:hover img { transform: translateY(-5px) rotate(-.6deg); }
.temas-current-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px,6vw,78px); }
.temas-current-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--temas-muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.temas-current-copy h3 { max-width: 650px; margin-top: 26px; font-size: clamp(2.8rem,5vw,5.2rem); line-height: .92; }
.temas-current-copy > p,
.temas-current-copy .temas-issue-description { margin: 24px 0 0; color: var(--temas-muted); font-size: 1rem; line-height: 1.72; }
.temas-current-copy .temas-issue-summary { max-width: 620px; }
.temas-current-date { display: inline-flex; align-items: center; gap: 8px; }
.temas-current-date svg { width: 16px; height: 16px; fill: none; stroke: var(--temas-blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.temas-current-stats { display: flex; gap: clamp(30px,5vw,64px); margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--temas-line); }
.temas-current-stats div { display: flex; min-width: 72px; flex-direction: column; }
.temas-current-stats strong { color: var(--temas-ink); font-family: Georgia,'Times New Roman',serif; font-size: 2rem; line-height: 1; }
.temas-current-stats span { margin-top: 7px; color: var(--temas-muted); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.temas-current-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.temas-current-actions .temas-button { gap: 9px; }
.temas-current-actions .temas-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.temas-highlights { background: #edf0ed; }
.temas-section-heading-light > a { display: inline-flex; align-items: center; gap: 8px; color: var(--temas-blue); font-size: .78rem; font-weight: 800; text-decoration: none; }
.temas-featured-list { margin: 0; padding: 0; border-top: 1px solid #c8ceca; list-style: none; }
.temas-featured-article { display: grid; grid-template-columns: 54px minmax(0,1fr) 42px; gap: 22px; align-items: center; min-height: 112px; padding: 22px 0; border-bottom: 1px solid #c8ceca; }
.temas-featured-number { color: #98a09c; font-family: Georgia,'Times New Roman',serif; font-size: 1.45rem; }
.temas-featured-body { display: grid; grid-template-columns: 72px minmax(0,1fr) 82px; gap: 16px; align-items: center; min-width: 0; }
.temas-featured-body .article_summary,
.temas-featured-body .article_summary_body { display: contents; }
.temas-featured-body .summary_title_wrapper { grid-column: 2; min-width: 0; margin: 0; }
.temas-featured-body .summary_title { display: block; color: var(--temas-ink) !important; border: 0 !important; font-family: Georgia,'Times New Roman',serif; font-size: clamp(1.2rem,2.4vw,1.78rem); font-weight: 600; line-height: 1.22; text-decoration: none !important; }
.temas-featured-body .summary_title:hover,
.temas-featured-body .summary_title:focus { color: var(--temas-blue) !important; }
.temas-featured-body .summary_meta { grid-column: 3; margin: 0; color: var(--temas-muted); font-family: Georgia,'Times New Roman',serif; font-size: .68rem; font-weight: 700; }
.temas-featured-body .summary_meta .authors { display: none; }
.temas-featured-body .summary_meta .pages::before { content: 'pp. '; }
.temas-featured-body .galleys_links { display: none !important; }
.temas-featured-section { grid-column: 1; display: block; margin: 0; color: var(--temas-blue); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.temas-featured-arrow { display: grid; width: 38px; height: 38px; place-items: center; color: var(--temas-blue) !important; border: 1px solid #b8c0bb; border-radius: 50%; text-decoration: none !important; }
.temas-featured-article:hover .temas-featured-arrow,
.temas-featured-arrow:hover,
.temas-featured-arrow:focus { color: #fff !important; border-color: var(--temas-blue); background: var(--temas-blue); box-shadow: none; text-decoration: none !important; }

.temas-about { background: #f7f6f2; }
.temas-about-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(44px,7vw,90px); align-items: start; }
.temas-about h2 { font-size: clamp(2.7rem,5vw,4.4rem); line-height: 1; }
.temas-about-lead,
.temas-about-lead p { margin: 0; color: var(--temas-ink); font-family: Georgia,'Times New Roman',serif; font-size: clamp(1.45rem,2.6vw,2.2rem); line-height: 1.3; }
.temas-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 48px; }
.temas-values article { padding-top: 20px; border-top: 2px solid var(--temas-line); }
.temas-values svg { width: 23px; height: 23px; margin-bottom: 22px; fill: none; stroke: var(--temas-blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.temas-values h3 { margin: 0; color: var(--temas-ink); font-size: .84rem; }
.temas-values p { margin: 8px 0 0; color: var(--temas-muted); font-size: .74rem; line-height: 1.55; }

.temas-author-cta { position: relative; overflow: hidden; color: #fff; background: var(--temas-blue); }
.temas-author-cta::after { position: absolute; right: -110px; bottom: -300px; width: 520px; height: 520px; border: 90px solid rgba(200,243,79,.22); border-radius: 50%; content: ''; }
.temas-author-layout { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.temas-author-cta .temas-kicker { color: var(--temas-lime) !important; }
.temas-author-cta h2 { color: #fff; font-size: clamp(2.4rem,5vw,4.4rem); line-height: 1; }
.temas-author-cta p:not(.temas-kicker) { margin: 13px 0 0; color: rgba(255,255,255,.74); }
.temas-button-light { flex: 0 0 auto; color: var(--temas-blue) !important; border-color: #fff; background: #fff; }
.temas-button-light:hover,
.temas-button-light:focus { color: var(--temas-navy) !important; border-color: var(--temas-lime); background: var(--temas-lime); }

.temas-site-footer { padding: 58px 0 38px; color: #fff; background: var(--temas-navy); }
.temas-footer-grid { display: grid; grid-template-columns: minmax(0,1.3fr) .65fr .65fr auto; gap: 42px; align-items: start; }
.temas-footer-logo { display: block; width: min(100%,470px); }
.temas-footer-logo img { display: block; width: 100%; max-height: 76px; object-fit: contain; object-position: left center; }
.temas-footer-brand p,
.temas-footer-custom { margin-top: 20px; color: rgba(255,255,255,.56); font-size: .76rem; line-height: 1.65; }
.temas-footer-links { display: block; }
.temas-footer-links strong { display: block; margin-bottom: 18px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.temas-footer-links a { display: block; width: fit-content; margin-top: 9px; padding: 0; color: rgba(255,255,255,.58); font-size: .76rem; text-decoration: none; }
.temas-footer-links a:hover,
.temas-footer-links a:focus { color: var(--temas-cyan); }

@media (max-width: 1050px) {
    .temas-navigation #navigationPrimary > li > a,
    .temas-navigation #navigationPrimary > li > button,
    .temas-navigation #navigationPrimary .nav-link { padding-right: 11px; padding-left: 11px; }
    .temas-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .temas-site-footer .pkpbrand-wrapper { grid-column: 1/-1; }
}

@media (max-width: 991px) {
    .temas-navigation #nav-small { display: flex; margin: 0; padding: 0; }
    .temas-navigation #nav-small .nav-link { min-height: 48px; color: #fff !important; }
    .temas-main-shell { min-height: 76px; }
    .temas-site-header .logo-wrapper { width: min(300px,76vw); flex-basis: 300px; }
    body .temas-site-header .temas-main-row .temas-main-shell h1.logo-wrapper { flex-basis: 300px !important; width: min(300px,76vw) !important; max-width: min(300px,76vw) !important; }
    .temas-navigation { flex: 0 0 auto; }
    .temas-navigation-shell,
    .temas-navigation .lower-header { min-height: 54px; }
    .temas-navigation .nav-modal { color: var(--temas-ink); background: #fff; }
    .temas-hero-layout { grid-template-columns: 1fr; padding-top: 52px; }
    .temas-hero-copy { max-width: 650px; }
    .temas-hero-visual { margin-inline: auto; }
    .temas-about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .temas-shell,
    .temas-home .cmp_announcements,
    .temas-additional-content { width: min(100% - 28px,var(--temas-shell)); }
    .temas-utility-shell { align-items: flex-start; padding-top: 7px; padding-bottom: 7px; }
    .temas-institution { max-width: 48%; font-size: .57rem; line-height: 1.35; }
    .temas-site-header .journal-logo,
    .temas-site-header .temas-official-logo { max-height: 42px; }
    body .temas-site-header .temas-main-row .temas-main-shell h1.logo-wrapper a.home-link img.journal-logo.temas-official-logo { max-height: 42px !important; }
    .temas-nav-actions .temas-search { display: none; }
    .temas-header-submit { min-height: 38px; padding: 0 15px; font-size: .7rem; }
    .temas-hero-layout { gap: 38px; padding-top: 44px; padding-bottom: 50px; }
    .temas-hero h2 { font-size: clamp(2.75rem,12vw,4rem); }
    .temas-hero-cover-focus { width: min(54%,230px); }
    .temas-hero-concept { width: min(100%,460px); margin-bottom: 22px; }
    .temas-issue-badge { width: 145px; padding: 16px; }
    .temas-issue-badge strong { font-size: 3.7rem; }
    .temas-current-section,
    .temas-highlights,
    .temas-about,
    .temas-author-cta { padding: 68px 0; }
    .temas-current-card { grid-template-columns: 1fr; }
    .temas-current-cover { min-height: 0; padding: 30px 24px; }
    .temas-current-cover img { width: min(78%,330px); }
    .temas-current-copy { padding: 34px 24px 40px; }
    .temas-current-stats { justify-content: space-between; gap: 14px; }
    .temas-featured-article { grid-template-columns: 38px minmax(0,1fr) 38px; gap: 12px; }
    .temas-featured-body { grid-template-columns: 1fr; gap: 7px; }
    .temas-featured-section,
    .temas-featured-body .summary_title_wrapper,
    .temas-featured-body .summary_meta { grid-column: 1; }
    .temas-featured-body .summary_meta { font-size: .66rem; }
    .temas-values { grid-template-columns: 1fr; }
    .temas-author-layout { align-items: flex-start; flex-direction: column; }
    .temas-footer-grid { grid-template-columns: 1fr 1fr; }
    .temas-footer-brand,
    .temas-site-footer .pkpbrand-wrapper { grid-column: 1/-1; }
}

@media (max-width: 440px) {
    .temas-main-shell { min-height: 72px; }
    .temas-site-header .logo-wrapper { width: 72vw; flex-basis: 72vw; }
    body .temas-site-header .temas-main-row .temas-main-shell h1.logo-wrapper { flex-basis: 72vw !important; width: 72vw !important; max-width: 72vw !important; }
    .temas-site-header .journal-logo,
    .temas-site-header .temas-official-logo { max-height: 38px; }
    body .temas-site-header .temas-main-row .temas-main-shell h1.logo-wrapper a.home-link img.journal-logo.temas-official-logo { max-height: 38px !important; }
    .temas-header-submit { display: none; }
    .temas-hero h2 { font-size: 2.85rem; }
    .temas-hero-cover-focus { width: 54%; }
    .temas-section-heading { align-items: flex-start; flex-direction: column; }
    .temas-hero-actions .temas-button,
    .temas-current-actions .temas-button { width: 100%; }
}

/* ========================================================================
   TEMAS — archive, link contrast and footer brand hardening (v1.0.7)
   These rules intentionally sit last so journal-level Classic declarations
   cannot collapse issue summaries or recolour links without enough contrast.
   ======================================================================== */

/* The OJS archive markup uses .issues_list/.issue_item. Classic assigns each
   item a narrow flex basis, while this theme's summary is a two-column grid;
   together those rules reduced the text column to 0px. Use one editorial row
   per issue and let every grid track retain a real width. */
.page_issue_archive > .container-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 52px 0 92px !important;
}

.page_issue_archive .current_page_title,
.page_issue_archive > .container-page > header {
    margin: 0 0 34px;
}

.page_issue_archive h1 {
    margin: 0;
    padding: 0 0 18px;
    color: var(--temas-ink);
    border-bottom: 1px solid var(--temas-line);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.025em;
    text-align: left;
}

.page_issue_archive .issues_list {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.page_issue_archive .issue_item {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page_issue_archive .obj_issue_summary {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 258px;
    grid-template-columns: 172px minmax(0, 1fr) !important;
    grid-template-rows: auto auto 1fr;
    gap: 11px 30px !important;
    align-items: start;
    margin: 0 !important;
    padding: 26px !important;
    border: 1px solid var(--temas-line);
    background: #fff;
    box-shadow: 0 16px 44px rgba(8, 11, 10, .07);
    box-sizing: border-box;
}

.page_issue_archive .obj_issue_summary .cover {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    align-self: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.page_issue_archive .obj_issue_summary .cover img,
.page_issue_archive .obj_issue_summary img.archive_issue_cover {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 236px;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain;
    box-shadow: 0 14px 28px rgba(8, 11, 10, .16);
}

.page_issue_archive .issue_summary_title {
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--temas-ink) !important;
    border: 0 !important;
    background: transparent !important;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.55rem, 2.6vw, 2.45rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-decoration: none !important;
    overflow-wrap: normal;
    word-break: normal;
}

.page_issue_archive .issue_summary_title span {
    display: inline-block;
    width: auto !important;
    white-space: normal;
}

.page_issue_archive .issue_summary_title span + span::before {
    margin-right: 8px;
    color: var(--temas-cyan);
    content: '\00b7';
}

.page_issue_archive .issue_title {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 760px;
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--temas-blue) !important;
    border: 0 !important;
    background: transparent !important;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.38;
    text-decoration-color: rgba(8, 126, 168, .35);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    overflow-wrap: break-word;
    word-break: normal;
}

.page_issue_archive .issue_summary_date {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    grid-column: 2 !important;
    grid-row: 3 !important;
    align-self: end;
    margin: 8px 0 0 !important;
    padding-top: 15px;
    color: var(--temas-muted);
    border-top: 1px solid var(--temas-line);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: normal;
}

/* Accessible link states: cyan is excellent on the black chrome but too pale
   for small text on white. Light surfaces retain the blue text and use cyan
   as the underline/accent so the hover is both visible and readable. */
main.page:not(.page_index_journal) a:not(.temas-button):not(.cmp_button):not(.pkp_button):hover,
main.page:not(.page_index_journal) a:not(.temas-button):not(.cmp_button):not(.pkp_button):focus {
    color: var(--temas-green-dark) !important;
    text-decoration-line: underline;
    text-decoration-color: var(--temas-cyan);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.page_issue_archive .issue_summary_title:hover,
.page_issue_archive .issue_summary_title:focus {
    color: var(--temas-blue) !important;
}

.page_issue_archive .issue_title:hover,
.page_issue_archive .issue_title:focus {
    color: var(--temas-green-dark) !important;
    text-decoration-color: var(--temas-cyan);
}

/* Footer navigation changes without sacrificing contrast. Brand marks are
   deliberately inert: no colour, background, opacity, filter or movement on
   hover/focus. The OJS-provided brand asset is rendered as a white lockup. */
.temas-site-footer .temas-footer-links a:hover,
.temas-site-footer .temas-footer-links a:focus {
    color: #fff !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-decoration-line: underline;
    text-decoration-color: var(--temas-cyan);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.temas-site-footer .temas-footer-logo,
.temas-site-footer .temas-footer-logo:hover,
.temas-site-footer .temas-footer-logo:focus,
.temas-site-footer .temas-pkp-brand,
.temas-site-footer .temas-pkp-brand:hover,
.temas-site-footer .temas-pkp-brand:focus {
    color: inherit !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    outline-offset: 6px;
    text-decoration: none !important;
    transform: none !important;
}

.temas-site-footer .temas-footer-logo img,
.temas-site-footer .temas-footer-logo:hover img,
.temas-site-footer .temas-footer-logo:focus img {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.temas-site-footer .pkpbrand-wrapper {
    align-self: center;
}

.temas-site-footer .temas-pkp-brand {
    display: block;
    width: 150px;
    max-width: 100%;
}

.temas-site-footer .footer-brand-image.temas-pkp-logo--white,
.temas-site-footer .temas-pkp-brand:hover .temas-pkp-logo--white,
.temas-site-footer .temas-pkp-brand:focus .temas-pkp-logo--white {
    display: block;
    width: 150px !important;
    max-width: 100% !important;
    height: auto !important;
    filter: brightness(0) invert(1) !important;
    opacity: .82 !important;
    transform: none !important;
}

@media (max-width: 767px) {
    .page_issue_archive > .container-page {
        padding: 38px 0 68px !important;
    }

    .page_issue_archive .obj_issue_summary {
        min-height: 210px;
        grid-template-columns: 116px minmax(0, 1fr) !important;
        gap: 9px 20px !important;
        padding: 20px !important;
    }

    .page_issue_archive .obj_issue_summary .cover img,
    .page_issue_archive .obj_issue_summary img.archive_issue_cover {
        max-height: 190px;
    }

    .page_issue_archive .issue_summary_title {
        font-size: clamp(1.28rem, 6vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .page_issue_archive .obj_issue_summary {
        grid-template-columns: 88px minmax(0, 1fr) !important;
        gap: 8px 15px !important;
        padding: 15px !important;
    }

    .page_issue_archive .obj_issue_summary .cover img,
    .page_issue_archive .obj_issue_summary img.archive_issue_cover {
        max-height: 150px;
    }

    .page_issue_archive .issue_summary_title {
        font-size: 1.18rem;
    }

    .page_issue_archive .issue_title {
        font-size: .93rem;
    }

    .page_issue_archive .issue_summary_date {
        font-size: .64rem;
        letter-spacing: .04em;
    }
}

/* ========================================================================
   TEMAS — header interaction and mobile navigation hardening (v1.0.8)
   The journal's configurable accent can add a cyan background to links.
   Force transparent backgrounds in the dark header, and explicitly restore
   dark text inside the white mobile drawer.
   ======================================================================== */

.temas-site-header .temas-institution,
.temas-site-header .temas-institution:visited {
    color: rgba(255, 255, 255, .72) !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.temas-site-header .temas-institution:hover,
.temas-site-header .temas-institution:focus,
.temas-site-header .temas-institution:focus-visible,
.temas-site-header .temas-institution:active {
    color: var(--temas-cyan) !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration-line: underline !important;
    text-decoration-color: currentColor !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 4px !important;
}

.temas-site-header .temas-user-nav a:hover,
.temas-site-header .temas-user-nav a:focus,
.temas-site-header .temas-user-nav a:active,
.temas-site-header .temas-user-nav button:hover,
.temas-site-header .temas-user-nav button:focus,
.temas-site-header .temas-user-nav button:active {
    color: var(--temas-cyan) !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .temas-navigation #show-modal,
    .temas-navigation #show-modal:visited {
        min-height: 48px !important;
        padding: 12px 4px !important;
        color: #fff !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .temas-navigation #show-modal:hover,
    .temas-navigation #show-modal:focus,
    .temas-navigation #show-modal:focus-visible,
    .temas-navigation #show-modal:active {
        color: var(--temas-cyan) !important;
        background: transparent !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    .temas-navigation #modal-on-small.nav-modal {
        color: var(--temas-ink) !important;
        background: rgba(8, 11, 10, .56) !important;
    }

    .temas-navigation #modal-on-small #primary-nav-wraper {
        width: min(390px, 88vw) !important;
        padding: 56px 24px 30px !important;
        color: var(--temas-ink) !important;
        background: #fff !important;
    }

    .temas-navigation #modal-on-small #close-small-modal,
    .temas-navigation #modal-on-small #close-small-modal:hover,
    .temas-navigation #modal-on-small #close-small-modal:focus,
    .temas-navigation #modal-on-small #close-small-modal:active {
        color: var(--temas-ink) !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        color: var(--temas-ink) !important;
        background: #fff !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary > li {
        display: block !important;
        margin: 0 !important;
        border-bottom: 1px solid var(--temas-line) !important;
        background: #fff !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary > li > a,
    .temas-navigation #modal-on-small #navigationPrimary > li > button,
    .temas-navigation #modal-on-small #navigationPrimary > li > .nav-link,
    .temas-navigation #modal-on-small #navigationPrimary > li > .nav-link:visited {
        display: flex !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 17px 10px !important;
        color: var(--temas-ink) !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: .82rem !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        text-align: left !important;
        text-decoration: none !important;
        white-space: normal !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary > li > a:hover,
    .temas-navigation #modal-on-small #navigationPrimary > li > a:focus,
    .temas-navigation #modal-on-small #navigationPrimary > li > a:active,
    .temas-navigation #modal-on-small #navigationPrimary > li > button:hover,
    .temas-navigation #modal-on-small #navigationPrimary > li > button:focus,
    .temas-navigation #modal-on-small #navigationPrimary > li > button:active,
    .temas-navigation #modal-on-small #navigationPrimary > li > .nav-link:hover,
    .temas-navigation #modal-on-small #navigationPrimary > li > .nav-link:focus,
    .temas-navigation #modal-on-small #navigationPrimary > li > .nav-link:active,
    .temas-navigation #modal-on-small #navigationPrimary > li > .nav-link.show,
    .temas-navigation #modal-on-small #navigationPrimary > li > .nav-link.active {
        color: var(--temas-green-dark) !important;
        border: 0 !important;
        background: var(--temas-green-soft) !important;
        box-shadow: inset 3px 0 0 var(--temas-cyan) !important;
        text-decoration: none !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu {
        position: static !important;
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 5px 0 8px !important;
        color: var(--temas-ink) !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu:not(.show) {
        display: none !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu.show {
        display: block !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu a,
    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu .dropdown-item,
    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu a:visited {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 10px 12px 10px 22px !important;
        color: #34413c !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: .76rem !important;
        font-weight: 600 !important;
        line-height: 1.45 !important;
        text-align: left !important;
        text-decoration: none !important;
        white-space: normal !important;
    }

    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu a:hover,
    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu a:focus,
    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu a:active,
    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu .dropdown-item:hover,
    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu .dropdown-item:focus,
    .temas-navigation #modal-on-small #navigationPrimary .dropdown-menu .dropdown-item:active {
        color: var(--temas-green-dark) !important;
        background: var(--temas-green-soft) !important;
        box-shadow: inset 3px 0 0 var(--temas-cyan) !important;
        text-decoration: none !important;
    }
}

/* ========================================================================
   TEMAS — actionable highlights and clean link decoration (v1.0.9)
   ======================================================================== */

.temas-site-footer .temas-footer-links a,
.temas-site-footer .temas-footer-links a:visited,
.temas-site-footer .temas-footer-links a:hover,
.temas-site-footer .temas-footer-links a:focus,
.temas-site-footer .temas-footer-links a:active {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.temas-site-footer .temas-footer-links a:hover,
.temas-site-footer .temas-footer-links a:focus,
.temas-site-footer .temas-footer-links a:active {
    color: #fff !important;
}

/* ========================================================================
   TEMAS — account activation landing page (v1.0.10)
   ======================================================================== */

.temas-account-activation {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--temas-ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(105,206,240,.12), transparent 26%),
        linear-gradient(180deg, #f7f6f2 0%, #eef1ee 100%);
}

.temas-account-activation-shell {
    padding-top: 34px;
    padding-bottom: 92px;
}

.temas-account-activation .cmp_breadcrumbs {
    margin: 0 0 30px !important;
    padding: 0 !important;
    border: 0 !important;
}

.temas-account-activation-card {
    position: relative;
    overflow: hidden;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: clamp(38px, 7vw, 72px);
    border: 1px solid var(--temas-line);
    background: rgba(255,255,255,.96);
    box-shadow: var(--temas-shadow);
    text-align: center;
}

.temas-account-activation-card::after {
    position: absolute;
    right: -92px;
    bottom: -118px;
    width: 240px;
    height: 240px;
    border: 42px solid rgba(105,206,240,.13);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.temas-account-activation-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 26px;
    place-items: center;
    color: var(--temas-blue);
    border: 1px solid rgba(8,126,168,.28);
    border-radius: 50%;
    background: var(--temas-green-soft);
}

.temas-account-activation-icon svg {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.temas-account-activation-card .temas-kicker {
    margin-bottom: 14px !important;
    text-align: center;
}

.temas-account-activation-card h1 {
    margin: 0;
    color: var(--temas-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 6vw, 4.35rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.045em;
}

.temas-account-activation-description {
    max-width: 570px;
    margin: 24px auto 0 !important;
    color: var(--temas-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    text-align: center !important;
    text-wrap: balance;
}

.temas-account-activation-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-width: 210px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 31px;
    text-decoration: none !important;
}

.temas-account-activation-button:hover,
.temas-account-activation-button:focus,
.temas-account-activation-button:active {
    color: #fff !important;
    text-decoration: none !important;
}

.temas-account-activation-note {
    position: relative;
    z-index: 1;
    margin: 20px auto 0 !important;
    color: #7b827f;
    font-size: .76rem;
    line-height: 1.55;
    text-align: center !important;
}

@media (max-width: 600px) {
    .temas-account-activation-shell {
        padding-top: 24px;
        padding-bottom: 58px;
    }

    .temas-account-activation .cmp_breadcrumbs {
        margin-bottom: 20px !important;
    }

    .temas-account-activation-card {
        padding: 34px 22px 40px;
    }

    .temas-account-activation-icon {
        width: 66px;
        height: 66px;
        margin-bottom: 22px;
    }

    .temas-account-activation-icon svg {
        width: 40px;
        height: 40px;
    }

    .temas-account-activation-description {
        font-size: .94rem;
    }

    .temas-account-activation-button {
        width: 100%;
    }
}
