.apcs-key-dates {
	--apcs-key-dates-card-date-width: clamp(156px, 14vw, 188px);
	--apcs-key-dates-card-padding: clamp(18px, 1.9vw, 24px);
	--apcs-key-dates-card-min-height: 96px;
	background: var(--apcs-surface);
	padding-block: var(--apcs-section-y, 88px) var(--apcs-section-y-compact, 72px);
}

.apcs-key-dates .apcs-section-heading,
.apcs-key-dates .apcs-timeline-board {
	max-width: var(--apcs-landing-content-rail);
	margin-inline: auto;
}

.apcs-key-dates .apcs-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 360px);
	justify-content: space-between;
	align-items: end;
	gap: var(--apcs-section-heading-gap, 32px);
	margin-bottom: clamp(42px, 5vw, 64px);
}

.apcs-key-dates .apcs-section-heading__intro {
	min-width: 0;
	max-width: 560px;
}

.apcs-key-dates .apcs-section-heading__eyebrow {
	margin: 0;
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #243f63;
}

.apcs-key-dates .apcs-section-heading__title {
	margin: 10px 0 0;
	font-family: "Noto Sans CJK KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Manrope", sans-serif;
	font-size: var(--apcs-home-section-title-font-size);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.026em;
	color: #101828;
}

.apcs-key-dates .apcs-section-heading__meta {
	margin: 0;
	padding-left: 36px;
	font-family: "Manrope", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #3f4c5f;
	text-align: right;
	text-wrap: pretty;
}

.apcs-key-dates .apcs-timeline-board {
	padding: 0;
}

.apcs-key-dates .apcs-key-dates-board {
	min-height: 560px;
	background: #fcfbfa;
	border: 1px solid var(--apcs-border-muted, #d7d2cc);
	box-shadow: var(--apcs-shadow-card, 0 24px 60px rgb(16 24 40 / 0.08));
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.apcs-key-dates .apcs-key-dates-board::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.9;
	background-image:
		radial-gradient(circle at 14% 22%, rgba(72, 124, 185, 0.2) 0%, rgba(72, 124, 185, 0) 38%),
		radial-gradient(circle at 86% 74%, rgba(74, 157, 134, 0.16) 0%, rgba(74, 157, 134, 0) 42%),
		linear-gradient(120deg, rgba(76, 96, 120, 0.06) 0%, rgba(76, 96, 120, 0) 48%, rgba(74, 157, 134, 0.08) 100%);
	background-size: 150% 150%, 170% 170%, 140% 140%;
	background-position: 0% 0%, 100% 100%, 30% 40%;
	animation: apcsKeyDatesAmbientFlow 12s ease-in-out infinite alternate;
}

.apcs-key-dates .apcs-key-dates-board::after {
	content: "";
	position: absolute;
	inset: -20% 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.52;
	background: linear-gradient(102deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.48) 50%, rgba(255, 255, 255, 0) 64%);
	transform: translateX(-120%);
	mix-blend-mode: soft-light;
	animation: apcsKeyDatesSheenSweep 9s ease-in-out infinite;
}

.apcs-key-dates .apcs-key-dates-board > * {
	position: relative;
	z-index: 1;
}

@keyframes apcsKeyDatesAmbientFlow {
	0% {
		background-position: 0% 0%, 100% 100%, 30% 40%;
	}
	50% {
		background-position: 42% 20%, 58% 82%, 54% 62%;
	}
	100% {
		background-position: 22% 34%, 74% 68%, 40% 48%;
	}
}

@keyframes apcsKeyDatesSheenSweep {
	0% {
		transform: translateX(-120%);
		opacity: 0;
	}
	15% {
		opacity: 0.46;
	}
	48% {
		opacity: 0.2;
	}
	100% {
		transform: translateX(120%);
		opacity: 0;
	}
}

.apcs-key-dates .apcs-key-dates-board__years {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 522px);
	justify-content: space-between;
	align-items: stretch;
	gap: 38px;
	margin: 0;
	padding: 40px 32px 24px 40px;
}

.apcs-key-dates .apcs-key-dates-board__years > .apcs-key-dates-board__year {
	margin-block-start: 0;
	min-width: 0;
}

