.marpe-index {
	background: #ffffff;
	color: #0f2e63;
}

.marpe-index-container {
	max-width: 1104px;
	margin: 0 auto;
	padding: 0 24px;
}

.marpe-index-hero {
	padding: 80px 0 48px;
}

.marpe-index-title {
	margin: 0;
	color: #0f2e63;
	font-size: clamp(2.1rem, 3.5vw, 3rem);
	font-weight: 400;
	line-height: 1.16;
}

.marpe-index-description {
	margin-top: 20px;
	max-width: 780px;
	color: #0f2e63;
	font-size: 1rem;
	line-height: 1.7;
}

.marpe-index-description p {
	margin: 0;
}

.marpe-index-posts-section {
	padding: 0 0 80px;
}

.marpe-index-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.marpe-index-card {
	margin: 0;
}

.marpe-index-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.marpe-index-card-image {
	background: #f4f4f4;
	border-radius: 32px 32px 0 0;
	overflow: hidden;
	aspect-ratio: 341 / 232;
}

.marpe-index-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.marpe-index-card-body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	padding: 32px;
	border: 1px solid #d6d3d1;
	border-top: 0;
	border-radius: 0 0 32px 32px;
	background: #ffffff;
}

.marpe-index-card-title {
	margin: 0;
	color: #0f2e63;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
}

.marpe-index-card-excerpt {
	margin: 0;
	color: #0f2e63;
	font-size: 0.875rem;
	line-height: 1.7;
}

.marpe-index-card-date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: #0f2e63;
	font-size: 0.875rem;
	line-height: 1.7;
}

.marpe-index-date-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	font-size: 0;
	line-height: 0;
	background-image: url('/wp-content/themes/marpe-author-mowomo/assets/img/arrow-circle-right.svg');
	background-size: 24px 24px;
	background-repeat: no-repeat;
	background-position: center;
}

.marpe-index-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 56px;
}

.marpe-index-load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 16px 24px;
	border: 0;
	border: 1px solid transparent;
	border-radius: 32px;
	background: #f4cc21;
	color: #0f2e63;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.marpe-index-load-more:hover,
.marpe-index-load-more:focus-visible {
	background: #1B4493;
	border-color: #1B4493;
	color: #fff;
}

.marpe-index-load-more:disabled {
	cursor: wait;
	opacity: 0.75;
}

.marpe-index-load-more-status {
	margin: 16px 0 0;
	text-align: center;
	color: #0f2e63;
	font-size: 0.875rem;
	line-height: 1.6;
}

.marpe-index-empty {
	margin: 0;
	padding: 40px 0;
	color: #0f2e63;
	font-size: 1rem;
}

@media (max-width: 1100px) {
	.marpe-index-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.marpe-index-hero {
		padding: 56px 0 36px;
	}

	.marpe-index-posts-section {
		padding-bottom: 56px;
	}

	.marpe-index-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.marpe-index-card-body {
		padding: 24px;
	}
}
