/* Tablet portrait / mobile — up to 840px */

@media (max-width: 840px) {

  :root {
    --side: 20px;
    --side_right: 20px;
    --indent: 0px;
  }

  /* Header: keep the gradient, drop the blur (desktop only) */
  .navigation_header {
    align-items: center;
    padding: 20px;
  }

  .header_blur span {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /* Mobile menu */
  .header_right {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    gap: 32px;
    padding: 72px 20px 20px;
    background-color: var(--black);
  }

  .header_right.open {
    display: flex;
  }

  .close_menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .header_pages {
    flex-direction: column;
  }

  .header_pages li + li {
    border-left: 0;
  }

  .header_pages a {
    padding: 8px 0;
    font-size: 14px;
  }

  .language_pages a {
    font-size: 14px;
  }

  .language_pages li:first-child a {
    padding-left: 0;
  }

  /* Hero */
  .hero_title {
    padding-top: 80px;
  }

  /* Sections */
  .corner_sobre {
    left: 0;
  }

  .pager_page,
  .team_list,
  .logos,
  footer {
    grid-template-columns: 1fr;
  }

  .pager_page {
    gap: 32px;
  }

  .equipa_header {
    flex-direction: column;
    gap: 16px;
  }

  .team_list {
    gap: 32px;
  }

  /* Footer */
  footer {
    align-items: start;
    gap: 32px;
    padding-top: 56px;
  }

  .footer_logo {
    margin-bottom: 24px;
  }

  .single_top {
  min-height: 300px;
  padding-bottom: 32px;
}

 body.single .header_right {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
  }

  body.single .header_pages {
    flex-direction: row;
  }

  body.single .header_pages a {
    padding: 0 9px;
    font-size: 12px;
  }
}