@media only screen and (max-width: 840px) {

/* Header Menu */

.navigation_header {
  height: 80px;
  top: 8px;
  left: 8px;
  width: calc(100vw - 32px);
}

li.nav-item {
  padding-right: 8px;
}

img.home {
  height: 36px;
}

.page-header {
  font-size: 14px;
}

.nav-item a {
  font-size: 12px;
}

.trp-language-switcher-container a {
  font-size: 12px;
}

/* Main Content */

  main {
    margin-top: 114px;
    min-height: calc(100vh - 128px);
    margin-left: 8px;
    margin-right: 8px;
  }

    /* Landing Page */

    .cursor_follow {
      height: calc(100vh - 192px);
    }

  .cursor_follow p {
    max-width: 318px;
    font-size: 14px;
  }

  /* Buttons */
  .primary-btn {
    width: fit-content;
    border-radius: 32px;
    font-family: "Philibert";
    font-size: 14px;
  }

  .primary-btn span {
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-top: 8px;
  }

  img.arrow {
  height: 12px;
  }

  .arrow-part {
  margin-left: 8px;
  width: 8px;
  }

  .arrow-part.first {
  margin-left: 0px;
  margin-right: 8px;
}

  .full-btn {
  padding-top: 8px;
  padding-bottom: 8px;
  height: 30px;
}

/* Footer */

footer{
  margin: 8px;
}

.landing-recent-desktop {
    display: none;
  }

   .landing-recent-mobile {
    display: block;
    margin-top: 56px;
  }

.landing-recent-mobile .text-wrapper span {
  font-size: 16px;
}

  /* make the section full width if you want */
  .landing-mobile-grid .landing-card {
    width: 100%;
  }

  /* Featured image */
.landing-card-thumb {
  aspect-ratio: 16 / 9;
}

/* Article/Posts */

 .research-text-card {
    display: flex;
    flex-direction: column-reverse;
  }

.research-text-info {
  width: 100%;
}

.bottom_article {
  margin-bottom: 8px;
  margin-top: 8px;
}

.research-text-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.topics-label {
  font-size: 12px;
}

  a.topic-pill {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
    display: inline-block;
    white-space: nowrap;
  }

.research-text-type {
  padding-bottom: 8px;
  display: none;
}

.top_article {
  margin-bottom: 0px;
}

.research-text-meta {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  width: 100%;
}

  .research-text-date {
    padding-right: 8px;
    margin-top: 1.5px;
  }

  .research-text-item {
    padding-bottom: 48px;
  }

  .research-text-item:nth-last-child(1) {
  padding-bottom: 16px;
}

.wrap-two-third{
  width: 100%;
  margin-left: 0%;
}

  .equipa-grid-editorial {
    gap: 8px;
  }

  .equipa-membro-consultivo {
    flex-direction: column;
  }

  .equipa-membro-consultivo .equipa-foto {
    flex: 0 0 auto;
    max-width: 120px;
  }

  header.page-header {
  padding-bottom: 32px;
}

.landing-card-title a {
  min-height: auto;
}

.landing-card-meta {
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 8px;
}

.text-wrapper span {
  font-size: 18px;
}

h1.wp-block-heading {
  font-size: 20px;
}

h2.wp-block-heading {
  font-size: 18px;
}

p {
  font-size: 14px;
}

h3.wp-block-heading {
  font-size: 16px;
}

h4.wp-block-heading {
  font-size: 14px;
}

h6.wp-block-heading {
  font-size: 12px;
}

ol.wp-block-list {
  font-size: 14px;
}

ul.wp-block-list {
  font-size: 14px;
}

.research-text-topics.inside_text {
  padding-bottom: 16px;
}

.research-text-topics.inside_text a.topic-pill {
    padding-top: 4px;
    padding-bottom: 4px;
}

.research-meta-box {
  display: flex;
  flex-direction: column-reverse;
}

.meta-type{
  display: none;
}

.meta-date {
  padding-top: 8px;
}

.meta-author {
  padding-bottom: 24px;
}

.meta-doi {
  padding-bottom: 8px;
  font-size: 14px;
}

.meta-keywords {
  padding-bottom: 8px;
  font-size: 14px;
}

.meta-coauthor{
    font-size: 14px;
}

.research-meta-box .meta-left,
.research-meta-box .meta-right{
  width: 100%;
}

}