.elementor-page p {
	margin: 0;
}

/* Posts */
.latest-posts {
	display: grid;
	gap: 40px;
}
.post-item {
	position: relative;
}
.post-thumb {
	display: flex;
	position: relative;
}
.post-thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
}
.content-wrap {
	margin-top: 20px;
}
.post-title {
    font-size: 16px;
    font-weight: 700;
	margin-top: 10px;
}
.post-content {
	font-size: 14px;
	color: #000;
	line-height: 1.4;
}
.post-thumb .read-more {
    background-color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	padding: 16px 24px;
	border-radius: 40px;
	white-space: nowrap;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	opacity: 0;
	transition: opacity 0.25s linear;
}
.content-wrap .meta {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #000;
	margin-bottom: 8px;
}
.latest-posts a:hover .content-wrap .meta {
	color: #fff;
}
.content-wrap .date {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	line-height: 1;
}
.post-item:hover .date,
.post-item:hover .read-more {
	color: #000;
}
.post-item:hover .read-more {
	opacity: 1;
}

/* Pagination */
.pagination-wrap ul {
	display: flex;
	justify-content: center;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin-top: 60px;
}
.pagination-wrap ul li a,
.pagination-wrap ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	color: #000;
	text-decoration: none;
	font-size: 14px;
	border-radius: 4px;
	transition: all 0.3s ease;
}
.pagination-wrap ul li a:hover,
.pagination-wrap ul li span.current {
	background: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	color: #fff;
}
.pagination-wrap .next,
.pagination-wrap .prev {
	width: max-content;
	padding-inline: 16px;
}

/* Single page */
.single-hero-section {
	background-image: radial-gradient(at top left, #383737 0%, #111111 44%);
	padding-inline: 20px;
	padding-block: 80px;
	color: #fff;
}
.hero-inner {
	max-width: 1200px;
	margin-inline: auto;
	display: grid;
	gap: 40px;
	align-items: center;
}
.single .site-main {
	padding-block: 80px;
}
.single article .post-content h2,
.single article .post-content h3,
.single article .post-content h4 {
	margin-top: 40px;
}
.pagination a {
	color: var( --e-global-color-primary );
}

/* Author box */
.author-box-section {
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 30px;
  display: flex;
  justify-content: center;
}
.author-box-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  width: 100%;
}
.author-avatar img {
  border-radius: 50%;
}
.author-info {
  flex: 1;
}
.author-name {
  font-size: 18px;
  font-weight: bold;
	text-transform: capitalize;
  margin: 0 0 5px;
}
.author-description {
  font-size: 14px;
  color: #666;
}

@media screen and ( min-width: 640px ) {
	.hero-inner {
		grid-template-columns: repeat(2,1fr);
	}
	.hero-inner.full {
		grid-template-columns: 1fr;
	}
	.latest-posts {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and ( min-width: 991px ) {
	.latest-posts {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media screen and ( min-width: 1025px ) {
	.get-in-touch::after {
		content: '';
	}
	.get-in-touch-form .inline-fields p {
		grid-template-columns: 1fr 167px;
		gap: 24px;
	}
	.custom-light-bg::after {
		content: '';
		width: 86%;
		height: 100%;
		background-color: var(--e-global-color-f294080);
		border-radius: 16px;
		position: absolute;
		top: 0px;
		left: 50%;
		transform: translateX(-50%);
	}
}
@media screen and ( min-width: 1440px ) {
	.get-in-touch::after {
		width: 30%;
	}
}
@media screen and (max-width: 1025px) {
    .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
		flex-wrap: wrap;
	}
}

/* Hide navigation on small screens */
@media (max-width: 639px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}
