@media (max-aspect-ratio: 1/1) {

  /* Botão de menu visível */
  #botao-opcoes {
    display: block;
    position: fixed;
    margin-left: 3%;
    z-index: 999;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  #botao-opcoes img {
    width: 30px;
    height: auto;
  }

.sidebar.expandido ul li span {
    display: none;
}

  .content-container {
    margin-left: -6%;
    width: 100%;
    transition: all 0.3s ease;
    height: auto;
    border-radius: 20px;
    background-color: #C1CFDD;
    padding-bottom: 20px;
  }

  .content-container.expandido {
    margin-left: 7%;
    width: 90%;
  }

  .container-timeline {
    width: 95%;
    margin: 20px auto 0 auto;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

    .timeline {
    margin: 0 auto;
    padding-left: 10%;
    margin-left: 3%;
    position: relative;
    border-left: 3px solid #555A89;
    width: 100%;
    }

    .timeline-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 2.5rem;
    }

    .timeline-marker {
    position: absolute;
    left: -12.72%;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #555A89;
    border-radius: 50%;
    z-index: 2;
    }

    .timeline-date {
    position: absolute;
    left: -15%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #686B99;
    white-space: nowrap;
    font-family: 'Ainslie Sans', sans-serif;
    margin-left: 8%;
    }

    .timeline-content {
    margin-left: 15%;
    width: 63%;
    background: #cdd4e1;
    padding: 10px 8px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    gap: 10px;
    margin-right: 15%;
    }

    .info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    }

    .timeline-content p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
    color: #1e1e2f;
    font-family: 'Ainslie Sans', sans-serif;
    }

    .timeline-time {
    align-self: flex-end;
    color: #555A89;
    font-size: 0.75rem;
    flex-shrink: 0;
    font-family: 'Ainslie Sans', sans-serif;
    }

    /* Ícones: divs e imagens */
    .iconeVerm,
    .iconeAzul,
    .icone-not {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
    }

    /* Remove borda de imagem */
    .icone-not {
    object-fit: contain;
    }
}