.wp-post-calendar-wrap {
	position: relative;
	margin: 24px 0;
	font-family: inherit;
}

.wp-post-calendar-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.wp-post-calendar-toolbar label {
	font-weight: 600;
}

.wp-post-calendar-filter {
	min-width: 220px;
	padding: 10px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	line-height: 1.2;
}

.wp-post-calendar {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.fc .fc-toolbar-title {
	font-size: 1.2rem;
	font-weight: 700;
}

.fc .fc-button {
	border-radius: 8px !important;
	padding: 0.5em 0.85em !important;
	box-shadow: none !important;
}

.fc .fc-daygrid-event,
.fc .fc-timegrid-event {
	cursor: pointer;
	border-radius: 6px;
}

.wp-post-calendar-modal {
	display: none;
}

.wp-post-calendar-modal.is-open {
	display: block;
}

.wp-post-calendar-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	z-index: 9998;
}

.wp-post-calendar-modal-dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(760px, calc(100vw - 30px));
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	z-index: 9999;
}

.wp-post-calendar-modal-close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: 0;
	background: transparent;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.wp-post-calendar-modal-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 18px 0;
}

.wp-post-calendar-title {
	margin: 0 0 14px;
	font-size: 1.5rem;
	line-height: 1.2;
}

.wp-post-calendar-meta {
	margin-bottom: 10px;
	font-size: 14px;
	color: #444;
}

.wp-post-calendar-excerpt {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.6;
	color: #222;
}

.wp-post-calendar-readmore {
	display: inline-block;
	margin-top: 8px;
	text-decoration: none;
	font-weight: 600;
}

body.wp-post-calendar-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.wp-post-calendar {
		padding: 10px;
	}

	.wp-post-calendar-modal-dialog {
		padding: 20px;
		width: calc(100vw - 20px);
	}

	.fc .fc-toolbar {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}

	.fc .fc-toolbar-title {
		font-size: 1rem;
	}
}