/* EDNC History — shared 4-col year blocks, mobile restack */

#c3,
#c3.e-con {
	--ednc-hist-red: #c4161c;
	--ednc-hist-ink: #1a1a1a;
	--ednc-hist-body: #292d33;
	--ednc-hist-muted: #858b94;
	--ednc-hist-date: #858b94;
	--ednc-hist-line: #d8d8d8;
	--ednc-hist-rule: #e6e6e6;
	--ednc-hist-year-col: 104px;
	--ednc-hist-track: 40px;
	--ednc-hist-date-col: 32px;
	--ednc-hist-date-gap: 24px;
	--ednc-hist-row-pad: 22px;
	--ednc-hist-block-gap: 34px;
	--ednc-hist-item-gap: 14px;
	--ednc-hist-item-line: 26px;
	--ednc-hist-marker: 16px;
	--ednc-hist-first-line: 40px;
	--ednc-hist-rail: calc(var(--ednc-hist-year-col) + (var(--ednc-hist-track) / 2));
	--ednc-hist-content-start: calc(var(--ednc-hist-year-col) + var(--ednc-hist-track));
	--ednc-hist-marker-top: calc(var(--ednc-hist-row-pad) + (var(--ednc-hist-first-line) / 2));
	--ednc-hist-max: 1100px;
	--kit-widget-spacing: 0px;
	--width: 100%;
	--content-width: 100%;
	--align-items: center;
	align-items: center;
	box-sizing: border-box;
	max-width: 100%;
	overflow-x: clip;
}

#c3 *,
#c3 *::before,
#c3 *::after {
	box-sizing: border-box;
}

#c3.e-con > .e-con-inner {
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

#c3 .ednc-history-wrap.e-con,
#c3 .ednc-history-wrap {
	width: 100%;
	max-width: var(--ednc-hist-max);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	--width: 100%;
	--align-self: center;
	overflow-x: clip;
}

#c3 .ednc-history-title,
#c3 .ednc-history-lead,
#c3 .ednc-history-tabs,
#c3 .ednc-hist-timeline.e-con {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}

#c3 .ednc-history-tabs {
	--kit-widget-spacing: 0px;
}

#c3 .ednc-history-tabs.elementor-widget-n-tabs,
#c3 .elementor-element.ednc-history-tabs,
#c3 .ednc-history-tabs.elementor-widget-n-tabs > .e-n-tabs {
	--n-tabs-default-padding-block: 0px;
	--n-tabs-default-padding-inline: 0px;
	--n-tabs-title-padding-top: 0px;
	--n-tabs-title-padding-bottom: 0px;
	--n-tabs-title-padding-left: 0px;
	--n-tabs-title-padding-right: 0px;
	--n-tabs-title-background-color: transparent;
	--n-tabs-title-background-color-hover: transparent;
	--n-tabs-title-background-color-active: transparent;
	--n-tabs-border-width: 0px;
	--n-tabs-border-color: transparent;
	--n-tabs-title-border-radius: 0px;
	--n-tabs-heading-justify-content: stretch;
	--n-tabs-heading-wrap: nowrap;
	--n-tabs-gap: 0px;
	--ednc-hist-tab-count: 3;
	--ednc-hist-tab-width: calc(100% / var(--ednc-hist-tab-count));
	--n-tabs-title-width: var(--ednc-hist-tab-width);
	--n-tabs-title-height: 58px;
	--n-tabs-title-flex-grow: 1;
	--n-tabs-title-flex-basis: var(--ednc-hist-tab-width);
	--n-tabs-title-flex-shrink: 1;
	--n-tabs-title-justify-content: center;
	--n-tabs-title-align-items: center;
	--n-tabs-title-text-align: center;
	--n-tabs-background-color: transparent;
	width: 100%;
	max-width: 100%;
}

#c3 .ednc-history-tabs .e-n-tabs,
#c3 .ednc-history-tabs .e-n-tabs-heading,
#c3 .ednc-history-tabs .e-n-tabs-content {
	width: 100%;
	max-width: 100%;
}

#c3 .ednc-history-tabs .e-n-tabs-heading {
	display: flex;
	flex-wrap: nowrap;
	justify-content: stretch;
	align-items: stretch;
	gap: 0;
	width: 100%;
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--ednc-hist-rule);
	background: transparent;
}

#c3 .ednc-history-tabs .e-n-tab-title,
#c3 .ednc-history-tabs .e-n-tabs-heading > .e-n-tab-title,
#c3 .ednc-history-tabs .e-n-tab-title[aria-selected="false"],
#c3 .ednc-history-tabs .e-n-tab-title[aria-selected="true"] {
	appearance: none;
	-webkit-appearance: none;
	flex: 1 1 var(--ednc-hist-tab-width) !important;
	width: var(--ednc-hist-tab-width) !important;
	max-width: var(--ednc-hist-tab-width);
	min-width: 0 !important;
	height: 58px !important;
	min-height: 58px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center !important;
	margin: 0;
	padding: 0 8px !important;
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	text-align: center !important;
	white-space: nowrap;
	position: relative;
	cursor: pointer;
}

