.wp-pagenavi {
	margin: 40px auto;
	font-size: 12px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #008679;
}
.wp-pagenavi a {
    color: #008679;
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
	margin: 0 10px 0 0;
	border: solid 1px #008679;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	line-height: 40px;
	text-align: center;
	box-sizing: border-box;
	justify-content: center;
	display: flex;
	align-items: center;
	transition: .3s;
}
.wp-pagenavi span.current {
    border: none;
    background: #008679;
    color: #fff;
}
.wp-pagenavi a.page {
	background: none;
}
.wp-pagenavi a.page:hover {
    background: #008679;
    color: #fff;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {
    margin-right: 10px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    display: none;
}

/* PC: responsive row, prevent overscaling */
.post-image-row {
  display: flex;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;

  gap: 16px;
  box-sizing: border-box;
  justify-content: center; /* if few images, keep centered */
}

.post-image-row img {
  flex: 1 1 0;          /* distribute evenly */
  max-width: 800px;     /* IMPORTANT: prevents huge images when count is small */
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Mobile: vertical layout */
@media screen and (max-width: 768px) {
  .post-image-row {
    padding: 0 16px;
    gap: 12px;
    flex-direction: column;
  }
  .post-image-row img {
    max-width: none;
    width: 100%;
  }
}