/*
 * Escritos Sociológicos — OJS 3.5.0.5 / Tema por defecto
 * Cabecera blanca, navegación azul y menús desplegables accesibles.
 */

:root {
  --es-azul: #315e6d;
  --es-azul-suave: #548091;
  --es-tinta: #142534;
  --es-borde: #d9e0e3;
}

/* Cabecera */
.pkp_structure_head {
  background: #fff;
  border-bottom: 0;
  overflow: visible;
}

.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
  overflow: visible;
}

/* Botones y enlaces generales */
.cmp_button,
.cmp_form .buttons button,
.pkp_button,
button.submit {
  border-color: var(--es-azul);
}

@media (min-width: 992px) {
  .has_site_logo .pkp_head_wrapper {
    padding-top: 24px;
  }

  .pkp_site_name {
    padding: 4px 0 22px;
    overflow: visible;
  }

  .pkp_site_name .is_img {
    margin: 0;
  }

  .pkp_site_name .is_img img {
    display: block;
    width: auto;
    max-width: min(100%, 900px);
    max-height: 150px;
  }

  /*
   * IMPORTANTE: .pkp_site_nav_menu debe conservar position: static.
   * OJS posiciona el menú de usuario respecto de .pkp_head_wrapper.
   */
  .pkp_site_nav_menu {
    position: static;
    background: var(--es-azul);
  }

  /* La franja se amplía desde la fila, sin alterar el contenedor de OJS. */
  .pkp_navigation_primary_row {
    position: relative;
  }

  .pkp_navigation_primary_row::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--es-azul);
    pointer-events: none;
  }

  .pkp_navigation_primary_wrapper {
    position: relative;
    z-index: 1;
  }

  .pkp_navigation_primary > li > a,
  .pkp_navigation_search_wrapper a {
    color: #fff;
    font-weight: 600;
  }

  .pkp_navigation_user,
  .pkp_navigation_user a {
    color: var(--es-tinta);
  }

  /* Apariencia de los desplegables; OJS conserva apertura y posición. */
  .pkp_navigation_primary > li > ul {
    min-width: 245px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid var(--es-borde);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 22px rgba(20, 37, 52, 0.18);
    text-align: left;
    z-index: 1100;
  }

  .pkp_navigation_primary > li > ul a {
    display: block;
    margin: 0;
    padding: 10px 16px;
    color: var(--es-tinta);
    white-space: nowrap;
  }

  .pkp_navigation_primary > li > ul a:hover,
  .pkp_navigation_primary > li > ul a:focus {
    color: var(--es-azul);
    background: #f4f7f8;
    text-decoration: none;
  }
}

