/* ===== Global: prevent horizontal scrollbar from Tilda zoom overflow ===== */
html {
  overflow-x: hidden;
}

/* ===== Blog page: feed layout fixes ===== */

/* Hide skeleton preloaders (they show while waiting for Tilda CDN which we replaced) */
.t-feed__post-preloader {
  display: none !important;
}

/* Feed block padding */
#rec1949502771 {
  padding-bottom: 60px !important;
}

/* Reduce gap between title and posts */
#rec1949502771 .t-section__title {
  margin-bottom: 30px !important;
}

/* Blog feed grid — our JS injects posts into this container */
.js-feed-container {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 20px;
}

.js-feed-container .t-feed__grid-col {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .js-feed-container .t-feed__grid-col {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .js-feed-container {
    padding: 0 16px;
  }
  .js-feed-container .t-feed__grid-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Hide feed separator divs — handled by flex gap */
.t-feed__grid-separator {
  display: none !important;
}
