.page_submissions .author_guidelines,
.page_submissions .submission_checklist,
.page_submissions .copyright_notice,
.page_submissions .privacy_statement,
.page_submissions .section_policy {
    display: none !important;
}

/* Sobre la Revista*/
.pagina-sobre-revista p {
    text-align: justify !important;
    text-justify: inter-word;
    line-height: 1.8;
}

.pagina-sobre-revista h3 {
    margin-top: 28px;
}

/* Tipos de manuscritos */
.pagina-tipos-manuscritos {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-tipos-manuscritos h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: bold;
}

.pagina-tipos-manuscritos p,
.pagina-tipos-manuscritos li {
    text-align: justify !important;
    text-justify: inter-word;
}

.pagina-tipos-manuscritos ol {
    margin-left: 35px;
    margin-bottom: 25px;
}

.pagina-tipos-manuscritos li {
    margin-bottom: 8px;
}

/* Políticas y Normas */
.pagina-politicas-normas {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-politicas-normas h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: bold;
}

.pagina-politicas-normas p,
.pagina-politicas-normas li {
    text-align: justify !important;
    text-justify: inter-word;
}

.pagina-politicas-normas ul {
    margin-left: 35px;
    margin-bottom: 25px;
}

.pagina-politicas-normas li {
    padding-left: 8px;
    margin-bottom: 8px;
}

/* Proceso Editorial y Revisión por Pares */
.pagina-proceso-editorial {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-proceso-editorial p {
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 18px;
}

/* Equipo Editorial */
.pagina-equipo-editorial {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-equipo-editorial h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: bold;
}

.pagina-equipo-editorial p {
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 18px;
}

/* Gestión de la Información y Privacidad */
.pagina-gestion-privacidad {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-gestion-privacidad p {
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 18px;
}

/* Índices y accesibilidad */
.pagina-indices-accesibilidad {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-indices-accesibilidad p {
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 18px;
}

/* Directrices para autores */
.pagina-directrices-autores {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-directrices-autores ul {
    margin-left: 35px;
    margin-bottom: 25px;
}

.pagina-directrices-autores li {
    text-align: justify !important;
    text-justify: inter-word;
    padding-left: 8px;
    margin-bottom: 10px;
}

/* Instrucciones para autores/as */
.pagina-instrucciones-autores {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-instrucciones-autores h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: bold;
}

.pagina-instrucciones-autores p,
.pagina-instrucciones-autores li {
    text-align: justify !important;
    text-justify: inter-word;
}

.pagina-instrucciones-autores ul {
    margin-left: 35px;
    margin-bottom: 25px;
}

.pagina-instrucciones-autores li {
    padding-left: 8px;
    margin-bottom: 8px;
}

/* Verificación antes del Envío */
.pagina-verificacion-envio {
    max-width: 850px;
    margin: 0 auto;
}

.pagina-verificacion-envio p,
.pagina-verificacion-envio li {
    text-align: justify !important;
    text-justify: inter-word;
}

.pagina-verificacion-envio ul {
    margin-left: 35px;
    margin-bottom: 25px;
}

.pagina-verificacion-envio li {
    padding-left: 8px;
    margin-bottom: 8px;
}

body header .header.container-fluid {
    position: relative !important;
}

body header .header.container-fluid .upper-header.row {
    position: static !important;
}

/* Contenedor completo del logo */
body header .header.container-fluid .upper-header.row h1.logo-wrapper,
body header .header.container-fluid .upper-header.row h1.logo-wrapper.col-md-7 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    text-align: center !important;
    margin: 0 auto !important;
    padding: 18px 15px 14px 15px !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Navegacion de usuario: login e idioma en la esquina superior derecha */
body header .header.container-fluid #user-nav-wrapper,
body header .header.container-fluid .upper-header.row #user-nav-wrapper,
body header .header.container-fluid .upper-header.row #user-nav-wrapper.col-md-5 {
    position: absolute !important;
    top: 16px !important;
    right: clamp(14px, 4vw, 56px) !important;
    z-index: 20 !important;

    float: none !important;
    width: auto !important;
    max-width: calc(100% - 28px) !important;
    flex: 0 0 auto !important;

    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body header .header.container-fluid #user-nav-wrapper #navigationUser {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 14px !important;

    margin: 0 !important;
    padding: 0 !important;
}

body header .header.container-fluid #user-nav-wrapper #navigationUser > li,
body header .header.container-fluid #user-nav-wrapper #navigationUser > ul,
body header .header.container-fluid #user-nav-wrapper .nav-item {
    margin: 0 !important;
}

body header .header.container-fluid #user-nav-wrapper a,
body header .header.container-fluid #user-nav-wrapper button,
body header .header.container-fluid #user-nav-wrapper .nav-link {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

body header .header.container-fluid #user-nav-wrapper a:hover,
body header .header.container-fluid #user-nav-wrapper a:focus,
body header .header.container-fluid #user-nav-wrapper .nav-link:hover,
body header .header.container-fluid #user-nav-wrapper .nav-link:focus {
    color: #e6e6e6 !important;
}

body header .header.container-fluid #user-nav-wrapper .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    text-align: left !important;
}

