/* Tablets: de 768px atÃ© menos de 1024px */
@media (768px <=width < 1024px) {
  :root {
    --header-height: 72px;
  }

  .topbar-inner {
    padding: 0 18px;
    gap: 16px;
  }

  .logo-text {
    display: inline;
    font-size: 17px;
    letter-spacing: 1px;
  }

  .main-nav {
    display: none;
  }

  .header-search {
    flex: 1;
    min-width: 0;
    height: 44px;
    margin-left: 0;
  }

  .header-search input {
    width: 100%;
    font-size: 16px;
  }

  .search-shortcut {
    display: none;
  }

  .header-actions {
    flex-shrink: 0;
    gap: 8px;
  }

  .header-icon-button {
    display: flex;
    width: 44px;
    height: 44px;
    margin-right: 0;
  }

  .header-search[data-google-search] .google-search-panel {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: min(65dvh, calc(100dvh - var(--header-height) - 16px));
    overflow-x: hidden;
  }

  .header-search[data-google-search] .google-search-filters {
    flex-wrap: wrap;
  }

  /* Menu Ã  esquerda e feed Ã  direita. */
  .app-layout {
    width: 100%;
    max-width: 1024px;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 22px 18px 50px;
  }

  .left-column {
    display: block;
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: calc(var(--header-height) + 22px);
    min-width: 0;
    max-height: calc(100dvh - var(--header-height) - 44px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
  }



  .left-column::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .feed {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
  }

  .mini-profile-content {
    padding: 0 12px 12px;
    overflow-wrap: anywhere;
  }

  .mini-profile-content>strong {
    font-size: 18px;
  }

  .left-menu-item {
    min-height: 44px;
    padding: 8px;
  }

  .editor-promo {
    padding: 10px;
    gap: 8px;
  }

  .editor-promo-icon {
    width: 28px;
  }

  .editor-promo-icon img {
    width: 28px;
  }

  .editor-promo span {
    font-size: 12px;
    letter-spacing: 0;
  }

  .editor-promo strong {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .feed-top {
    flex-wrap: wrap;
    gap: 12px;
  }

  .stories {
    max-width: 100%;
  }

  .story {
    flex: 0 0 55px;
  }

  .quick-create,
  .social-post,
  .feed-discovery,
  .repost-compose {
    min-width: 0;
    padding: 14px;
  }

  .quick-create-main,
  .quick-actions,
  .post-header,
  .post-actions-row,
  .post-action-group,
  .repost-compose-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .quick-placeholder {
    flex: 1 1 180px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .quick-actions-a,
  .quick-actions-button,
  .quick-actions-button-active {
    min-height: 40px;
  }

  .textarea-new-post,
  .repost-textarea {
    font-size: 16px;
  }

  .post-author {
    flex: 1 1 190px;
    min-width: 0;
  }

  .post-author>a,
  .avatar,
  .project-menu-container {
    flex-shrink: 0;
  }

  .post-author-info,
  .comment-body,
  .post-description,
  .challenge-post-details,
  .repost-compose-user,
  .repost-original-user-info {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .post-author-info>div {
    flex-wrap: wrap;
  }

  .post-author-info>div>a {
    min-width: 0;
  }

  .project-menu-container {
    max-width: 100%;
    margin-left: auto;
  }

  .project-menu {
    margin-right: 0;
  }

  .project-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-details>div {
    min-width: 0;
  }

  .project-details strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-details>button {
    grid-column: 1 / -1;
    min-height: 40px;
    justify-content: center;
    white-space: normal;
  }

  .post-action-group button,
  .save-button {
    height: auto;
    min-height: 40px;
  }

  .new-comment-div-avatar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .new-comment .new-comment-div-nome {
    flex: 1 1 160px;
    width: auto;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .new-comment div a,
  .repost-publish-button {
    min-height: 40px;
    flex-shrink: 0;
  }

  .feed-discovery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .community-highlight {
    min-height: 0;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .community-highlight-text {
    width: 100%;
  }

  .community-highlight-text h2 {
    font-size: 30px;
    line-height: 1.1;
  }

  .remix-stack {
    position: relative;
    right: auto;
    bottom: auto;
    width: 295px;
    max-width: 100%;
    height: 240px;
    align-self: flex-end;
    transform: none;
  }

  .right-column {
    display: none;
  }

  .right-column>* {
    min-width: 0;
    margin-bottom: 0;
    overflow-wrap: anywhere;
  }

  .challenge-members,
  .right-card-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .challenge-card>a {
    height: auto;
    min-height: 40px;
    padding: 10px;
    text-align: center;
  }

  .right-footer {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .right-footer a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
}