/*
 * 🇬🇧   ENGLISH
 * MOBILE ADJUSTMENTS
 * Centralised repository for all responsive adjustments
 *
 * 🇧🇷🇵🇹 PORTUGUÊS
 * AJUSTES MÓVEIS
 * Repositório centralizado para todos os ajustes responsivos
 */

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Desktop and large screens (>= 1025px)
/* 🇧🇷 Telas grandes e computadores (>= 1025px)
/* 🇵🇹 Ecrãs grandes e computadores (>= 1025px)
/* -------------------------------------------------------------------------- */

@media (min-width: 1025px)
{
  .navbar-desktop
  {
    display: block;
  }

  .navbar-mobile
  {
    display: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Tablets and small screens (<= 1024px)
/* 🇧🇷 Tablets e telas pequenas (<= 1024px)
/* 🇵🇹 Tablets e ecrãs pequenos (<= 1024px)
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px)
{
  .navbar-desktop
  {
    display: none !important;
  }

  .navbar-mobile
  {
    display: block;
  }

  .hero-section
  {
    padding-top: var(--navbar-height-mobile);
  }

  .news-grid
  {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter-grid
  {
    flex-direction: column;
    gap: 40px;
  }

  .counter-number
  {
    font-size: 3.5rem;
  }

  .testimonials-grid
  {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }

  .testimonial-column
  {
    gap: 3rem;
    transform: translateY(30px);
  }

  .testimonial-reveal-active
  {
    transform: translateY(0);
  }

  .post-hero-content
  {
    padding: 10px;
  }

  .post-hero-title
  {
    line-height: 1.2;
  }

  .post-grid
  {
    display: block;
  }

  .post-sidebar
  {
    border-left: none;
    border-top: 1px solid var(--post-border-color);
    margin-top: 60px;
    padding-left: 0;
    padding-top: 60px;
  }

  .blog-archive-section
  {
    padding: 20px;
  }

  .blog-posts-grid
  {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-archive-title
  {
    font-size: 2.5rem;
  }

  .site-footer
  {
    padding: 20px;
  }

  .footer-top-tier
  {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid
  {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Phablets and mobile horizontal (<= 768px)
/* 🇧🇷 Phablets e celulares horizontais (<= 768px)
/* 🇵🇹 Phablets e telemóveis horizontais (<= 768px)
/* -------------------------------------------------------------------------- */
@media (max-width: 768px)
{
  .partners-grid
  {
    gap: 3rem;
  }
  
  .partner-item
  {
    flex: 0 1 150px;
  }

  .news-title
  {
    font-size: 0.90rem;
  }

  .post-body-section
  {
    padding: 20px;
  }

  .post-hero
  {
    background-attachment: scroll; /* 🇬🇧 Disable parallax for performance */
    height: 60vh;
  }

  .post-hero-title
  {
    font-size: 1.8rem;
  }

  .next-article-visual img
  {
    max-width: 100%;
  }

  .blog-archive-header
  {
    padding: 60px 0 40px 0;
  }

  .blog-archive-title
  {
    font-size: 2rem;
  }

  .blog-archive-description
  {
    font-size: 1rem;
  }

  .blog-archive-section
  {
    padding: 60px 20px;
  }

  .blog-posts-grid
  {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .blog-post-visual
  {
    height: 200px;
  }

  .blog-post-title
  {
    font-size: 1.3rem;
  }

  .pagination-wrapper
  {
    gap: 15px;
  }

  .pagination-numbers .page-numbers
  {
    font-size: 0.9rem;
    height: 40px;
    min-width: 40px;
  }
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Small mobile phones (<= 600px)
/* 🇧🇷 Pequenos celulares (<= 600px)
/* 🇵🇹 Pequenos telemóveis (<= 600px)
/* -------------------------------------------------------------------------- */
@media (max-width: 600px)
{
  .section h2
  {
    font-size: 2.0rem;
  }

  .blog-archive-header
  {
    padding: 40px 0 30px 0;
  }

  .blog-archive-title
  {
    font-size: 1.8rem;
  }

  .blog-archive-section
  {
    padding: 40px 20px;
  }

  .blog-post-content
  {
    padding: 20px;
  }

  .blog-posts-grid
  {
    gap: 20px;
  }

  .pagination-prev,
  .pagination-next
  {
    flex: 1 1 100%;
  }

  .pagination-prev a,
  .pagination-next a
  {
    justify-content: center;
    width: 100%;
  }

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

  .footer-background-skyline
  {
    background-position: bottom right -120px;
    background-size: auto 600px;
  }
}

@media (max-width: 550px)
{
  .news-overlay
  {
    height: unset;
  }
}

@media (max-width: 430px)
{
  .news-grid
  {
    border: none;
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 380px)
{
  .help-section,
  .news-section
  {
    padding: 20px;
  }

  .faq-ornament
  {
    height: 30px;
    width: 30px;
    min-height: 30px;
    min-width: 30px;
  }
}

@media (max-width: 350px)
{
  .submit-button
  {
    font-size: 0.90rem;
    padding: 20px;
  }
  
  .help-section,
  .news-section
  {
    padding: 10px;
  }

  .footer-logo
  {
    height: auto;
    width: 300px;
  }
}

@media (max-width: 325px)
{
  .help-grid
  {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }

  .footer-logo
  {
    width: 280px;
  }
}