.ncabl {
	margin: 42px 0 0;
}

.ncabl-work-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 34px;
	align-items: center;
	margin: 0 0 48px;
}

.ncabl-work-block.is-reversed .ncabl-work-block__text {
	order: 2;
}

.ncabl-work-block.is-reversed .ncabl-work-block__image {
	order: 1;
}

.single-post .post .ncabl h2,
.post .ncabl h2 {
	margin: 0 0 16px;
	padding: 0;
	border: none;
	font-size: 26px !important;
	line-height: 1.45;
	text-align: left !important;
}

.single-post .post .ncabl h2::after,
.post .ncabl h2::after {
	content: none;
}

.ncabl-richtext {
	line-height: 1.9;
}

.ncabl-richtext p {
	margin: 0 0 1em;
}

.ncabl-richtext ul,
.ncabl-richtext ol {
	margin: 0 0 1.4em 1.4em;
	padding: 0;
}

.ncabl-richtext li {
	margin: 0 0 .45em;
	line-height: 1.8;
}

.ncabl-richtext ul {
	list-style: disc outside;
}

.ncabl-richtext ol {
	list-style: decimal outside;
}

.ncabl-richtext table {
	width: 100%;
	margin: 0 0 1.6em;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 16px;
	line-height: 1.7;
}

.ncabl-richtext th,
.ncabl-richtext td {
	padding: 12px 14px;
	border: 1px solid #d8dde2;
	text-align: left;
	vertical-align: top;
}

.ncabl-richtext th {
	background: #f1f5f9;
	font-weight: 700;
}

.ncabl-richtext .wp-video,
.ncabl-richtext video {
	max-width: 100%;
}

.ncabl-richtext video {
	width: 100%;
	height: auto;
	display: block;
}

.ncabl-work-block__image,
.ncabl-column__image,
.ncabl-related-card figure {
	margin: 0;
}

.ncabl-work-block__image img,
.ncabl-column__image img,
.ncabl-media-video {
	width: 100%;
	height: auto;
	display: block;
}

.ncabl-gallery-section {
	margin: 64px 0;
}

.ncabl-section-heading {
	margin: 0 0 30px;
}

.ncabl-section-heading--center {
	text-align: center;
}

.ncabl-section-heading--center * {
	text-align: center !important;
}

.ncabl-section-heading--left {
	text-align: left;
}

.ncabl-section-heading--left * {
	text-align: left !important;
}

.ncabl-section-heading__en {
	display: inline-block;
	margin: 0 0 12px;
	border-bottom: 2px solid currentColor;
	color: #111;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
}

.single-post .post .ncabl .ncabl-section-heading h2,
.post .ncabl .ncabl-section-heading h2 {
	margin: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 40px !important;
	font-weight: 700;
	line-height: 1.45;
}

.single-post .post .ncabl .ncabl-section-heading--center h2,
.post .ncabl .ncabl-section-heading--center h2 {
	text-align: center !important;
}

.ncabl-section-heading__lead {
	margin: 20px 0 0;
	line-height: 1.8;
}

.ncabl-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.ncabl-gallery--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ncabl-gallery--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ncabl-gallery--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ncabl-gallery__item {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f3f3f3;
}

.ncabl-gallery__item img,
.ncabl-gallery__item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ncabl-gallery__item img {
	transition: transform 0.2s ease;
}

.ncabl-gallery__item--video {
	aspect-ratio: auto;
	overflow: visible;
	background: #111820;
}

.ncabl-gallery__item--video video {
	height: auto;
	object-fit: contain;
	background: #111820;
}

.ncabl-gallery__item:hover img {
	transform: scale(1.04);
}

.ncabl-column {
	margin-top: 0;
	max-width: 880px;
}

.ncabl-column-header {
	margin: 0 0 48px;
}

.ncabl-column-header__title {
	margin: 0 0 22px !important;
	font-size: 42px;
	line-height: 1.35;
	text-align: left !important;
}

.ncabl-column-header__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
}

.ncabl-column-header__categories span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 82px;
	min-height: 28px;
	padding: 5px 14px;
	background: #354457;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.ncabl-column__heading {
	margin-top: 38px !important;
}

.ncabl-column__image,
.ncabl-column__text,
.ncabl-column__list,
.ncabl-column__table {
	margin: 28px 0;
}

.ncabl-related {
	margin: 70px 0 0;
}

.ncabl-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.ncabl-related-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ncabl-related-card figure {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 22px;
	background: #f3f3f3;
}

.ncabl-related-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-post .post .ncabl-related-card h3,
.post .ncabl-related-card h3 {
	margin: 0 0 12px;
	padding: 0;
	border: none;
	font-size: 21px !important;
	font-weight: 700;
	line-height: 1.45;
}

.single-post .post .ncabl-related-card h3::after,
.post .ncabl-related-card h3::after {
	content: none;
}

.ncabl-related-card__excerpt {
	margin: 0 0 14px;
	line-height: 1.75;
}

.ncabl-related-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
}

.ncabl-related-card__primary-cat {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	background: #344253;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.ncabl-related-card__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.ncabl-related-card__categories span {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	background: #344253;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.ncabl-related-card__more {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-weight: 700;
	line-height: 1.4;
}

.ncabl-related-card__more span {
	font-size: 24px;
	line-height: 1;
}

.ncabl-column-share {
	margin: 72px 0 0;
	padding: 8px 0 0;
}

.ncabl-share-box {
	margin: 0 0 44px;
	padding: 0 0 44px;
	border-bottom: 1px solid #111;
}

.single-post .post .ncabl-share-box h2,
.post .ncabl-share-box h2 {
	margin: 0 0 18px;
	font-size: 18px !important;
	font-weight: 700;
	text-align: left !important;
}

.ncabl-share-box__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: transparent;
	text-decoration: none;
}

.ncabl-share-box__x svg {
	display: block;
	width: 16px;
	height: 16px;
}

.ncabl-share-box__x svg path {
	fill: #111;
}

.ncabl-author-box {
	display: flex;
	gap: 18px;
	align-items: center;
}

.ncabl-author-box figure {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	margin: 0;
	overflow: hidden;
	border-radius: 50%;
	background: #e0e0e0;
}

.ncabl-author-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ncabl-author-box__name {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.ncabl-author-box__bio {
	margin: 0;
	line-height: 1.7;
}

.ncabl-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.82);
}

.ncabl-lightbox.is-open {
	display: flex;
}

.ncabl-lightbox img {
	max-width: min(100%, 1100px);
	max-height: 88vh;
	width: auto;
	height: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.ncabl-lightbox__close {
	position: fixed;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 781px) {
	.ncabl-column-header {
		margin-bottom: 34px;
	}

	.ncabl-column-header__title {
		font-size: 32px;
	}

	.ncabl-work-block,
	.ncabl-work-block.is-reversed {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-bottom: 38px;
	}

	.ncabl-work-block.is-reversed .ncabl-work-block__text,
	.ncabl-work-block.is-reversed .ncabl-work-block__image {
		order: initial;
	}

	.ncabl-work-block__text {
		order: 1;
	}

	.ncabl-work-block__image {
		order: 2;
	}

	.ncabl-work-block__image img {
		height: auto;
	}

	.ncabl-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.ncabl-gallery__item--video {
		grid-column: 1 / -1;
	}

	.single-post .post .ncabl .ncabl-section-heading h2,
	.post .ncabl .ncabl-section-heading h2 {
		font-size: 32px !important;
	}

}
