/* Container for all cards */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 24px;
  background-color: #fff8f0;
}

/* Individual card */
.gallerycard {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Hover effect */
.gallerycard:hover {
  transform: translateY(-6px);
}

/* Card image */
.gallerycard img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Card text section */
.gallerycard-content {
  padding: 16px;
}

/* Blog title */
.gallerycard-content h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: #333;
}

/* Blog description */
.gallerycard-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

/* Read More button */
.galleryread-more {
  margin-top: 10px;
  background-color: #e74c3c;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.read-more:hover {
  background-color: #c0392b;
}

/* Blog Detail Page */
.blog-detail {
  padding: 30px 20px;
  max-width: 900px;
  margin: auto;
  background-color: #fff8f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Blog image in detail view */
.blog-detail img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Blog title in detail view */
.blog-detail h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #2c3e50;
}

/* Blog content */
.blog-detail p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}
