/* Wrapper */
.post-type-archive-post .wrapper {
	max-width: 1188px;
	width: 100%;
	height: auto;
	padding: 0 20px;
	margin: 0 auto;
	padding-top: 110px;
	padding-bottom: 100px;
}

@media (max-width: 767px) {
	.post-type-archive-post .wrapper {
		padding: 0 20px;
		padding-top: 60px;
		padding-bottom: 50px;
	}
}

/* Top Section */
.post-type-archive-post .top-section {
	width: 100%;
	height: auto;
	position: relative;
	border-bottom: 1px solid #ebebeb;
	padding-bottom: 16px;
	margin-bottom: 80px;
}

@media (max-width: 767px) {
	.post-type-archive-post .top-section {
		border-bottom: 0;
		padding-bottom: 0;
		margin-bottom: 30px;
	}
}

.post-type-archive-post .title {
	display: block;
	font-size: 26px;
	font-weight: bold;
	line-height: 38px;
	text-align: center;
	color: #000000;
	margin-bottom: 28px;
}

@media (max-width: 767px) {
	.post-type-archive-post .title {
		font-size: 20px;
		line-height: 29px;
		margin-bottom: 21px;
	}
}

/* Event Card Wrapper */
.post-type-archive-post .event-card-wrapper {
	font-size: 0;
	height: 100%;
	margin: 0 -15px;
}

.post-type-archive-post .null {
	text-align: center;
	padding: 120px 0 220px 0;
	font-size: 16px;
	font-weight: 400;
}

@media (max-width: 767px) {
	.post-type-archive-post .event-card-wrapper {
		display: block;
	}
	.post-type-archive-post .null {
		font-size: 13px;
		padding: 60px 0 90px 0;
	}
}

/* Event Card */
.post-type-archive-post .event-card {
	display: inline-block;
	width: 33.3%;
	height: auto;
	vertical-align: top;
	padding: 0 15px;
	margin-bottom: 45px;
}

@media (max-width: 767px) {
	.post-type-archive-post .event-card {
		width: 100%;
		margin-bottom: 30px;
	}
}

/* Card Image */
.post-type-archive-post .card-image {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 0;
	padding-bottom: 71.3%;
	background-color: darkgray;
	border: 1px solid #eee;
	border-radius: 10px;
	margin-bottom: 16px;
	background-size: cover;
	background-position: center center;
	cursor: pointer;
	transition: 0.4s;
}

.post-type-archive-post .card-image:hover {
	opacity: 0.6;
}

@media (max-width: 767px) {
	.post-type-archive-post .card-image {
		margin-bottom: 19px;
		border: 1px solid #eee;
	}
}

/* Card Badge */
.post-type-archive-post .card-badge {
	display: inline-block;
	width: auto;
	height: 24px;
	background: #ffffff;
	border: 1px solid #e55f74;
	box-sizing: border-box;
	border-radius: 300px;
	font-weight: 500;
	font-size: 13px;
	line-height: 22px;
	color: #e55f74;
	text-align: center;
	padding: 0 12px;
	transition: 0.2s;
	margin-bottom: 7px;
}

.post-type-archive-post .card-badge:hover {
	background: #e55f74;
	color: #fff;
}

/* Card Title */
.post-type-archive-post .card-title {
	display: flex;
	justify-content: space-between;
	gap: 0 6px;
}

.post-type-archive-post .card-title div {
	display: inline-block;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
	font-weight: 600;
	font-size: 19px;
	line-height: 28px;
	color: #222222;
}

.post-type-archive-post .card-title span {
	flex: 0 0 auto;
	font-weight: 400;
	font-size: 16px;
	line-height: 23px;
	text-align: right;
	color: #949494;
}

@media (max-width: 767px) {
	.post-type-archive-post .card-title {
		font-size: 14px;
		font-weight: bold;
		line-height: normal;
		color: #000000;
	}

	.post-type-archive-post .card-title div {
		font-weight: 500;
		font-size: 16px;
		line-height: 24px;
	}

	.post-type-archive-post .card-title span {
		font-size: 14px;
		line-height: 29px;
	}
}

/* Card Tag */
.post-type-archive-post .card-tag {
	font-size: 14px;
	font-weight: normal;
	line-height: normal;
	text-align: center;
	color: #aaaaaa;
}

@media (max-width: 767px) {
	.post-type-archive-post .card-tag {
		font-size: 12px;
	}
}

/* D-day */
.post-type-archive-post .dday {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 60px;
	height: 30px;
	line-height: 28px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	background-color: #0b4499;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	color: #fff;
}

@media (max-width: 767px) {
	/* Additional media styles for D-day can be added here */
}

/* Pagination */
.post-type-archive-post .pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.post-type-archive-post .pagination-btn {
	background-color: #0b4499;
	color: white;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.post-type-archive-post .pagination-btn:hover {
	background-color: #08356b;
}