/* OJS Classic 3.5 usa en este tema el id "user-nav-wraper"
   con una sola p. Este selector por prefijo cubre ambas variantes. */
body header .header.container-fluid [id^="user-nav-wrap"],
body header .header.container-fluid .upper-header.row [id^="user-nav-wrap"],
body header .header.container-fluid .upper-header.row [id^="user-nav-wrap"].col-md-5 {
    position: absolute !important;
    top: 16px !important;
    right: clamp(14px, 4vw, 56px) !important;
    left: auto !important;
    z-index: 30 !important;

    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 28px) !important;
    flex: 0 0 auto !important;

    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 14px !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body header .header.container-fluid [id^="user-nav-wrap"] #navigationUser,
body header .header.container-fluid [id^="user-nav-wrap"] #languageNav {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex: 0 0 auto !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body header .header.container-fluid [id^="user-nav-wrap"] #navigationUser > li,
body header .header.container-fluid [id^="user-nav-wrap"] #languageNav > li {
    margin: 0 !important;
}

body header .header.container-fluid [id^="user-nav-wrap"] a,
body header .header.container-fluid [id^="user-nav-wrap"] button,
body header .header.container-fluid [id^="user-nav-wrap"] .nav-link {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

body header .header.container-fluid [id^="user-nav-wrap"] .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    text-align: left !important;
}

/* Enlace que contiene el logo */
body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow: hidden !important;
}

/* Imagen real del logo */
body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link img.journal-logo,
img.journal-logo {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-height: none !important;
    object-fit: contain !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* PC grande */
@media screen and (min-width: 1400px) {
    body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link img.journal-logo,
    img.journal-logo {
        width: 950px !important;
        max-width: 88vw !important;
    }
}

/* PC / laptop */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link img.journal-logo,
    img.journal-logo {
        width: 850px !important;
        max-width: 88vw !important;
    }
}

/* Laptop pequeña */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link img.journal-logo,
    img.journal-logo {
        width: 720px !important;
        max-width: 86vw !important;
    }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 991px) {
    body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link img.journal-logo,
    img.journal-logo {
        width: 560px !important;
        max-width: 86vw !important;
    }
}

/* Celular */
@media screen and (max-width: 767px) {
    body header .header.container-fluid .upper-header.row h1.logo-wrapper,
    body header .header.container-fluid .upper-header.row h1.logo-wrapper.col-md-7 {
        padding: 38px 10px 12px 10px !important;
    }

    body header .header.container-fluid #user-nav-wrapper,
    body header .header.container-fluid .upper-header.row #user-nav-wrapper,
    body header .header.container-fluid .upper-header.row #user-nav-wrapper.col-md-5,
    body header .header.container-fluid [id^="user-nav-wrap"],
    body header .header.container-fluid .upper-header.row [id^="user-nav-wrap"],
    body header .header.container-fluid .upper-header.row [id^="user-nav-wrap"].col-md-5 {
        top: 10px !important;
        right: 12px !important;
    }

    body header .header.container-fluid #user-nav-wrapper #navigationUser {
        gap: 4px 10px !important;
    }

    body header .header.container-fluid #user-nav-wrapper a,
    body header .header.container-fluid #user-nav-wrapper button,
    body header .header.container-fluid #user-nav-wrapper .nav-link,
    body header .header.container-fluid [id^="user-nav-wrap"] a,
    body header .header.container-fluid [id^="user-nav-wrap"] button,
    body header .header.container-fluid [id^="user-nav-wrap"] .nav-link {
        font-size: 0.82rem !important;
    }

    body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link img.journal-logo,
    img.journal-logo {
        width: 360px !important;
        max-width: 82vw !important;
    }
}

/* Celular pequeño */
@media screen and (max-width: 430px) {
    body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link img.journal-logo,
    img.journal-logo {
        width: 320px !important;
        max-width: 80vw !important;
    }
}

/* Celular muy pequeño */
@media screen and (max-width: 360px) {
    body header .header.container-fluid .upper-header.row h1.logo-wrapper a.home-link img.journal-logo,
    img.journal-logo {
        width: 270px !important;
        max-width: 78vw !important;
    }
}

.btn:hover{
    background-color: #4b1110;
}

/* =====================================================
   TEMAS DE CIENCIA Y TECNOLOGIA - EQUIPO EDITORIAL
   ===================================================== */

.pagina-equipo-editorial.temas-equipo {
    --temas-ink: #171a1f;
    --temas-muted: #59636d;
    --temas-blue: #087da9;
    --temas-blue-bright: #68c7ea;
    --temas-blue-pale: #eaf6fb;
    --temas-line: #d9e3e8;

    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    color: var(--temas-ink);
}

.pagina-equipo-editorial.temas-equipo *,
.pagina-equipo-editorial.temas-equipo *::before,
.pagina-equipo-editorial.temas-equipo *::after {
    box-sizing: border-box;
}

/* Corrige la justificacion global que tenia la version anterior de la pagina. */
.pagina-equipo-editorial.temas-equipo p {
    margin-top: 0;
    text-align: left !important;
    text-justify: auto;
}

