
.hero-container{
    height: 650px;
}
.image-container {
  position: fixed;
  height: inherit;
  width: 100%;
  overflow: hidden;
  background: url('../images/blogHero.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.template-padding{
  padding: 0 6%;
}
.curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.our-stories{
  width: 50%;
}
.stamp{
  position: absolute;top: -10%;right:0%;z-index: 2;
}
.blog-category{
  padding: 3.5rem 0 1.5rem 0;
}
.cards-container {
  gap: 1.25rem;
}

.cards {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  height: fit-content;
  flex:0 0 30%;
}

.cards-img {
  aspect-ratio: 1.37;
  max-height: 310px;
  border: 10px solid #fff;
  box-sizing: border-box;
}

.author {
  display: flex;
  align-items: center;
  margin-top: 3px;
  margin-left: 0.625rem;
  gap: 0.625rem;
}

.author img {
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
}

.card-content {
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tags {
  text-transform: uppercase;
  font-weight: 800;
}

.sections-title {
  font-size: 36px;
  font-family: "Anek Latin", Arial, sans-serif;
  font-weight: 700;
  color: #326E99;
  background-color: #FFF7EA !important;
  margin-left: 12.375rem;
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.highlight {
  color: #000000;
  font-size: 36px;
  font-family: "Caveat", cursive;
  margin: 1.5px;
  min-height: 100px;
  max-height: 100px;
}

/* ---------- Mobile (≤ 768px) ---------- */
@media (max-width: 768px) {
  /* Hero/curve */



  .curve {
    bottom: -2px;
    left: 50%;
    width: 240%;
    transform: translateX(-50%);
    margin-bottom: -20px;
  }
  .our-stories{
  width: 100%;
}

.stamp{
    top: -20%;
    right: -20%;
}

  .stamp {
    width: 160px;
    height: 160px;
    align-self: center;
    margin-top: -24px;       /* was -470px: extreme; soften */
  }

  /* Cards — horizontal scroll with snap */
  .cards-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding: 1rem;
    justify-content: flex-start;
  }

  .highlight {
    font-size: 24px;
    min-height: 70px;
  }

  /* ---------- Scrollbar hiding ---------- */
.cards-container::-webkit-scrollbar {
  display: none;
}
.cards-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
   display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}
  .cards {
    max-width: 100%;
    flex: 0 0 100% !important;
    scroll-snap-align: start; 
    border-radius: 0.375rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .cards-container::-webkit-scrollbar {
    display: none;
  }

.cards-img{
  min-height: 224px;
}
}


