/* Homepage news cards — replaces Tilda feed */
.gostim-news {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: "Montserrat", Arial, sans-serif;
}
.gostim-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gostim-news__card {
  background: #fff;
  border-radius: 35px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gostim-news__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.gostim-news__card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  box-sizing: border-box;
}
.gostim-news__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  background: #f3e8e4;
}
.gostim-news__img--empty {
  background: linear-gradient(135deg, #ffe4dc, #ffd0c4);
}
.gostim-news__title {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
}
.gostim-news__excerpt {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.35;
  color: #444;
  flex: 1;
}
.gostim-news__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0032c7;
  color: #fff !important;
  border: none;
  border-radius: 15px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.gostim-news__empty,
.gostim-news__error {
  text-align: center;
  color: #555;
  padding: 40px 16px;
  font-size: 15px;
}
.gostim-news__more {
  text-align: center;
  margin-top: 28px;
}
.gostim-news__more a {
  color: #0032c7;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
@media screen and (max-width: 960px) {
  .gostim-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 640px) {
  .gostim-news__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .gostim-news__card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}