.temas-equipo__intro {
    position: relative;
    overflow: hidden;
    margin: 0 0 34px;
    padding: clamp(24px, 5vw, 44px);
    border-top: 5px solid var(--temas-blue-bright);
    background:
        linear-gradient(115deg, rgba(104, 199, 234, 0.2), rgba(234, 246, 251, 0.55) 48%, #ffffff 100%);
}

.temas-equipo__intro::after {
    position: absolute;
    right: -45px;
    bottom: -72px;
    width: 190px;
    height: 190px;
    border: 28px solid rgba(104, 199, 234, 0.14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.temas-equipo__kicker{
    margin-bottom: 8px !important;
    color: var(--temas-blue);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.temas-equipo__lead {
    position: relative;
    z-index: 1;
    max-width: 710px;
    margin-bottom: 18px !important;
    color: var(--temas-ink);
    font-size: clamp(1.04rem, 2vw, 1.22rem);
    line-height: 1.65;
}

.temas-equipo__issn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0 !important;
    color: var(--temas-muted);
    font-size: 0.9rem;
    letter-spacing: 0.035em;
}

.temas-equipo__issn span {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--temas-ink);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.temas-equipo__director {
    display: grid;
    grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
    gap: clamp(22px, 5vw, 54px);
    align-items: center;
    margin-bottom: 52px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--temas-line);
    border-left: 7px solid var(--temas-blue-bright);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(20, 39, 49, 0.07);
}

.temas-equipo__label {
    color: var(--temas-blue);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.temas-equipo__director h2,
.temas-equipo__section-heading h2 {
    margin: 0;
    color: var(--temas-ink);
    font-family: inherit;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.temas-equipo__director h2 {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.temas-equipo__person {
    margin-bottom: 4px !important;
    color: var(--temas-ink);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.45;
}

.temas-equipo__person--large {
    margin-bottom: 4px !important;
    font-size: clamp(1.18rem, 2.4vw, 1.45rem);
}

.temas-equipo__institution {
    margin-bottom: 0 !important;
    color: var(--temas-muted);
    line-height: 1.55;
}

.temas-equipo__section {
    margin-bottom: 54px;
}

.temas-equipo__section--tinted {
    padding: clamp(26px, 4vw, 40px);
    border-top: 1px solid #ccebf6;
    border-bottom: 1px solid #ccebf6;
    background: var(--temas-blue-pale);
}

.temas-equipo__section-heading {
    display: grid;
    grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--temas-line);
}

.temas-equipo__section-heading {
    margin-bottom: 2px !important;
}

.temas-equipo__section-heading h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.temas-equipo__grid {
    display: grid;
    gap: 16px;
}

.temas-equipo__grid--members,
.temas-equipo__grid--roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.temas-equipo__grid--authorities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.temas-equipo__member,
.temas-equipo__role,
.temas-equipo__authority {
    min-width: 0;
}

.temas-equipo__member {
    padding: 20px 20px 18px;
    border: 1px solid var(--temas-line);
    border-left: 4px solid var(--temas-blue-bright);
    background: #ffffff;
}

.temas-equipo__member h3,
.temas-equipo__role h3,
.temas-equipo__authority h3 {
    margin: 0;
    font-family: inherit;
}

.temas-equipo__member h3 {
    margin-bottom: 9px;
    color: var(--temas-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.38;
}

.temas-equipo__member p {
    margin-bottom: 3px !important;
    color: var(--temas-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.temas-equipo__role {
    padding: 21px;
    border: 1px solid rgba(8, 125, 169, 0.2);
    background: rgba(255, 255, 255, 0.86);
}

.temas-equipo__role h3 {
    margin-bottom: 12px;
    color: var(--temas-blue);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.temas-equipo__role .temas-equipo__person:last-child {
    margin-bottom: 0 !important;
}

.temas-equipo__authority {
    padding: 18px 0 17px;
    border-top: 3px solid var(--temas-ink);
}

.temas-equipo__authority h3 {
    margin-bottom: 7px;
    color: var(--temas-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.45;
    text-transform: uppercase;
}

.temas-equipo__authority p {
    margin-bottom: 0 !important;
    color: var(--temas-ink);
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.5;
}

@media (hover: hover) {
    .temas-equipo__member {
        transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }

    .temas-equipo__member:hover {
        border-color: #b7ddea;
        box-shadow: 0 10px 24px rgba(20, 39, 49, 0.08);
        transform: translateY(-2px);
    }
}

@media screen and (max-width: 760px) {
    .temas-equipo__director,
    .temas-equipo__section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .temas-equipo__director {
        margin-bottom: 42px;
    }

    .temas-equipo__grid--members,
    .temas-equipo__grid--roles,
    .temas-equipo__grid--authorities {
        grid-template-columns: 1fr;
    }

    .temas-equipo__section {
        margin-bottom: 42px;
    }

    .temas-equipo__authority {
        padding-bottom: 8px;
    }
}

@media print {
    .temas-equipo__intro,
    .temas-equipo__section--tinted {
        background: #ffffff !important;
    }

    .temas-equipo__member,
    .temas-equipo__director {
        break-inside: avoid;
        box-shadow: none;
    }
}
