/* stories.css */

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.story-card {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.story-card:hover {
  transform: translateY(-6px);
}

.story-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}

.story-card h4 {
  font-size: 17px;
  color: #5A0E24;
  margin-bottom: 6px;
}

.story-card p {
  font-size: 14px;
  color: #555;
  max-height: 3.6em;
  overflow: hidden;
}

.view-all-wrap {
  text-align: center;
  margin-top: 36px;
}

.view-all-btn {
  background: #D46A3A;
  color: #fff;
  padding: 12px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 15px;
}
/* Read Full Story button */
.read-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #C9A227;            /* Golden text */
  border: 1px solid #C9A227; /* Golden border */
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* PAGINATION */
.static-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.static-pagination a {
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.static-pagination a.active {
  background: #E9762B;
  color: #fff;
  border-color: #E9762B;
}

/* Hover effect */
.read-btn:hover {
  background: linear-gradient(135deg, #E6C45A, #B8962E);
  color: #fff;
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.35);
}


@media (max-width: 900px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .story-card img {
    height: 180px;
    object-fit: contain;
    background: #f8f6f2;
  }
}