.apcs-key-dates .apcs-key-dates-board__year {
	display: grid;
	gap: 16px;
	align-content: stretch;
}

.apcs-key-dates .apcs-key-dates-board__year-label {
	margin: 0;
	font-family: "Noto Sans CJK KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Manrope", sans-serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: #101828;
}

.apcs-key-dates .apcs-key-dates-board__stack {
	display: grid;
	gap: 12px;
	align-content: start;
}

.apcs-key-dates .apcs-key-dates-board__stack > *,
.apcs-key-dates .apcs-key-dates-card > *,
.apcs-key-dates .apcs-key-dates-card__content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.apcs-key-dates .apcs-key-dates-card {
	display: grid;
	grid-template-columns: var(--apcs-key-dates-card-date-width) minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	width: 100%;
	min-height: var(--apcs-key-dates-card-min-height);
	padding: var(--apcs-key-dates-card-padding);
	background: #ffffff;
	border: 1px solid #ded8d1;
	box-shadow: 0 10px 28px rgb(16 24 40 / 0.04);
	box-sizing: border-box;
}

.apcs-key-dates .apcs-key-dates-card--soft {
	background: #f6f3f2;
}

.apcs-key-dates .apcs-key-dates-card__date {
	margin: 0;
	font-family: "Noto Sans CJK KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Manrope", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #0b4f8a;
}

.apcs-key-dates .apcs-key-dates-card__title {
	margin: 0;
	font-family: "Manrope", sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: #101828;
}

.apcs-key-dates .apcs-key-dates-card--highlight {
	grid-template-columns: clamp(180px, 16vw, 210px) minmax(0, 1fr);
	align-items: start;
	min-height: 120px;
	padding: clamp(22px, 2vw, 28px);
	background: rgb(76 96 120 / 0.06);
	border: 1px solid rgb(76 96 120 / 0.22);
	border-left: 5px solid #0b4f8a;
	box-shadow: 0 16px 40px rgb(11 79 138 / 0.1);
}

.apcs-key-dates .apcs-key-dates-card--highlight .apcs-key-dates-card__date {
	font-size: 26px;
	line-height: 1.1;
}

.apcs-key-dates .apcs-key-dates-card__content {
	display: grid;
	gap: 8px;
	align-content: start;
}

.apcs-key-dates .apcs-key-dates-card__title--highlight {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.apcs-key-dates .apcs-key-dates-card__note {
	margin: 0;
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #344054;
}

.apcs-important-dates-block {
	--apcs-important-dates-text: #101828;
	--apcs-important-dates-muted: #344054;
	--apcs-important-dates-accent: #0b4f8a;
	--apcs-important-dates-border: #d9dee8;
	--apcs-important-dates-surface: #ffffff;
	box-sizing: border-box;
	color: var(--apcs-important-dates-text);
	font-family: "Manrope", sans-serif;
}

.apcs-important-dates-block--timeline {
	max-width: var(--wp--style--global--wide-size, 1088px);
	margin: clamp(28px, 5vw, 56px) auto;
}

.apcs-important-dates-block--timeline .apcs-page-hero__detail-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apcs-important-dates-block--timeline .apcs-page-hero__detail-list li {
	margin: 0;
	padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
	background:
		linear-gradient(135deg, rgb(11 79 138 / 0.045) 0%, rgb(255 255 255 / 0) 58%),
		var(--apcs-important-dates-surface);
	border: 1px solid var(--apcs-important-dates-border);
	border-left: 5px solid var(--apcs-important-dates-accent);
	box-shadow: 0 14px 34px rgb(16 24 40 / 0.06);
	color: var(--apcs-important-dates-text);
	font-size: clamp(1.0625rem, 0.98rem + 0.32vw, 1.25rem);
	line-height: 1.55;
	text-wrap: pretty;
}

.apcs-important-dates-block--timeline strong {
	color: var(--apcs-important-dates-text);
	font-weight: 800;
}

.apcs-important-dates-block--timeline small {
	display: block;
	margin-top: 8px;
	color: var(--apcs-important-dates-muted);
	font-size: clamp(1rem, 0.94rem + 0.22vw, 1.125rem);
	line-height: 1.55;
}

.apcs-important-dates-block--compact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 14px;
	max-width: var(--wp--style--global--wide-size, 1088px);
	margin: clamp(28px, 5vw, 56px) auto;
	padding: 0;
}