/* Menú móvil: conserva el comportamiento nativo de OJS. */
@media (max-width: 991px) {
  .pkp_site_name .is_img img {
    max-height: 48px;
  }

  .pkp_site_nav_toggle {
    color: var(--es-tinta);
  }

  .pkp_site_nav_menu {
    background: var(--es-azul);
  }

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

  .pkp_site_nav_menu ul ul {
    padding-left: 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}

/* ==========================================================
   PIE DE PÁGINA
   ========================================================== */

.pkp_structure_footer_wrapper {
  margin-top: 0;
  background: var(--es-azul);
  color: #fff;
}

.pkp_structure_footer {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  text-align: left;
}

.pkp_footer_content {
  padding: 48px 150px 22px 0;
}

.es-footer,
.es-footer p,
.es-footer li,
.es-footer h2 {
  color: #fff;
}

.es-footer__grid {
  display: grid;
  grid-template-columns: minmax(265px, 1.5fr) repeat(3, minmax(145px, 1fr));
  gap: 34px;
  align-items: start;
}

.es-footer__identity img {
  display: block;
  width: 100%;
  max-width: 310px;
  height: auto;
  margin: 0 0 20px;
}

.es-footer__title {
  margin: 0 0 18px;
  font-family: Lora, Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.95;
}

.es-footer__identity p,
.es-footer__column p {
  margin: 0 0 14px;
  line-height: 1.65;
}

.es-footer__column h2 {
  margin: 0 0 18px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.es-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.es-footer__column li {
  margin: 0 0 10px;
}

.es-footer a {
  color: #fff;
  text-decoration: none;
}

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

.es-footer__facebook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1;
}

.es-footer__facebook::before {
  content: "f";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--es-azul);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.es-footer__facebook:hover,
.es-footer__facebook:focus {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.es-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.86rem;
}

.es-footer__bottom p {
  margin: 0;
}

/* Logotipo nativo de OJS/PKP en blanco. */
.pkp_brand_footer {
  display: block;
  position: absolute;
  top: 48px;
  right: 0;
  width: 120px;
  padding: 0;
  border: 0;
}

.pkp_brand_footer a {
  float: none;
  display: block;
  max-width: 120px;
}

.pkp_brand_footer img {
  display: block;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.9;
}

@media (max-width: 1199px) {
  .pkp_footer_content {
    padding-right: 165px;
    padding-left: 24px;
  }

  .pkp_brand_footer {
    right: 24px;
  }
}

@media (max-width: 900px) {
  .pkp_footer_content {
    padding-right: 24px;
  }

  .pkp_brand_footer {
    position: static;
    width: auto;
    padding: 18px 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .pkp_brand_footer a {
    margin-left: auto;
  }

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

@media (max-width: 600px) {
  .pkp_footer_content {
    padding: 36px 20px 22px;
  }

  .pkp_brand_footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .es-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .es-footer__identity img {
    max-width: 260px;
  }

  .es-footer__bottom {
    display: block;
  }

  .es-footer__bottom p + p {
    margin-top: 8px;
  }
}

/* Prioridad final de la variante editorial sobre la normalización base. */
html body .page_submissions .author_guidelines > h2 {
  position: relative;
  margin: 0 0 32px;
  padding: 0 0 18px;
  color: var(--envios-tinta);
  font-size: clamp(29px, 4vw, 39px);
  letter-spacing: -0.7px;
}

html body .page_submissions .author_guidelines .WordSection1 p:first-child {
  position: relative;
  margin: 0 0 58px !important;
  padding: 31px 36px 31px 40px;
  background: var(--envios-azul-oscuro);
  border: 0;
  box-shadow: 0 14px 34px rgba(20, 37, 52, 0.12);
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

html body .page_submissions .author_guidelines .WordSection1 p:nth-child(2),
html body .page_submissions .author_guidelines .WordSection1 p:nth-child(6),
html body .page_submissions .author_guidelines .WordSection3 p:nth-child(1),
html body .page_submissions .author_guidelines .WordSection3 p:nth-child(4) {
  position: relative;
  min-height: 62px;
  margin: 56px 0 25px !important;
  padding: 12px 0 15px 92px;
  border: 0;
  border-bottom: 1px solid #d9e1e4;
}

html body .page_submissions .author_guidelines .WordSection1 p:nth-child(2) strong,
html body .page_submissions .author_guidelines .WordSection1 p:nth-child(6) strong,
html body .page_submissions .author_guidelines .WordSection3 p:nth-child(1) strong,
html body .page_submissions .author_guidelines .WordSection3 p:nth-child(4) strong {
  color: var(--envios-tinta) !important;
  font-size: 25px !important;
  letter-spacing: -0.3px;
}

html body .page_submissions .author_guidelines .WordSection2,
html body .page_submissions .author_guidelines .WordSection4 {
  margin: 26px 0 42px;
  padding: 28px 34px 20px 38px;
  background: #fff;
  border: 1px solid #dce3e6;
  border-left: 5px solid var(--envios-azul);
  box-shadow: 0 12px 32px rgba(20, 37, 52, 0.075);
}

html body .page_submissions .author_guidelines .WordSection2 p,
html body .page_submissions .author_guidelines .WordSection4 p {
  margin: 0 0 6px !important;
  padding: 7px 0 7px 5px;
  border-bottom: 1px solid #edf1f2;
  line-height: 1.6 !important;
}

html body .page_submissions .submission_checklist,
html body .page_submissions .section_policy,
html body .page_submissions .privacy_statement {
  margin-top: 55px;
  padding: 34px 38px 30px;
  background: #f7f9fa;
  border: 0;
  border-top: 4px solid var(--envios-azul);
  box-shadow: 0 10px 28px rgba(20, 37, 52, 0.06);
}

@media (max-width: 600px) {
  html body .page_submissions .author_guidelines .WordSection1 p:first-child {
    margin-bottom: 42px !important;
    padding: 25px 23px;
    font-size: 16.5px !important;
  }

  html body .page_submissions .author_guidelines .WordSection1 p:nth-child(2),
  html body .page_submissions .author_guidelines .WordSection1 p:nth-child(6),
  html body .page_submissions .author_guidelines .WordSection3 p:nth-child(1),
  html body .page_submissions .author_guidelines .WordSection3 p:nth-child(4) {
    min-height: 50px;
    margin-top: 42px !important;
    padding: 8px 0 13px 66px;
  }

  html body .page_submissions .author_guidelines .WordSection1 p:nth-child(2) strong,
  html body .page_submissions .author_guidelines .WordSection1 p:nth-child(6) strong,
  html body .page_submissions .author_guidelines .WordSection3 p:nth-child(1) strong,
  html body .page_submissions .author_guidelines .WordSection3 p:nth-child(4) strong {
    font-size: 21px !important;
  }

  html body .page_submissions .author_guidelines .WordSection2,
  html body .page_submissions .author_guidelines .WordSection4,
  html body .page_submissions .submission_checklist,
  html body .page_submissions .section_policy,
  html body .page_submissions .privacy_statement {
    padding: 23px 20px 18px;
  }
}

/* ==========================================================
   VARIANTE EDITORIAL SOBRIA — PÁGINA DE ENVÍOS
   Jerarquía visual inspirada en la página de secciones.
   ========================================================== */

.page_submissions {
  --envios-azul: #548091;
  --envios-azul-oscuro: #355865;
  --envios-fondo: #f4f7f8;
  --envios-tinta: #1d2529;
  --envios-texto: #465157;
}

/* Encabezado nativo de la página */
.page_submissions > h1 {
  margin: 10px 0 28px;
  color: var(--envios-tinta);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1.2px;
}

/* Aviso de registro e inicio de sesión */
.page_submissions > .cmp_notification {
  position: relative;
  margin: 0 0 55px;
  padding: 24px 28px 24px 32px;
  overflow: hidden;
  background: #f3f7f8;
  border: 0;
  border-left: 4px solid var(--envios-azul);
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(20, 37, 52, 0.06);
  color: var(--envios-texto);
  font-size: 15.5px;
  line-height: 1.7;
}

.page_submissions > .cmp_notification a {
  color: var(--envios-azul-oscuro);
  font-weight: 700;
}

.page_submissions .author_guidelines {
  max-width: 920px;
}

.page_submissions .author_guidelines > h2 {
  position: relative;
  margin: 0 0 32px;
  padding: 0 0 18px;
  color: var(--envios-tinta);
  font-size: clamp(29px, 4vw, 39px);
  letter-spacing: -0.7px;
}

.page_submissions .author_guidelines > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--envios-azul);
}

/* Introducción editorial */
.page_submissions .author_guidelines .WordSection1 p:first-child {
  position: relative;
  margin: 0 0 58px !important;
  padding: 31px 36px 31px 40px;
  overflow: hidden;
  background: var(--envios-azul-oscuro);
  border: 0;
  box-shadow: 0 14px 34px rgba(20, 37, 52, 0.12);
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

.page_submissions .author_guidelines .WordSection1 p:first-child span {
  color: #fff !important;
}

.page_submissions .author_guidelines .WordSection1 p:first-child::after {
  content: "ES";
  position: absolute;
  right: 20px;
  bottom: -24px;
  color: rgba(255, 255, 255, 0.07);
  font-size: 104px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -7px;
  pointer-events: none;
}

/* Títulos editoriales numerados */
.page_submissions .author_guidelines .WordSection1 p:nth-child(2),
.page_submissions .author_guidelines .WordSection1 p:nth-child(6),
.page_submissions .author_guidelines .WordSection3 p:nth-child(1),
.page_submissions .author_guidelines .WordSection3 p:nth-child(4) {
  position: relative;
  min-height: 62px;
  margin: 56px 0 25px !important;
  padding: 12px 0 15px 92px;
  border: 0;
  border-bottom: 1px solid #d9e1e4;
}

.page_submissions .author_guidelines .WordSection1 p:nth-child(2)::before,
.page_submissions .author_guidelines .WordSection1 p:nth-child(6)::before,
.page_submissions .author_guidelines .WordSection3 p:nth-child(1)::before,
.page_submissions .author_guidelines .WordSection3 p:nth-child(4)::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 70px;
  color: var(--envios-azul);
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -3px;
}

.page_submissions .author_guidelines .WordSection1 p:nth-child(2)::before {
  content: "01";
}

.page_submissions .author_guidelines .WordSection1 p:nth-child(6)::before {
  content: "02";
}

.page_submissions .author_guidelines .WordSection3 p:nth-child(1)::before {
  content: "03";
}

.page_submissions .author_guidelines .WordSection3 p:nth-child(4)::before {
  content: "04";
}

.page_submissions .author_guidelines .WordSection1 p:nth-child(2) strong,
.page_submissions .author_guidelines .WordSection1 p:nth-child(6) strong,
.page_submissions .author_guidelines .WordSection3 p:nth-child(1) strong,
.page_submissions .author_guidelines .WordSection3 p:nth-child(4) strong {
  color: var(--envios-tinta) !important;
  font-size: 25px !important;
  letter-spacing: -0.3px;
}

/* Listados convertidos en paneles editoriales */
.page_submissions .author_guidelines .WordSection2,
.page_submissions .author_guidelines .WordSection4 {
  position: relative;
  margin: 26px 0 42px;
  padding: 28px 34px 20px 38px;
  background: #fff;
  border: 1px solid #dce3e6;
  border-left: 5px solid var(--envios-azul);
  box-shadow: 0 12px 32px rgba(20, 37, 52, 0.075);
}

.page_submissions .author_guidelines .WordSection2 p,
.page_submissions .author_guidelines .WordSection4 p {
  position: relative;
  margin: 0 0 6px !important;
  padding: 7px 0 7px 5px;
  border-bottom: 1px solid #edf1f2;
  color: #3f4b50 !important;
  line-height: 1.6 !important;
}

.page_submissions .author_guidelines .WordSection2 p:last-child,
.page_submissions .author_guidelines .WordSection4 p:last-child {
  border-bottom: 0;
}

/* Destaca la consideración especial de DERIVAS */
.page_submissions .author_guidelines .WordSection3 p:nth-child(3) {
  margin: 24px 0 6px !important;
  padding: 22px 25px 22px 28px;
  background: var(--envios-fondo);
  border-left: 3px solid var(--envios-azul);
  color: #445158 !important;
}

.page_submissions .author_guidelines .WordSection3 p:nth-child(3)::before {
  content: "DERIVAS";
  display: block;
  margin-bottom: 8px;
  color: var(--envios-azul);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1.6px;
}

/* Bloques nativos inferiores */
.page_submissions .submission_checklist,
.page_submissions .section_policy,
.page_submissions .privacy_statement {
  position: relative;
  margin-top: 55px;
  padding: 34px 38px 30px;
  background: #f7f9fa;
  border: 0;
  border-top: 4px solid var(--envios-azul);
  box-shadow: 0 10px 28px rgba(20, 37, 52, 0.06);
}

.page_submissions .submission_checklist h2,
.page_submissions .section_policy h2,
.page_submissions .privacy_statement h2 {
  margin-top: 0;
  color: var(--envios-tinta);
  font-size: 25px;
  letter-spacing: -0.3px;
}

.page_submissions .submission_checklist ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.page_submissions .submission_checklist li {
  margin-bottom: 10px;
  padding-left: 4px;
}

@media (max-width: 600px) {
  .page_submissions > h1 {
    font-size: 38px;
  }

  .page_submissions > .cmp_notification {
    margin-bottom: 42px;
    padding: 20px 20px 20px 23px;
  }

  .page_submissions .author_guidelines .WordSection1 p:first-child {
    margin-bottom: 42px !important;
    padding: 25px 23px;
    font-size: 16.5px !important;
  }

  .page_submissions .author_guidelines .WordSection1 p:nth-child(2),
  .page_submissions .author_guidelines .WordSection1 p:nth-child(6),
  .page_submissions .author_guidelines .WordSection3 p:nth-child(1),
  .page_submissions .author_guidelines .WordSection3 p:nth-child(4) {
    min-height: 50px;
    margin-top: 42px !important;
    padding: 8px 0 13px 66px;
  }

  .page_submissions .author_guidelines .WordSection1 p:nth-child(2)::before,
  .page_submissions .author_guidelines .WordSection1 p:nth-child(6)::before,
  .page_submissions .author_guidelines .WordSection3 p:nth-child(1)::before,
  .page_submissions .author_guidelines .WordSection3 p:nth-child(4)::before {
    width: 54px;
    font-size: 35px;
  }

  .page_submissions .author_guidelines .WordSection1 p:nth-child(2) strong,
  .page_submissions .author_guidelines .WordSection1 p:nth-child(6) strong,
  .page_submissions .author_guidelines .WordSection3 p:nth-child(1) strong,
  .page_submissions .author_guidelines .WordSection3 p:nth-child(4) strong {
    font-size: 21px !important;
  }

  .page_submissions .author_guidelines .WordSection2,
  .page_submissions .author_guidelines .WordSection4,
  .page_submissions .submission_checklist,
  .page_submissions .section_policy,
  .page_submissions .privacy_statement {
    padding: 23px 20px 18px;
  }
}

/* ==========================================================
   EXPERIENCIA MÓVIL
   ========================================================== */

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
    line-height: 1.6;
  }

  .pkp_site_name_wrapper {
    min-height: 82px;
    padding: 12px 14px 12px 64px;
    border-bottom: 5px solid var(--es-azul);
  }

  .pkp_site_name {
    position: static;
    padding: 0;
    white-space: normal;
    overflow: visible;
  }

  .pkp_site_name > a {
    display: flex;
    min-height: 56px;
    padding: 0;
    align-items: center;
  }

  .pkp_site_name .is_img img {
    width: auto;
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
  }

  .pkp_site_nav_toggle {
    display: block !important;
    position: absolute;
    top: 20px;
    left: 14px;
    z-index: 10001;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--es-azul);
    border: 0;
    border-radius: 5px;
    color: #fff;
    box-shadow: none;
    text-align: center;
  }

  .pkp_site_nav_toggle span {
    position: static !important;
    display: block;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    color: transparent;
    font-size: 0;
  }

  .pkp_site_nav_toggle span::before {
    content: "\2630";
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 40px;
  }

  .pkp_site_nav_menu {
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px 14px 16px;
    background: var(--es-azul);
    box-shadow: 0 8px 20px rgba(20, 37, 52, 0.18);
  }

  .pkp_navigation_primary > li,
  .pkp_navigation_user > li {
    width: 100%;
    margin: 0;
  }

  .pkp_navigation_primary > li > a,
  .pkp_navigation_user > li > a,
  .pkp_navigation_search_wrapper a {
    display: block;
    min-height: 44px;
    padding: 11px 12px;
    line-height: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .pkp_navigation_primary > li > ul {
    margin: 0;
    padding: 2px 0 6px 16px;
    background: rgba(0, 0, 0, 0.09);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .pkp_navigation_primary > li > ul a {
    min-height: 42px;
    padding: 10px 12px;
    white-space: normal;
  }

  .pkp_navigation_search_wrapper {
    float: none;
    width: 100%;
  }

  .pkp_structure_content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .pkp_structure_main {
    width: 100%;
    padding: 24px 0 48px;
  }

  .pkp_structure_main img,
  .pkp_footer_content img {
    max-width: 100%;
    height: auto;
  }

  .es-footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pkp_footer_content {
    padding: 30px 22px 18px;
  }

  .es-footer__title {
    margin-bottom: 12px;
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .es-footer__identity p,
  .es-footer__column p {
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .es-footer__column h2 {
    margin-bottom: 7px;
    font-size: 1rem;
  }

  .es-footer__column li {
    margin-bottom: 0;
  }

  .es-footer__column a:not(.es-footer__facebook) {
    display: inline-block;
    padding: 3px 0;
    line-height: 1.4;
  }

  .es-footer__facebook {
    min-height: 44px;
    padding: 11px 16px;
  }

  .es-footer__bottom {
    margin-top: 18px;
    padding-top: 14px;
  }

  .pkp_brand_footer {
    position: static;
    width: auto;
    padding: 20px 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .pkp_brand_footer a {
    width: 110px;
    margin: 0 auto;
  }
}

@media (max-width: 380px) {
  .pkp_site_name_wrapper {
    min-height: 68px;
    padding-left: 54px;
  }

  .pkp_site_name .is_img img {
    max-height: 48px;
  }
}

/* Ajuste móvil final: neutraliza los iconos duplicados del tema. */
@media (max-width: 767px) {
  .pkp_site_nav_toggle span,
  .pkp_site_nav_toggle span::before,
  .pkp_site_nav_toggle span::after {
    display: none !important;
    content: none !important;
  }

  .pkp_site_nav_toggle::before {
    content: "\f0c9";
    display: block;
    color: #fff;
    font-family: FontAwesome;
    font-size: 22px;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
  }

  .pkp_site_name_wrapper {
    min-height: 76px;
    padding: 10px 14px 10px 62px;
    border-bottom-width: 3px;
  }

  .pkp_site_nav_toggle {
    top: 18px;
    width: 40px;
    height: 40px;
  }

  .pkp_site_nav_menu--isOpen,
  .pkp_site_nav_menu.is_open {
    display: block !important;
    background: var(--es-azul) !important;
  }

  .pkp_page_index .pkp_structure_content {
    min-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .pkp_page_index .pkp_structure_main:first-child:last-child {
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .pkp_footer_content {
    padding: 26px 20px 16px;
  }

  .es-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 18px;
  }

  .es-footer__identity {
    grid-column: 1 / -1;
  }

  .es-footer__column:last-child {
    grid-column: 1 / -1;
  }

  .es-footer__title {
    font-size: 1.4rem;
  }

  .es-footer__identity p,
  .es-footer__column p,
  .es-footer__column li,
  .es-footer__column a {
    font-size: 0.9rem;
  }

  .es-footer__column h2 {
    font-size: 0.95rem;
  }

  .es-footer__bottom {
    font-size: 0.78rem;
  }
}

@media (max-width: 320px) {
  .es-footer__grid {
    grid-template-columns: 1fr;
  }

  .es-footer__identity,
  .es-footer__column:last-child {
    grid-column: auto;
  }
}

/* ==========================================================
   PÁGINA DE ENVÍOS / DIRECTRICES PARA AUTORES-AS
   Normaliza el formato importado desde Word y lo integra con
   la identidad visual de Escritos Sociológicos.
   ========================================================== */

.page_submissions .author_guidelines {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  color: #444;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
}

.page_submissions .author_guidelines .WordSection1,
.page_submissions .author_guidelines .WordSection2,
.page_submissions .author_guidelines .WordSection3,
.page_submissions .author_guidelines .WordSection4,
.page_submissions .author_guidelines p,
.page_submissions .author_guidelines span,
.page_submissions .author_guidelines li,
.page_submissions .author_guidelines strong {
  font-family: inherit !important;
}

.page_submissions .author_guidelines > h2 {
  margin: 44px 0 25px;
  color: #181818;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page_submissions .author_guidelines p {
  margin: 0 0 17px !important;
  color: #444 !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
}

/* Presentación inicial */
.page_submissions .author_guidelines .WordSection1 p:first-child {
  margin: 0 0 38px !important;
  padding: 24px 27px;
  background: #f5f8f9;
  border-left: 4px solid var(--es-azul-suave);
  box-sizing: border-box;
  font-size: 17px !important;
}

/* Encabezados de los cuatro apartados */
.page_submissions .author_guidelines .WordSection1 p:nth-child(2),
.page_submissions .author_guidelines .WordSection1 p:nth-child(6),
.page_submissions .author_guidelines .WordSection3 p:nth-child(1),
.page_submissions .author_guidelines .WordSection3 p:nth-child(4) {
  margin: 35px 0 18px !important;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--es-borde);
}

.page_submissions .author_guidelines .WordSection1 p:nth-child(2) strong,
.page_submissions .author_guidelines .WordSection1 p:nth-child(6) strong,
.page_submissions .author_guidelines .WordSection3 p:nth-child(1) strong,
.page_submissions .author_guidelines .WordSection3 p:nth-child(4) strong {
  color: #222 !important;
  font-size: 23px !important;
  font-weight: 600;
  line-height: 1.3 !important;
}

/* Requisitos de formato y datos de autoría */
.page_submissions .author_guidelines .WordSection2,
.page_submissions .author_guidelines .WordSection4 {
  margin: 20px 0 30px;
  padding: 22px 27px 15px;
  background: #f7f9fa;
  border: 1px solid var(--es-borde);
  box-sizing: border-box;
}

.page_submissions .author_guidelines .WordSection2 p,
.page_submissions .author_guidelines .WordSection4 p {
  margin: 0 0 8px !important;
  padding-left: 4px;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.page_submissions .author_guidelines a,
.page_submissions .submission_checklist a,
.page_submissions .section_policy a {
  color: var(--es-azul-suave);
}

.page_submissions .author_guidelines a:hover,
.page_submissions .author_guidelines a:focus,
.page_submissions .submission_checklist a:hover,
.page_submissions .submission_checklist a:focus,
.page_submissions .section_policy a:hover,
.page_submissions .section_policy a:focus {
  text-decoration: underline;
}

/* Bloques nativos que aparecen debajo de las directrices */
.page_submissions .submission_checklist,
.page_submissions .section_policy,
.page_submissions .privacy_statement {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--es-borde);
}

.page_submissions .submission_checklist h2,
.page_submissions .section_policy h2,
.page_submissions .privacy_statement h2 {
  color: #222;
  font-weight: 600;
  line-height: 1.25;
}

.page_submissions .submission_checklist p,
.page_submissions .submission_checklist li,
.page_submissions .section_policy p,
.page_submissions .privacy_statement p {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .page_submissions .author_guidelines > h2 {
    margin-top: 34px;
    font-size: 26px;
  }

  .page_submissions .author_guidelines .WordSection1 p:first-child,
  .page_submissions .author_guidelines .WordSection2,
  .page_submissions .author_guidelines .WordSection4 {
    padding: 19px;
  }

  .page_submissions .author_guidelines .WordSection1 p:nth-child(2) strong,
  .page_submissions .author_guidelines .WordSection1 p:nth-child(6) strong,
  .page_submissions .author_guidelines .WordSection3 p:nth-child(1) strong,
  .page_submissions .author_guidelines .WordSection3 p:nth-child(4) strong {
    font-size: 21px !important;
  }
}
