/* assets/pages/rhythms/rhythms-desktop.css */

@media (min-width: 1250px) {
  .rhythms-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
  }

  #rhythms-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 14px;
  }

  article.rhythm-card,
  .rhythm-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 250px;
    padding: 14px;
    gap: 10px;
  }

  .rhythm-card-header {
    gap: 10px;
  }

  .rhythm-card h3 {
    font-size: 1rem;
    line-height: 1.14;
  }

  .rhythm-image-wrap {
    min-height: 110px;
    padding: 10px;
    border-radius: 14px;
  }

  .rhythm-image {
    max-height: 138px;
  }

  .rhythm-card-footer {
    padding-top: 8px;
  }

  .rhythm-card-cta {
    font-size: 1.02rem;
  }
}

@media (max-width: 1040px) {
  .rhythms-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rhythms-sidebar {
    position: static;
  }

  #rhythms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
