/* Tablet / small desktop fine-tuning */
@media (max-width: 380px) {
  .title {
    font-size: 21px;
  }

  .side-panel-title {
    font-size: 28px;
  }
}

/* Desktop layout: two-column with side panel */
@media (min-width: 900px) {
  .page {
    flex-direction: row;
  }

  .side-panel {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 72px;
    background: var(--bg);
    border-right: 1px solid var(--border-soft);
    min-width: 360px;
  }

  .card-outer {
    width: 100%;
    max-width: 480px;
  }

  .card {
    background: var(--card-bg-desktop);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  }

  .card-inner {
    padding: 28px 32px 32px;
  }

  /* Card marquee duplicates the side panel marquee — only needed on mobile */
  .card-marquee {
    display: none;
  }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .side-panel {
    padding: 48px;
  }
}
