@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

* {
  box-sizing: border-box;
}

.date_custom {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 10px 15px;
  text-align: center;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.date_custom .day_custom {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
}

.date_custom .month_custom {
  font-size: 14px;
  text-transform: uppercase;
  color: #ddd;
}

.date_custom .year_custom {
  font-size: 25px;
  font-weight: bold;
  color: #fff;
}

.portfolio-page__pagination {
  display: flex;
  justify-content: center;
  /* Center pagination */
  padding: 20px 0;
  /* Add some vertical space */
}

.portfolio-page__pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  /* Add space between pagination items */
}
/* begin pagination lawas */
/* .portfolio-page__pagination li a,
.portfolio-page__pagination li span {
  display: inline-block;
  padding: 10px 15px;
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-page__pagination li a:hover {
  background-color: #f0f0f0;
  color: #007bff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.portfolio-page__pagination li span {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  pointer-events: none;
} */
/* end pagination lawas */

.container_custom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  margin: auto;
}

.container_custom_foto {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin: auto;
}

.card_custom {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card_custom-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card_custom-header_foto img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card_custom-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 20px;
  /* min-height: 250px; */
}

.card_custom-body h4 a {
  font-size: 20px;
  color: black;
  text-decoration: none;
}

.card_custom-body h4 a:hover {
  color: blue;
}

.tag {
  background-color: #ccc;
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  margin: 0;
  padding: 2px 10px;
  text-transform: uppercase;
}

.tag-pink {
  background-color: #0088cc;
}

.btn-pink {
  background-color: #0088cc;
  color: #fff;
  font-size: 12px;
}

.card_custom-footer {
  text-align: right;
  padding: 0px 0px;
  margin-top: 0px;
}

.btn-pink:hover {
  background-color: blue;
  color: #fff;
  font-size: 12px;
}

.card_custom-body h4 {
  margin: 10px 0;
}

.card_custom-body p {
  font-size: 14px;
  margin: 0 0 2px 0;
  font-weight: 500;
  color: rgb(70, 68, 68);
}

@media (max-width: 940px) {
  .container_custom {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
  }
}

@media (max-width: 940px) {
  .container_custom_foto {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
  }
}