#c3 .ednc-history-tabs .e-n-tab-title :is(.e-n-tab-title-text, span, a) {
	background: transparent !important;
	text-align: center;
}

#c3 .ednc-history-tabs .e-n-tab-title[aria-selected="true"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--ednc-hist-red);
}

#c3 .ednc-history-tabs .e-n-tab-title:hover,
#c3 .ednc-history-tabs .e-n-tab-title[aria-selected="false"]:hover {
	background: transparent !important;
}

#c3 .ednc-history-tabs .e-n-tabs-content,
#c3 .ednc-history-tabs .e-n-tabs-content > .e-con {
	background: transparent;
	box-shadow: none;
	border: 0;
	padding: 0;
	min-height: 0;
	width: 100%;
	max-width: 100%;
}

#c3 .ednc-history-tabs .e-n-tabs-content > .e-con:not(.e-active) {
	display: none !important;
}

#c3 .ednc-hist-timeline.e-con,
#c3 .ednc-hist-timeline.e-con > .e-con-inner {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
	padding: 0 !important;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	box-sizing: border-box;
}

#c3 .ednc-hist-timeline__track {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	flex: 0 0 auto;
}

#c3 .ednc-hist-timeline__track::before {
	content: "";
	position: absolute;
	left: var(--ednc-hist-rail);
	top: var(--ednc-hist-marker-top);
	bottom: 0;
	width: 2px;
	background: var(--ednc-hist-line);
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 0;
}

#c3 .ednc-hist-year.e-con,
#c3 .ednc-hist-year.e-con.e-flex {
	display: grid !important;
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0;
	padding: var(--ednc-hist-row-pad) 0 var(--ednc-hist-block-gap) !important;
	grid-template-columns: var(--ednc-hist-year-col) var(--ednc-hist-track) var(--ednc-hist-date-col) minmax(0, 1fr);
	grid-template-rows: auto;
	column-gap: 0;
	row-gap: 0;
	align-items: start;
	justify-items: stretch;
	--width: 100%;
	--min-height: 0px;
	--display: grid;
	--flex-direction: unset;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	box-sizing: border-box;
}

#c3 .ednc-hist-year > .e-con-inner {
	display: contents !important;
	--display: contents;
}

#c3 .ednc-hist-year.e-con:last-child {
	padding-bottom: 0 !important;
}

#c3 .ednc-hist-year.e-con::before {
	content: "";
	position: absolute;
	left: var(--ednc-hist-content-start);
	right: 0;
	top: 0;
	height: 1px;
	background: var(--ednc-hist-rule);
	pointer-events: none;
	z-index: 1;
}

#c3 .ednc-hist-year.e-con::after {
	content: "";
	position: absolute;
	left: var(--ednc-hist-rail);
	top: var(--ednc-hist-marker-top);
	width: var(--ednc-hist-marker);
	height: var(--ednc-hist-marker);
	border: 3px solid var(--ednc-hist-red);
	border-radius: 50%;
	background: #fff;
	box-shadow: none;
	transform: translate(-50%, -50%);
	z-index: 2;
	box-sizing: border-box;
	pointer-events: none;
}

#c3 .ednc-hist-year__label.e-con,
#c3 .ednc-hist-year__label.e-con.e-flex {
	grid-column: 1;
	grid-row: 1;
	align-self: start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 0 !important;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--min-height: 0px;
	--width: 100%;
}

#c3 .ednc-hist-year__items.e-con,
#c3 .ednc-hist-year__items.e-con.e-flex {
	grid-column: 3 / -1;
	grid-row: 1;
	align-self: start;
	width: 100%;
	max-width: 100%;
	min-width: 0 !important;
	/* 첫 항목 글줄의 세로 중심을 연도 숫자(마커) 중심에 맞춘다 */
	padding: calc((var(--ednc-hist-first-line) - var(--ednc-hist-item-line)) / 2) 0 0 !important;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--min-height: 0px;
	--width: 100%;
}

#c3 .ednc-hist-year__label .elementor-heading-title {
	margin: 0;
	line-height: var(--ednc-hist-first-line);
}

#c3 .ednc-hist-list {
	--kit-widget-spacing: 0px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

#c3 .ednc-hist-list .elementor-widget-container,
#c3 .ednc-hist-list .elementor-icon-list-items {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
}

#c3 .ednc-hist-list .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child) {
	padding-block-end: 0;
}

#c3 .ednc-hist-list .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child) {
	margin-block-start: 0;
}

#c3 .ednc-hist-list .elementor-icon-list-item {
	display: block !important;
	margin: 0 0 var(--ednc-hist-item-gap);
	padding: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

#c3 .ednc-hist-list .elementor-icon-list-item:last-child {
	margin-bottom: 0;
}

#c3 .ednc-hist-list .elementor-icon-list-icon,
#c3 .ednc-hist-list .elementor-icon-list-item > .elementor-icon-list-text::before {
	display: none !important;
}

