/* GIRO: exclusivo da pagina de testes, invisivel no desktop. */
.mh-giro { display: none !important; }

@media (max-width: 767px) {
  .mh-giro {
    display: block !important;
    width: 100%; max-width: 100%; overflow: hidden;
    background: #fff; padding: 0 0 23px; margin: 0;
    box-sizing: border-box;
  }
  .mh-giro, .mh-giro * { box-sizing: border-box; }
  .mh-giro-heading {
    height: 29px; border-top: 1px solid #e6e6e6;
    position: relative; margin: 0 0 12px; padding: 0;
  }
  .mh-giro-heading a {
    display: inline-block; background: #4f7f92; color: #fff;
    font-weight: 700; font-size: 13px; line-height: 24px;
    padding: 0 19px 0 14px; border-radius: 0 9px 9px 0;
    text-decoration: none;
  }
  .mh-giro-track {
    display: flex !important;
    gap: 14px;
    width: calc(100% - 16px);
    margin-left: 16px;
    padding: 0 16px 10px 0 !important;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    align-items: flex-start;
  }
  .mh-giro-track::-webkit-scrollbar { display: none; }
  .mh-giro .mh-giro-card {
    flex: 0 0 158px !important;
    width: 158px !important; min-width: 158px !important;
    max-width: 158px !important;
    margin: 0; padding: 0;
    scroll-snap-align: start;
  }
  .mh-giro .mh-giro-card > a {
    display: block; width: 100%; color: #111; text-decoration: none;
  }
  /* Sobrescreve as regras genericas de imagens do tema. */
  .mh-giro .mh-giro-card img.mh-giro-image,
  .mh-giro .mh-giro-card .mh-giro-image {
    display: block !important;
    width: 158px !important;
    min-width: 158px !important;
    max-width: 158px !important;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    aspect-ratio: 158 / 92;
    object-fit: cover !important;
    object-position: center;
    border-radius: 15px;
    background: #eee;
    margin: 0 !important;
    padding: 0 !important;
  }
  .mh-giro .mh-giro-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-top: 11px;
    font-size: 14px; line-height: 17px; font-weight: 400;
  }
  .mh-giro-empty { font-size: 13px; padding: 8px 0; }
}
