@import url('pace.css');
@import url("main.css");
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
* {
  font-family: "Work Sans", sans-serif;
  box-sizing: border-box;
}
/* General Styles */
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  line-height: 1.5;
}

/* Container */
.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Main Content */
main {
  padding: 12px;
}

article {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Blog Post List */
.post-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.post-item h2 {
  margin: 0 0 10px;
}

.meta {
  font-size: 14px;
  color: #777;
}

/* Read More Button */
.read-more {
  display: inline-block;
  padding: 5px 10px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.read-more:hover {
  background: #0056b3;
}

/* Pagination */
.pagination {
  text-align: center;
  padding: 20px 0;
}

.pagination a {
  padding: 5px 10px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.pagination a:hover {
  background: #555;
}

/* BG img */
.custom-image-container {
  position: relative;
  text-align: center;
  color: white;
  width: 100%;
  height: 220px;
  background-image: url('https://cdn.openspecs.in/images/gradient1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  background-color: #f0f0f0;
}

.custom-text-centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4em;
  font-weight: bold;
  color: white;
}

@media screen and (min-width: 789px) {
  .custom-image-container {
    height: 300px;
  }
  .custom-text-centered {
    font-size: 1.5em;
  }
}