#c3 .ednc-hist-list .elementor-icon-list-item > a,
#c3 .ednc-hist-list .elementor-icon-list-item > .elementor-icon-list-text,
#c3 .ednc-hist-list .elementor-icon-list-text {
	display: grid !important;
	grid-template-columns: var(--ednc-hist-date-col) minmax(0, 1fr);
	column-gap: var(--ednc-hist-date-gap);
	align-items: start;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	line-height: var(--ednc-hist-item-line);
	white-space: normal !important;
	overflow-wrap: anywhere;
	word-break: keep-all;
	color: var(--ednc-hist-body);
}

#c3 .ednc-hist-date {
	display: block;
	width: auto;
	min-width: 0;
	white-space: nowrap;
	color: var(--ednc-hist-date);
	font-weight: 600;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

#c3 .ednc-hist-date.is-empty {
	visibility: hidden;
}

#c3 .ednc-hist-text {
	min-width: 0;
	color: var(--ednc-hist-body);
}

#c3 .ednc-hist-sub {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

#c3 .ednc-hist-sub li {
	position: relative;
	padding: 0 0 1px 12px;
}

#c3 .ednc-hist-sub li::before {
	content: "·";
	position: absolute;
	left: 0;
	top: 0;
}

@media (max-width: 767px) {
	#c3,
	#c3.e-con {
		--ednc-hist-year-col: 0px;
		--ednc-hist-track: 28px;
		--ednc-hist-date-col: 28px;
		--ednc-hist-date-gap: 16px;
		--ednc-hist-row-pad: 16px;
		--ednc-hist-block-gap: 26px;
		--ednc-hist-item-gap: 12px;
		--ednc-hist-item-line: 24px;
		--ednc-hist-rail: calc(var(--ednc-hist-track) / 2);
		--ednc-hist-content-start: var(--ednc-hist-track);
		--ednc-hist-first-line: 32px;
		/* 연도 글자 하단(잉크) → 첫 항목 글자 상단 간격이 18~20px가 되도록 하는 박스 여백 */
		--ednc-hist-mobile-year-gap: 10px;
	}

	#c3 .ednc-history-tabs .e-n-tabs-heading {
		margin-bottom: 20px;
	}

	#c3 .ednc-history-tabs .e-n-tab-title,
	#c3 .ednc-history-tabs .e-n-tabs-heading > .e-n-tab-title {
		height: auto !important;
		min-height: 48px !important;
		white-space: normal;
		word-break: keep-all;
		line-height: 1.3;
		padding: 6px 4px !important;
	}

	#c3 .ednc-hist-year.e-con,
	#c3 .ednc-hist-year.e-con.e-flex {
		grid-template-columns: var(--ednc-hist-track) minmax(0, 1fr);
		grid-template-rows: auto auto;
	}

	#c3 .ednc-hist-year__label.e-con,
	#c3 .ednc-hist-year__label.e-con.e-flex {
		grid-column: 2;
		grid-row: 1;
	}

	#c3 .ednc-hist-year__items.e-con,
	#c3 .ednc-hist-year__items.e-con.e-flex {
		grid-column: 2;
		grid-row: 2;
		padding-top: var(--ednc-hist-mobile-year-gap) !important;
	}
}

#c3 .ednc-hist-pager {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 32px 0 36px;
	padding: 24px 0 0;
	border: 0;
	border-top: 1px solid var(--ednc-hist-rule);
	background: transparent;
	box-shadow: none;
}

#c3 .ednc-hist-pager__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 32px;
	width: 100%;
	max-width: none;
	margin: 0;
}

#c3 .ednc-hist-pager__btn {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--ednc-hist-body);
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
}

#c3 .ednc-hist-pager__btn--prev {
	align-items: flex-start;
	text-align: left;
}

#c3 .ednc-hist-pager__btn--next {
	align-items: flex-end;
	text-align: right;
}

#c3 .ednc-hist-pager__kicker {
	color: var(--ednc-hist-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
}

#c3 .ednc-hist-pager__label {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	max-width: 100%;
	color: var(--ednc-hist-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.2px;
	white-space: normal;
	word-break: keep-all;
}

#c3 .ednc-hist-pager__btn--next .ednc-hist-pager__label {
	justify-content: flex-end;
}

#c3 .ednc-hist-pager__btn--next .ednc-hist-pager__label {
	flex-direction: row;
}

#c3 .ednc-hist-pager__arrow {
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

#c3 .ednc-hist-pager__btn:hover,
#c3 .ednc-hist-pager__btn:focus-visible {
	background: transparent;
	box-shadow: none;
	outline: none;
}

#c3 .ednc-hist-pager__btn:hover .ednc-hist-pager__label,
#c3 .ednc-hist-pager__btn:focus-visible .ednc-hist-pager__label {
	color: var(--ednc-hist-red);
}

@media (max-width: 767px) {
	#c3 .ednc-hist-pager {
		margin-top: 28px;
		margin-bottom: 32px;
		padding-top: 24px;
	}

	#c3 .ednc-hist-pager__row {
		column-gap: 16px;
		max-width: none;
	}

	#c3 .ednc-hist-pager__label {
		font-size: 14px;
	}
}