.apcs-important-dates-block--compact > div {
	margin: 0;
	min-height: 142px;
	padding: clamp(18px, 2vw, 24px);
	background:
		linear-gradient(180deg, rgb(11 79 138 / 0.045) 0%, rgb(255 255 255 / 0) 46%),
		var(--apcs-important-dates-surface);
	border: 1px solid var(--apcs-important-dates-border);
	border-top: 5px solid var(--apcs-important-dates-accent);
	box-shadow: 0 14px 34px rgb(16 24 40 / 0.055);
	box-sizing: border-box;
}

.apcs-important-dates-block--compact dt {
	margin: 0;
	color: var(--apcs-important-dates-text);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	font-weight: 800;
	line-height: 1.35;
}

.apcs-important-dates-block--compact dd {
	margin: 8px 0 0;
	color: var(--apcs-important-dates-accent);
	font-family: "Noto Sans CJK KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Manrope", sans-serif;
	font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);
	font-weight: 800;
	line-height: 1.2;
}

.apcs-important-dates-block--compact dd.apcs-important-dates-block__description {
	color: var(--apcs-important-dates-muted);
	font-family: "Manrope", sans-serif;
	font-size: clamp(0.9375rem, 0.88rem + 0.22vw, 1.0625rem);
	font-weight: 500;
	line-height: 1.5;
}

@media (max-width: 1199px) {
	.apcs-key-dates .apcs-section-heading,
	.apcs-key-dates .apcs-timeline-board {
		max-width: calc(100% - 48px);
	}

	.apcs-key-dates .apcs-section-heading {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: 24px;
	}

	.apcs-key-dates .apcs-section-heading__title {
		font-size: var(--apcs-home-section-title-font-size);
	}

	.apcs-key-dates .apcs-key-dates-board__years {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
		padding: 32px 24px 24px;
	}
}

