/* style.css */




.search-container {
  padding: 15px 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.search-box {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.latest-post {
  margin: 30px auto;
  padding: 20px;
  max-width: 80%;
  background-color: #f3f1eb;
  border-left: 4px solid #aaa;
}

.latest-post h2 {
  font-size: 1.4rem;
  font-weight: normal;
  margin-bottom: 10px;
}

.highlight {
  font-style: italic;
  font-weight: bold;
}

.latest-post p {
  font-size: 1rem;
  color: #444;
}

/* Responsive design */
@media (max-width: 768px) {

  .latest-post h2 {
    font-size: 1.2rem;
  }

  .search-box {
    font-size: 0.95rem;
  }
}







/* section card post */


/* .posts-section {
  text-align: center;
  margin: 60px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.posts-title {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  margin-bottom: 30px;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.posts-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.post-card {
  min-width: 200px;
  flex: 0 0 auto;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.post-card img {
  width: 100%;
  border-radius: 5px 5px 0 0;
  display: block;
}

.post-card .line {
  height: 3px;
  background-color: #333;
  width: 60%;
  margin: 10px auto;
}

.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.9);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 10;
  color: #333;
}

.slider-btn:hover {
  background-color: #f0f0f0;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}


@media (max-width: 768px) {
  .post-card {
    min-width: 160px;
  }

  .posts-title {
    font-size: 1.5rem;
  }
} */


.posts-section {
  text-align: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.posts-title {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  margin-bottom: 30px;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.posts-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.posts-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.post-card {
  flex: 0 0 250px;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.post-card img {
  width: 100%;
  height: auto;
  display: block;
}

.post-card .line {
  height: 3px;
  background-color: #333;
  width: 60%;
  margin: 10px auto;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.9);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 2;
  color: #333;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .post-card {
    flex: 0 0 200px;
  }

  .posts-title {
    font-size: 1.5rem;
  }
}


