@media (max-width: 1600px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-shift--active .insight__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1400px) {
  .template-screen,
  .my-post-screen,
  .top-infuencers,
  .wishlist-screen,
  .inner-page-wrapper,
  .trending-section,
  .insight-section,
  .cfs-wrapper {
    max-width: 90% !important;
    margin: 0 auto;
  }

  .cfs-wrapper {
    padding: 100px 24px 12px 24px;
  }
  .col-5-custom {
    flex: 0 0 25%;
  }
  .footer-action {
    font-size: 12px;
    padding: 2px 4px;
  }
  /* headerIn */
  .navbar-search input {
    max-width: 200px;
    flex: 1;
  }
  .nav-spacer {
    max-width: 200px !important;
  }
  /* headerIn end */

  /* post card */
  .post-description,
  .post-title,
  .profile-name {
    font-size: 14px !important;
  }
  /* post card end */

  .steps-page .container {
    padding-top: 0 !important;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1300px) {
  .max-w-post-card {
    max-width: 430px;
    min-width: unset;
    width: 100%;
  }
  .ask-ekko-inline-row{
    right: -65%;
  }
}

@media (min-width: 1200px) {
  .dashboard-main {
    margin-left: 75px;
  }
  .sidebar {
    inset-inline-start: 0;
  }
}
@media (max-width: 1200px) {
    .max-w-post-card {
    max-width: 384px;
    min-width: unset;
    width: 100%;
  }
  .ask-ekko-inline-row{
    right: -70%;
  }
  .col-5-custom {
    flex: 0 0 33.33%;
    max-width: 25%;
  }
  /* create from scratch */
  /* trending topic section */
  .insight__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-shift--active .insight__grid {
    grid-template-columns: 1fr;
  }
  /* create from scratch end */
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  /* HeaderIn */
  /* .nav-spacer {
    display: none;
  }
  .page-switch {
    justify-content: start;
  } */
  /* HeaderIn end */

  /* Sidebar becomes offcanvas */
  /* .sidebar {
    position: fixed;
    left: -90px;
    top: 0;
    height: 100vh;
    width: 70px;
    transition: left 0.3s ease;
    z-index: 1000;
  } */

  /* .sidebar.mobile-active {
    left: 0;
  } */

  /* Secondary panel full width */
  /* .sidebar-secondary-panel {
    left: 0;
    width: 100%;
    z-index: 1100;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.08);
  } */

  /* Overlay background */
  .overlay.active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 900;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .col-5-custom {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .auth-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .auth-left {
    padding: 3rem;
  }
  .auth-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding-left: 50px;
    border-left: 1px solid #e5e7eb99;
  }
  .trending-topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .insight__tabs {
    width: 100%;
  }

  .insight__grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    padding: 12px;
  }

  .insight-card__title {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .col-5-custom {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .trending-topics-grid {
    grid-template-columns: 1fr;
  }
  .insight-section {
    padding: 0 16px;
  }

  .insight-card-wrapper {
    padding: 16px;
  }

  .trendingtopic-switch-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .insight__title {
    font-size: 14px;
  }
}

@media (max-height: 900px) {
  .sidebar {
    width: 80px;
  }
  .dashboard-main {
    margin-left: 80px;
  }
}
