/* ============================================================
   BUYTHEME — responsive.css
   ============================================================ */

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {

  /* Top Picks: 2 columns */
  .bt-picks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Spotlight: stack */
  .bt-spotlight-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .bt-spotlight-label { justify-content: center; }
  .bt-spotlight-img-wrap {
    height: 280px;
    order: -1;
  }

  /* Footer top: 2-col */
  .bt-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* ── Tablet (max 900px) ── */
@media (max-width: 900px) {

  /* Hero: stack */
  .bt-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bt-hero-main {
    height: 380px;
  }
  .bt-hero-stack {
    flex-direction: row;
    height: auto;
  }
  .bt-hero-side {
    height: 200px;
  }

  /* Latest: 2 columns */
  .bt-latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Category: 2 columns */
  .bt-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Header search input narrower */
  .bt-search-form input {
    width: 120px;
  }
}

/* ── Mobile (max 640px) ── */
@media (max-width: 640px) {

  /* Header */
  .bt-header {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .bt-header-spacer { display: none; }
  .bt-logo { flex: 1; }
  .bt-search-form {
    flex: 1 1 100%;
    order: 3;
  }
  .bt-search-form input {
    width: 100%;
    flex: 1;
  }

  /* Hero */
  .bt-hero {
    padding: 16px 0 0;
  }
  .bt-hero-main {
    height: 320px;
  }
  .bt-hero-stack {
    flex-direction: column;
    height: auto;
  }
  .bt-hero-side {
    height: 190px;
  }
  .bt-hero-main-body {
    padding: 18px 16px 16px;
  }
  .bt-hero-main-title {
    font-size: 17px;
  }
  .bt-hero-main-excerpt {
    display: none;
  }

  /* Top picks: 1 col */
  .bt-picks-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bt-pick-img-wrap {
    height: 200px;
  }

  /* Section headers */
  .bt-picks-header,
  .bt-latest-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .bt-section-title {
    margin-bottom: 16px;
  }

  /* Spotlight */
  .bt-spotlight {
    padding: 40px 0;
  }
  .bt-spotlight-img-wrap {
    height: 220px;
  }
  .bt-spotlight-title {
    font-size: 20px;
  }
  .bt-spotlight-excerpt {
    font-size: 14px;
  }

  /* Latest: 1 col */
  .bt-latest-grid {
    grid-template-columns: 1fr;
  }

  /* Category */
  .bt-cat-grid {
    grid-template-columns: 1fr;
  }
  .bt-cat-header {
    padding: 36px 16px;
  }

  /* Article page */
  .bt-article-page {
    padding: 28px 16px 56px;
  }
  .bt-article-banner {
    height: 220px;
    margin-bottom: 22px;
  }
  .bt-article-excerpt {
    font-size: 16px;
    padding: 14px 16px;
  }
  .bt-article-body {
    font-size: 15.5px;
  }

  /* Footer */
  .bt-footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bt-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Static page */
  .bt-page-wrap {
    padding: 32px 16px 56px;
  }
}

/* ── Small mobile (max 380px) ── */
@media (max-width: 380px) {
  .bt-logo-text { font-size: 18px; }
  .bt-hero-main { height: 280px; }
  .bt-hero-side  { height: 170px; }
}