@media (max-width: 781px) {
	.apcs-key-dates {
		padding-block: 56px 48px;
		padding-inline: 16px;
	}

	.apcs-key-dates .apcs-section-heading,
	.apcs-key-dates .apcs-timeline-board {
		max-width: 100%;
	}

	.apcs-key-dates .apcs-section-heading {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-bottom: 24px;
	}

	.apcs-key-dates .apcs-section-heading__intro,
	.apcs-key-dates .apcs-section-heading__meta {
		max-width: 320px;
		padding-left: 0;
		text-align: left;
	}

	.apcs-key-dates .apcs-section-heading__title {
		font-size: var(--apcs-home-section-title-font-size);
		line-height: 1.03;
	}

	.apcs-key-dates .apcs-section-heading__meta {
		font-size: 15px;
		line-height: 1.45;
	}

	.apcs-key-dates .apcs-key-dates-board {
		min-height: auto;
	}

	.apcs-key-dates .apcs-key-dates-board__years {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 20px 12px 12px;
	}

	.apcs-key-dates .apcs-key-dates-board__year {
		gap: 12px;
	}

	.apcs-key-dates .apcs-key-dates-board__year-label {
		font-size: 32px;
	}

	.apcs-key-dates .apcs-key-dates-card,
	.apcs-key-dates .apcs-key-dates-card--highlight {
		grid-template-columns: 1fr;
	}

	.apcs-key-dates .apcs-key-dates-card {
		gap: 6px;
		padding: 12px 14px;
	}

	.apcs-key-dates .apcs-key-dates-card--highlight {
		gap: 8px;
		padding: 14px;
	}

	.apcs-key-dates .apcs-key-dates-card__date {
		font-size: 19px;
	}

	.apcs-key-dates .apcs-key-dates-card--highlight .apcs-key-dates-card__date {
		font-size: 26px;
	}

	.apcs-key-dates .apcs-key-dates-board::before {
		opacity: 0.7;
	}

	.apcs-key-dates .apcs-key-dates-board::after {
		opacity: 0.38;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apcs-key-dates .apcs-key-dates-board::before,
	.apcs-key-dates .apcs-key-dates-board::after {
		animation: none;
		transform: none;
	}
}
/* PPT 260515 feedback: Remove year background boxes, change accent colors (blue for important, gray for others). */
.apcs-key-dates {
	padding-block: clamp(54px, 5.5vw, 72px) clamp(58px, 6vw, 78px);
}

.apcs-key-dates .apcs-section-heading {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	align-items: start;
	margin-bottom: clamp(22px, 2.6vw, 32px);
}

.apcs-key-dates .apcs-section-heading__title {
	font-size: clamp(32px, 2.8vw, 34px);
	line-height: 1.08;
}

.apcs-key-dates .apcs-section-heading__meta {
	padding-left: 0;
	font-size: clamp(15px, 1vw, 17px);
	line-height: 1.58;
	text-align: left;
}

.apcs-key-dates .apcs-key-dates-board {
	min-height: 0;
	border-radius: 0;
	background: linear-gradient(135deg, #fbfaf8 0%, #f2f6f8 100%);
}

.apcs-key-dates .apcs-key-dates-board__years {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: clamp(22px, 3vw, 36px);
	padding: clamp(26px, 3.2vw, 40px);
}

.apcs-key-dates .apcs-key-dates-board__year {
	align-self: start;
	align-content: start;
	padding: 0;
	background: transparent;
	border: none;
}

.apcs-key-dates .apcs-key-dates-board__year-label {
	display: block;
	width: auto;
	padding: 0;
	border: none;
	background: transparent;
	font-size: clamp(26px, 2.4vw, 32px);
	color: #0b4f8a;
	margin-bottom: clamp(16px, 1.8vw, 22px);
	font-weight: 700;
	line-height: 1;
}

.apcs-key-dates .apcs-key-dates-board__stack {
	gap: 10px;
}

.apcs-key-dates .apcs-key-dates-card {
	grid-template-columns: minmax(116px, 0.36fr) minmax(0, 1fr);
	min-height: 78px;
	padding: clamp(15px, 1.5vw, 20px);
	gap: clamp(14px, 1.6vw, 20px);
	border-color: rgba(76, 96, 120, 0.16);
	box-shadow: none;
	position: relative;
}

.apcs-key-dates .apcs-key-dates-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: #9ca3af;
}

.apcs-key-dates .apcs-key-dates-board__year:first-child .apcs-key-dates-card:nth-child(1)::before,
.apcs-key-dates .apcs-key-dates-board__year:nth-child(2) .apcs-key-dates-card:nth-child(4)::before {
	background: #0b4f8a;
}

.apcs-key-dates .apcs-key-dates-card__date {
	font-size: clamp(18px, 1.3vw, 20px);
	line-height: 1.18;
}

.apcs-key-dates .apcs-key-dates-card__title {
	font-size: clamp(16px, 1.05vw, 17px);
	line-height: 1.45;
}

@media (max-width: 900px) {
	.apcs-key-dates .apcs-section-heading,
	.apcs-key-dates .apcs-key-dates-board__years {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.apcs-key-dates .apcs-key-dates-board__years {
		padding: 18px;
	}

	.apcs-key-dates .apcs-key-dates-board__year {
		padding: 16px 14px;
	}

	.apcs-key-dates .apcs-key-dates-card,
	.apcs-key-dates .apcs-key-dates-card--highlight {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 16px 14px 16px 18px;
	}

	.apcs-key-dates .apcs-key-dates-card__date {
		font-size: clamp(17px, 4.8vw, 19px);
	}

	.apcs-key-dates .apcs-key-dates-card--highlight .apcs-key-dates-card__date {
		font-size: clamp(22px, 7.2vw, 26px);
	}
}

/* Highlight card styling for important dates */
.apcs-key-dates .apcs-key-dates-card--highlight {
	background: linear-gradient(135deg, rgba(11, 79, 138, 0.08) 0%, rgba(11, 79, 138, 0.02) 100%);
	border-left-color: #0b4f8a;
	border-left-width: 5px;
}

.apcs-key-dates .apcs-key-dates-card--highlight::before {
	background: #0b4f8a;
}
