@charset "UTF-8";

:root {
	--nori-gallery-blue: #1768d5;
	--nori-gallery-blue-deep: #0a397d;
	--nori-gallery-blue-soft: #edf6ff;
	--nori-gallery-ink: #17243b;
	--nori-gallery-muted: #637083;
	--nori-gallery-line: #d9e4f2;
	--nori-gallery-white: #fff;
	--nori-gallery-danger: #bd2c2c;
}

.house-subpage #header {
	position: relative;
	top: auto;
	z-index: 10;
	display: flex;
	min-height: 92px;
	align-items: center;
	border-bottom: 1px solid #dfe8f2;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 8px 28px rgba(20, 53, 91, .06);
}

.house-subpage #logo {
	display: flex;
	width: min(1200px, calc(100% - 40px));
	height: auto;
	align-items: center;
	margin: 0 auto;
}

.house-subpage #logo img {
	display: block;
	width: 144px;
	height: auto;
	content: url("../img/flogo.png");
}

.house-subpage #container {
	box-sizing: border-box;
	padding-top: clamp(42px, 5vw, 72px);
	padding-bottom: clamp(72px, 8vw, 112px);
}

.house-subpage #content {
	min-height: 420px;
}

.nori-gallery-home-list,
.nori-gallery-board,
.nori-gallery-detail,
.nori-gallery-write {
	box-sizing: border-box;
}

.nori-gallery-grid,
.nori-gallery-board-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

#mc-cont3 .nori-gallery-home-list {
	width: min(1680px, calc(100% - 24px));
	margin: 62px auto 0;
	padding: 0;
}

#mc-cont3 .nori-gallery-grid {
	align-items: start;
	gap: clamp(16px, 1.6vw, 24px);
}

.nori-gallery-home .nori-gallery-card,
.nori-gallery-home .nori-gallery-fallback-card {
	aspect-ratio: 5 / 4;
	border: 0;
	box-shadow: none;
}

.nori-gallery-home .nori-gallery-media {
	height: 100%;
	box-sizing: border-box;
	padding: 6%;
	isolation: isolate;
	background:
		radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .98) 0 13%, rgba(255, 255, 255, 0) 44%),
		linear-gradient(145deg, rgba(248, 252, 255, .98) 0%, rgba(232, 243, 254, .94) 54%, rgba(223, 237, 251, .9) 100%);
	box-shadow:
		inset 0 0 0 1px rgba(50, 103, 161, .1),
		inset 0 1px 0 rgba(255, 255, 255, .98),
		0 14px 32px rgba(34, 84, 137, .1);
}

.nori-gallery-home .nori-gallery-media::before {
	content: "";
	position: absolute;
	inset: 4%;
	z-index: 0;
	pointer-events: none;
	border: 1px solid rgba(86, 133, 183, .16);
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(226, 240, 254, .42));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .95),
		inset 0 -16px 28px rgba(65, 113, 164, .04);
	-webkit-backdrop-filter: blur(12px) saturate(115%);
	backdrop-filter: blur(12px) saturate(115%);
	transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.nori-gallery-home .nori-gallery-media::after {
	content: "";
	position: absolute;
	right: 12%;
	bottom: 4.5%;
	left: 12%;
	height: 12%;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(ellipse at center, rgba(48, 101, 160, .16) 0%, rgba(48, 101, 160, 0) 72%);
	filter: blur(6px);
}

.nori-gallery-home .nori-gallery-media-link:hover::before,
.nori-gallery-home .nori-gallery-media-link:focus-visible::before {
	border-color: rgba(53, 113, 178, .28);
	background: linear-gradient(145deg, rgba(255, 255, 255, .8), rgba(220, 238, 255, .5));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 1),
		inset 0 -16px 28px rgba(65, 113, 164, .05),
		0 8px 22px rgba(37, 89, 146, .08);
}

.nori-gallery-home .nori-gallery-card,
.nori-gallery-home .nori-gallery-fallback-card {
	background: transparent;
}

.nori-gallery-home .nori-gallery-badge,
.nori-gallery-home .nori-gallery-play {
	display: none;
}

.nori-gallery-home .nori-gallery-preview-button::after {
	content: none;
}

.nori-gallery-home .morebtn-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	width: min(760px, calc(100% - 40px));
	justify-content: center;
	gap: 18px;
	margin: clamp(44px, 6vw, 72px) auto 0;
	padding: 4px 0 0;
}

.nori-gallery-home .morebtn-wrap .more-btn,
.nori-gallery-home .more-btn:nth-child(2) {
	margin: 0;
}

.nori-gallery-card,
.nori-gallery-fallback-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(38, 96, 165, 0.14);
	border-radius: 24px;
	background: var(--nori-gallery-white);
	box-shadow: 0 15px 38px rgba(17, 68, 128, 0.11);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.nori-gallery-card:hover,
.nori-gallery-fallback-card:hover {
	transform: translateY(-5px);
	border-color: rgba(23, 104, 213, 0.38);
	box-shadow: 0 22px 46px rgba(17, 68, 128, 0.17);
}

.nori-gallery-media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: linear-gradient(145deg, #eaf4ff 0%, #dceeff 100%);
}

.nori-gallery-media-link {
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}

.nori-gallery-media--pdf {
	background: linear-gradient(145deg, #f5f9ff 0%, #e8f1fb 100%);
}

.nori-gallery-media--video {
	background: linear-gradient(145deg, #0d315f 0%, #0d1f3a 100%);
}

.nori-gallery-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nori-gallery-media--pdf img,
.nori-gallery-home .nori-gallery-media--pdf img {
	width: auto;
	height: 88%;
	max-width: 78%;
	margin: 6% auto;
	border: 1px solid rgba(39, 76, 116, .12);
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 12px 26px rgba(20, 53, 91, .18), 0 2px 7px rgba(20, 53, 91, .1);
	object-fit: contain;
}

.nori-gallery-home .nori-gallery-media--image img,
.nori-gallery-home .nori-gallery-media--video img {
	position: static;
	inset: auto;
	z-index: auto;
	width: 100%;
	height: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: 0 12px 28px rgba(20, 53, 91, .16), 0 2px 7px rgba(20, 53, 91, .08);
	object-fit: contain;
}

.nori-gallery-home .nori-gallery-media > img {
	position: relative;
	z-index: 1;
	filter: none;
	box-shadow: 0 8px 18px rgba(20, 53, 91, .14), 0 2px 6px rgba(20, 53, 91, .08);
}

.nori-gallery-home .nori-gallery-media > .nori-gallery-media-placeholder {
	z-index: 1;
}

.nori-gallery-home .nori-gallery-droplet {
	position: absolute;
	z-index: 4;
	width: clamp(78px, 6.4vw, 104px);
	aspect-ratio: 1;
	overflow: hidden;
	pointer-events: none;
	border: 2px solid rgba(255, 255, 255, .96);
	border-radius: 46% 54% 51% 49% / 43% 47% 53% 57%;
	outline: 1px solid rgba(62, 132, 195, .3);
	background: rgba(238, 248, 255, .2);
	box-shadow:
		inset 9px 10px 15px rgba(255, 255, 255, .46),
		inset -8px -9px 17px rgba(42, 101, 161, .18),
		0 11px 24px rgba(23, 76, 134, .27);
	-webkit-backdrop-filter: saturate(112%) contrast(102%);
	backdrop-filter: saturate(112%) contrast(102%);
	opacity: 0;
	transform: translate(-50%, -50%) scale(.88);
	transition: opacity .16s ease, transform .16s ease;
	will-change: left, top, opacity, transform;
}

.nori-gallery-home .nori-gallery-droplet::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		radial-gradient(circle at 29% 22%, rgba(255, 255, 255, .96) 0 5%, rgba(255, 255, 255, .4) 7%, rgba(255, 255, 255, 0) 28%),
		radial-gradient(circle at 72% 76%, rgba(71, 143, 205, .18), rgba(71, 143, 205, 0) 42%),
		linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(119, 183, 234, .1));
	box-shadow: inset 0 0 0 1px rgba(91, 157, 211, .2);
}

.nori-gallery-home .nori-gallery-droplet img {
	position: absolute;
	display: block;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	filter: saturate(1.06) contrast(1.055) brightness(1.015);
	object-fit: contain;
	transform: scale(1.1);
}

.nori-gallery-home .nori-gallery-media-link.is-lens-active .nori-gallery-droplet {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

@media (hover: none), (pointer: coarse) {
	.nori-gallery-home .nori-gallery-droplet {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nori-gallery-home .nori-gallery-droplet {
		transition: none;
	}
}

.nori-gallery-media-placeholder {
	position: absolute;
	inset: 11%;
	display: grid;
	place-items: center;
	border: 1px solid rgba(23, 104, 213, .22);
	border-radius: 12px;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 9px 20px rgba(30, 68, 112, .11);
	color: var(--nori-gallery-blue-deep);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: .08em;
}

.nori-gallery-media--video .nori-gallery-media-placeholder {
	border-color: rgba(255, 255, 255, .28);
	background: rgba(8, 30, 59, .78);
	color: #fff;
}

.nori-gallery-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(9, 54, 111, .92);
	box-shadow: 0 5px 14px rgba(6, 36, 75, .2);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
}

.nori-gallery-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	background: rgba(5, 42, 88, .76);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.nori-gallery-play::after {
	content: "";
	position: absolute;
	top: 18px;
	left: 23px;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 17px solid #fff;
}

.nori-gallery-preview-button {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.nori-gallery-preview-button::after {
	content: "미리보기";
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 8px 11px;
	border-radius: 10px;
	background: rgba(5, 42, 88, .88);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	opacity: 0;
	transform: translateY(5px);
	transition: opacity .18s ease, transform .18s ease;
}

.nori-gallery-preview-button:hover::after,
.nori-gallery-preview-button:focus-visible::after {
	opacity: 1;
	transform: translateY(0);
}

.nori-gallery-card-body {
	padding: 21px 21px 19px;
}

.nori-gallery-card-title {
	display: -webkit-box;
	overflow: hidden;
	min-height: 52px;
	color: var(--nori-gallery-ink);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.42;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.nori-gallery-card-title:hover {
	color: var(--nori-gallery-blue);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.board-info-search .gallery-search-icon {
	position: relative;
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-radius: 50%;
	vertical-align: middle;
}

.board-info-search .gallery-search-icon::after {
	content: "";
	position: absolute;
	right: -6px;
	bottom: -3px;
	width: 7px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: center;
}

.btn-d .board-write-icon {
	position: relative;
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 6px;
	vertical-align: -2px;
	transform: rotate(45deg);
}

.btn-d .board-write-icon::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 0;
	width: 4px;
	height: 13px;
	border-radius: 2px 2px 1px 1px;
	background: currentColor;
}

.btn-d .board-write-icon::after {
	content: "";
	position: absolute;
	left: 6px;
	bottom: 0;
	width: 0;
	height: 0;
	border-top: 4px solid currentColor;
	border-right: 2px solid transparent;
	border-left: 2px solid transparent;
}

.nori-gallery-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 12px;
	margin: 15px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--nori-gallery-line);
	color: var(--nori-gallery-muted);
	font-size: 13px;
	line-height: 1.4;
}

.nori-gallery-meta div,
.nori-gallery-meta dd {
	margin: 0;
}

.nori-gallery-meta div + div::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 10px 3px 0;
	border-radius: 50%;
	background: #a9b6c5;
}

.nori-gallery-meta dd {
	display: inline;
}

.nori-gallery-fallback-card {
	display: block;
	color: var(--nori-gallery-ink);
	text-decoration: none;
}

.nori-gallery-fallback-label {
	display: block;
	padding: 18px 20px;
	font-size: 17px;
	font-weight: 800;
	text-align: center;
}

.nori-gallery-preparing {
	grid-column: 1 / -1;
	display: flex;
	min-height: 210px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 9px;
	padding: 42px 24px;
	border: 1px dashed #a8c7eb;
	border-radius: 24px;
	background: rgba(242, 248, 255, .92);
	color: var(--nori-gallery-muted);
	text-align: center;
}

.nori-gallery-preparing strong {
	color: var(--nori-gallery-blue-deep);
	font-size: 21px;
}

.nori-gallery-board {
	margin-top: 26px;
}

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

.nori-gallery-board .nori-gallery-card {
	height: 100%;
}

.nori-gallery-board .nori-gallery-card,
.nori-gallery-board .nori-gallery-media,
.nori-gallery-board .nori-gallery-media--pdf,
.nori-gallery-board .nori-gallery-media--video {
	background: transparent;
}

.nori-gallery-board .nori-gallery-media--image {
	display: block;
	background:
		radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .72) 0 12%, transparent 40%),
		linear-gradient(145deg, #edf6ff 0%, #dceafb 100%);
	box-shadow: inset 0 0 0 1px rgba(35, 87, 148, .08);
}

.nori-gallery-board .nori-gallery-media--image img {
	position: absolute;
	inset: 6%;
	width: 88%;
	height: 88%;
	max-width: none;
	max-height: none;
	margin: 0;
	box-sizing: border-box;
	border: 1px solid rgba(39, 76, 116, .12);
	border-radius: 8px;
	background: transparent;
	box-shadow: 0 12px 26px rgba(20, 53, 91, .16), 0 2px 7px rgba(20, 53, 91, .08);
	object-fit: contain;
}

.nori-gallery-board-empty {
	padding: 70px 24px;
	border: 1px dashed #b7cce5;
	border-radius: 20px;
	background: #f7fbff;
	color: var(--nori-gallery-muted);
	font-size: 17px;
	text-align: center;
}

body.nori-gallery-modal-open {
	overflow: hidden;
}

.nori-gallery-modal[hidden] {
	display: none;
}

.nori-gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 24px;
}

.nori-gallery-modal-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(4, 18, 38, .82);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.nori-gallery-modal-panel {
	position: relative;
	z-index: 1;
	display: flex;
	width: min(1120px, 100%);
	max-height: calc(100dvh - 48px);
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

.nori-gallery-modal-head {
	display: flex;
	min-height: 68px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px 12px 24px;
	border-bottom: 1px solid #dce5ef;
}

.nori-gallery-modal-title {
	flex: 1 1 auto;
	overflow: hidden;
	margin: 0;
	color: var(--nori-gallery-ink);
	font-size: 19px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nori-gallery-modal-counter {
	flex: 0 0 auto;
	min-width: 58px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #edf4fb;
	color: var(--nori-gallery-blue-deep);
	font-size: 14px;
	font-weight: 800;
	text-align: center;
}

.nori-gallery-modal-counter[hidden],
.nori-gallery-modal-arrow[hidden] {
	display: none;
}

.nori-gallery-modal-close {
	position: relative;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #edf4fb;
	color: var(--nori-gallery-blue-deep);
	cursor: pointer;
}

.nori-gallery-modal-close::before,
.nori-gallery-modal-close::after {
	content: "";
	position: absolute;
	top: 21px;
	left: 13px;
	width: 18px;
	height: 2px;
	background: currentColor;
}

.nori-gallery-modal-close::before { transform: rotate(45deg); }
.nori-gallery-modal-close::after { transform: rotate(-45deg); }

.nori-gallery-modal-stage {
	position: relative;
	min-height: 0;
	flex: 1 1 auto;
	overflow: hidden;
}

.nori-gallery-modal-content {
	height: 100%;
	min-height: 0;
	overflow: auto;
	background: #0b1e36;
}

.nori-gallery-modal-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 50%;
	background: rgba(5, 28, 57, .82);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
	color: #fff;
	transform: translateY(-50%);
	transition: background-color .2s ease, transform .2s ease;
	cursor: pointer;
}

.nori-gallery-modal-arrow:hover {
	background: var(--nori-gallery-blue);
	transform: translateY(-50%) scale(1.05);
}

.nori-gallery-modal-arrow--prev { left: 18px; }
.nori-gallery-modal-arrow--next { right: 18px; }

.nori-gallery-modal-arrow svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.2;
}

.nori-gallery-modal-content iframe,
.nori-gallery-modal-content video,
.nori-gallery-modal-content img {
	display: block;
	width: 100%;
	height: min(78dvh, 820px);
	max-height: 90dvh;
	border: 0;
	background: #0b1e36;
	object-fit: contain;
}

.nori-gallery-modal-content img {
	height: auto;
	max-height: min(78dvh, 900px);
	margin: auto;
}

.nori-gallery-modal[data-media-type="image"] .nori-gallery-modal-content {
	display: grid;
	min-height: min(70dvh, 760px);
	place-items: center;
	padding: 24px;
}

.nori-gallery-modal-message {
	margin: 0;
	padding: 80px 24px;
	color: #fff;
	text-align: center;
}

.nori-gallery-modal[data-media-type="pdf"] .nori-gallery-modal-panel {
	width: min(858px, 100%);
}

.nori-gallery-modal[data-media-type="pdf"] .nori-gallery-modal-content {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 18px;
	background: linear-gradient(145deg, #dbe4ee 0%, #cbd7e4 100%);
}

.nori-gallery-modal[data-media-type="pdf"] .nori-gallery-modal-content iframe {
	width: min(794px, 100%);
	height: 1123px;
	max-height: none;
	flex: 0 0 auto;
	border: 1px solid rgba(26, 52, 82, .18);
	background: #fff;
	box-shadow: 0 16px 42px rgba(9, 32, 60, .2);
}

.nori-gallery-detail {
	padding: 28px 0 10px;
}

.board_view .nori-gallery-detail-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.board_view .nori-gallery-detail-meta dl {
	flex: 1 1 auto;
}

.nori-gallery-detail-edit {
	display: inline-flex;
	min-width: 68px;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border: 1px solid #1d62ad;
	border-radius: 999px;
	background: #fff;
	color: #174f8c;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.nori-gallery-detail-edit:hover {
	background: #1d62ad;
	color: #fff;
	box-shadow: 0 8px 18px rgba(29, 98, 173, .2);
}

.nori-gallery-detail-hero {
	width: min(920px, 100%);
	margin: 0 auto;
}

.nori-gallery-detail-video-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.nori-gallery-detail-video {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(80dvh, 900px);
	border-radius: 16px;
	background: transparent;
	object-fit: contain;
}

.nori-gallery-detail-pdf-list {
	display: grid;
	gap: 34px;
	justify-items: center;
}

.nori-gallery-detail-pdf-frame {
	width: min(858px, 100%);
	padding: 18px;
	border-radius: 22px;
	background: linear-gradient(145deg, #dbe4ee 0%, #cbd7e4 100%);
	box-shadow: 0 18px 48px rgba(17, 68, 128, .16);
}

.nori-gallery-detail-pdf-frame iframe {
	display: block;
	width: min(794px, 100%);
	height: auto;
	aspect-ratio: 210 / 297;
	margin: 0 auto;
	border: 1px solid rgba(26, 52, 82, .18);
	background: #fff;
	box-shadow: 0 16px 42px rgba(9, 32, 60, .2);
}

.nori-gallery-detail .nori-gallery-media {
	border-radius: 22px;
	box-shadow: 0 18px 48px rgba(17, 68, 128, .16);
}

.nori-gallery-detail-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.nori-gallery-detail-files {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.nori-gallery-detail-file-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 13px 15px;
	border: 1px solid #d2e0ef;
	border-radius: 14px;
	background: #f8fbff;
}

.nori-gallery-detail-file-row strong {
	overflow: hidden;
	color: #263b55;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nori-gallery-detail-file-number {
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	padding: 4px 9px;
	border-radius: 999px;
	background: #e5f0fd;
	color: var(--nori-gallery-blue-deep);
	font-size: 12px;
	font-weight: 900;
}

.nori-gallery-detail-file-buttons {
	display: flex;
	gap: 8px;
}

.nori-gallery-detail-preview {
	min-height: 44px;
	padding: 9px 16px;
	border: 1px solid var(--nori-gallery-blue);
	border-radius: 999px;
	background: var(--nori-gallery-blue);
	color: #fff;
	font-family: inherit;
	font-weight: 800;
	cursor: pointer;
}

.nori-gallery-detail-file {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 9px 18px;
	border: 1px solid #b9d0ea;
	border-radius: 999px;
	color: var(--nori-gallery-blue-deep);
	font-weight: 700;
	text-decoration: none;
}

.nori-gallery-detail-file:hover {
	border-color: var(--nori-gallery-blue);
	background: var(--nori-gallery-blue-soft);
}

.nori-gallery-detail-preview:hover {
	background: #0f57b9;
}

.nori-gallery-detail-content {
	width: min(920px, 100%);
	margin: 36px auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--nori-gallery-line);
	color: #26354a;
	font-size: 16px;
	line-height: 1.85;
	white-space: pre-line;
}

.nori-gallery-detail-content--before-media {
	position: relative;
	margin: 0 auto clamp(40px, 5vw, 58px);
	padding: 0 0 clamp(32px, 4vw, 42px);
	border-top: 0;
	border-bottom: 0;
}

.nori-gallery-detail-content--before-media::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: min(190px, 38vw);
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(23, 104, 213, 0), rgba(23, 104, 213, .28) 24%, rgba(23, 104, 213, .62) 50%, rgba(23, 104, 213, .28) 76%, rgba(23, 104, 213, 0));
	box-shadow: 0 8px 22px rgba(23, 104, 213, .14);
	content: "";
	transform: translateX(-50%);
}

.nori-gallery-detail-content--before-document {
	margin: 0 auto 36px;
	padding: 0 0 28px;
	border-top: 0;
	border-bottom: 1px solid var(--nori-gallery-line);
}

.nori-gallery-cardnews {
	width: min(1240px, 100%);
	margin: 0 auto;
	outline: none;
}

.nori-gallery-detail-list-action,
.nori-gallery-cardnews-host:not(:empty) + .prototype-detail-actions {
	width: min(1240px, 100%);
	margin: clamp(24px, 3vw, 36px) auto 0;
}

.nori-gallery-detail-list-action + .nori-gallery-adjacent,
.nori-gallery-cardnews-host:not(:empty) + .prototype-detail-actions + .nori-gallery-adjacent {
	margin-top: 24px;
}

.nori-gallery-cardnews-rail {
	display: grid;
	grid-auto-columns: clamp(92px, 10vw, 132px);
	grid-auto-flow: column;
	gap: 12px;
	overflow-x: auto;
	margin-top: 34px;
	padding: 12px;
	border: 1px solid #c9d7e6;
	border-radius: 18px;
	background: linear-gradient(145deg, #f7fbff 0%, #eef4fb 100%);
	scroll-snap-type: x proximity;
}

.nori-gallery-cardnews-thumbnail {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	padding: 4px;
	border: 2px solid transparent;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(20, 53, 91, .1);
	cursor: pointer;
	scroll-snap-align: center;
}

.nori-gallery-cardnews-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	object-fit: cover;
}

.nori-gallery-cardnews-thumbnail[aria-current="true"] {
	border-color: var(--nori-gallery-blue);
	box-shadow: 0 0 0 4px rgba(23, 104, 213, .13), 0 8px 22px rgba(20, 53, 91, .16);
}

.nori-gallery-cardnews-stage {
	position: relative;
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr) 74px;
	align-items: center;
	gap: 22px;
	margin-top: 0;
	padding: clamp(24px, 4vw, 50px);
	border-radius: 28px;
	background: radial-gradient(circle at 50% 20%, #f0f7ff 0%, #e7f1fb 58%, #dceaf8 100%);
	box-shadow: inset 0 0 0 1px #dce6f0, 0 22px 60px rgba(20, 53, 91, .1);
}

.nori-gallery-cardnews-stage > .nori-gallery-cardnews-slides:only-child {
	grid-column: 1 / -1;
}

.nori-gallery-cardnews-slides {
	display: grid;
	min-width: 0;
	place-items: center;
}

.nori-gallery-cardnews-slide {
	width: min(680px, 100%);
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.nori-gallery-cardnews-slide[hidden] {
	display: none;
}

.nori-gallery-cardnews-slide img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 78dvh;
	margin: 0 auto;
	border: 1px solid #d4dfeb;
	background: transparent;
	box-shadow: 0 18px 48px rgba(17, 68, 128, .16);
	object-fit: contain;
}

.nori-gallery-cardnews-arrow {
	display: inline-grid;
	width: 62px;
	height: 62px;
	place-items: center;
	padding: 0;
	border: 1px solid #c4d5e7;
	border-radius: 50%;
	background: #fff;
	color: var(--nori-gallery-blue-deep);
	box-shadow: 0 10px 26px rgba(20, 53, 91, .13);
	font-family: Arial, sans-serif;
	font-size: 48px;
	line-height: 1;
	cursor: pointer;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.nori-gallery-cardnews-arrow:hover {
	border-color: var(--nori-gallery-blue);
	background: var(--nori-gallery-blue-soft);
	transform: translateY(-2px);
}

.nori-gallery-cardnews-counter {
	margin: 18px 0 0;
	color: #53657a;
	font-size: 15px;
	font-weight: 800;
	text-align: center;
}

.nori-gallery-adjacent {
	width: min(1120px, 100%);
	margin: 32px auto 0;
	font-size: 16px;
}

.nori-gallery-adjacent ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nori-gallery-adjacent ul::after {
	display: none;
}

.nori-gallery-adjacent li,
.nori-gallery-adjacent li:nth-child(2) {
	float: none;
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 104px;
	overflow: hidden;
	border: 1px solid #d7e3f0;
	border-radius: 18px;
	background: #fff;
	box-sizing: border-box;
	line-height: normal;
	text-align: left;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nori-gallery-adjacent li:not(.none):hover {
	transform: translateY(-2px);
	border-color: rgba(23, 104, 213, .5);
	box-shadow: 0 12px 28px rgba(20, 68, 124, .1);
}

.nori-gallery-adjacent li a,
.nori-gallery-adjacent li:nth-child(1) a,
.nori-gallery-adjacent li:nth-child(2) a {
	display: flex;
	min-width: 0;
	min-height: 104px;
	align-items: center;
	gap: 15px;
	margin: 0;
	padding: 20px 22px;
	box-sizing: border-box;
	color: var(--nori-gallery-ink);
	text-decoration: none;
}

.nori-gallery-adjacent li:not(.none) a:focus,
.nori-gallery-adjacent li:not(.none) a:hover {
	background: #f4f9ff;
	color: var(--nori-gallery-ink);
}

.nori-gallery-adjacent .next {
	justify-content: flex-end;
	text-align: right;
}

.nori-gallery-adjacent-icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--nori-gallery-blue-soft);
	color: var(--nori-gallery-blue);
	transition: background .18s ease, color .18s ease;
}

.nori-gallery-adjacent-icon svg {
	display: block;
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.nori-gallery-adjacent a:hover .nori-gallery-adjacent-icon,
.nori-gallery-adjacent a:focus .nori-gallery-adjacent-icon {
	background: var(--nori-gallery-blue);
	color: #fff;
}

.nori-gallery-adjacent-copy {
	display: grid;
	min-width: 0;
	gap: 6px;
}

.nori-gallery-adjacent li .tit,
.nori-gallery-adjacent li:nth-child(1) .tit,
.nori-gallery-adjacent li:nth-child(2) .tit {
	position: static;
	display: block;
	margin: 0;
	color: var(--nori-gallery-blue-deep);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.35;
}

.nori-gallery-adjacent li .txt {
	display: block;
	width: auto;
	overflow: hidden;
	color: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nori-gallery-adjacent li.none {
	display: flex;
	min-height: 104px;
	align-items: center;
	padding: 20px 22px;
	color: #7c8999;
}

.nori-gallery-adjacent li:nth-child(2).none {
	justify-content: flex-end;
	text-align: right;
}

.nori-gallery-write {
	padding: 8px 0 18px;
}

.nori-gallery-step {
	margin-bottom: 26px;
}

.nori-gallery-step.is-hidden,
.nori-gallery-step[hidden] {
	display: none;
}

.nori-gallery-step-kicker {
	margin: 0 0 7px;
	color: var(--nori-gallery-blue);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .05em;
}

.nori-gallery-step-title {
	margin: 0;
	color: var(--nori-gallery-ink);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.35;
}

.nori-gallery-step-copy {
	margin: 10px 0 0;
	color: var(--nori-gallery-muted);
	font-size: 15px;
	line-height: 1.65;
}

.nori-gallery-type-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.nori-gallery-type-option {
	position: relative;
	min-width: 0;
}

.nori-gallery-type-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.nori-gallery-type-card {
	display: flex;
	min-height: 154px;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	border: 2px solid #d8e4f1;
	border-radius: 20px;
	background: #fff;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.nori-gallery-type-card strong {
	color: var(--nori-gallery-ink);
	font-size: 20px;
}

.nori-gallery-type-card span {
	color: var(--nori-gallery-muted);
	font-size: 14px;
	line-height: 1.5;
}

.nori-gallery-type-option input:checked + .nori-gallery-type-card {
	border-color: var(--nori-gallery-blue);
	background: var(--nori-gallery-blue-soft);
	box-shadow: 0 0 0 4px rgba(23, 104, 213, .1);
}

.nori-gallery-type-option input:focus-visible + .nori-gallery-type-card {
	outline: 3px solid #111;
	outline-offset: 3px;
}

.nori-gallery-type-option.is-disabled .nori-gallery-type-card {
	border-style: dashed;
	background: #f4f6f8;
	cursor: not-allowed;
	opacity: .67;
}

.nori-gallery-future {
	display: inline-flex;
	padding: 3px 8px;
	border-radius: 999px;
	background: #e4e8ed;
	color: #596475 !important;
	font-size: 11px !important;
	font-weight: 800;
}

.nori-gallery-wizard-button {
	display: inline-flex;
	min-width: 116px;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid var(--nori-gallery-blue);
	border-radius: 12px;
	background: var(--nori-gallery-blue);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.nori-gallery-wizard-button--secondary {
	border-color: #b7c6d8;
	background: #fff;
	color: var(--nori-gallery-blue-deep);
}

.nori-gallery-validation-summary {
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid #e5a5a5;
	border-radius: 12px;
	background: #fff3f3;
	color: #8c2020;
	font-weight: 700;
}

.nori-gallery-validation-summary:empty,
.nori-gallery-validation-summary[hidden] {
	display: none;
}

.nori-gallery-write-table {
	width: 100%;
	border-collapse: collapse;
}

.nori-gallery-write-table th,
.nori-gallery-write-table td {
	padding: 18px;
	border-top: 1px solid var(--nori-gallery-line);
	vertical-align: top;
}

.nori-gallery-write-table th {
	width: 150px;
	background: #f5f9fe;
	color: var(--nori-gallery-ink);
	text-align: left;
}

.nori-gallery-write-table .form-control,
.nori-gallery-write-table textarea {
	width: 100%;
	box-sizing: border-box;
}

.nori-gallery-write-table textarea {
	min-height: 210px;
	padding: 14px;
	border: 1px solid #c5d0dc;
	border-radius: 8px;
	line-height: 1.7;
	resize: vertical;
}

.nori-gallery-author-context {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 8px 14px;
	border-radius: 10px;
	background: #f0f5fa;
	color: var(--nori-gallery-ink);
}

.nori-gallery-upload-help {
	margin: 0 0 10px;
	color: var(--nori-gallery-blue-deep);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
}

.nori-gallery-write .nori-gallery-dropzone {
	display: flex;
	min-height: 126px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 16px;
	padding: 22px;
	border: 2px dashed #aac6e3;
	border-radius: 18px;
	background: linear-gradient(135deg, #f8fbff 0%, #edf6ff 100%);
	color: var(--nori-gallery-blue-deep);
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nori-gallery-write .nori-gallery-dropzone:hover,
.nori-gallery-write .nori-gallery-dropzone:focus-visible,
.nori-gallery-write .nori-gallery-dropzone.is-drag-active {
	border-color: var(--nori-gallery-blue);
	outline: 0;
	background: #eaf4ff;
	box-shadow: 0 0 0 4px rgba(23, 104, 213, .12);
}

.nori-gallery-write .nori-gallery-dropzone.is-drag-active {
	transform: translateY(-2px);
}

.nori-gallery-dropzone-icon {
	display: grid;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 50%;
	background: var(--nori-gallery-blue);
	box-shadow: 0 10px 24px rgba(23, 104, 213, .22);
	color: #fff;
	font-size: 29px;
}

.nori-gallery-dropzone-copy {
	display: grid;
	gap: 6px;
}

.nori-gallery-dropzone-copy strong {
	font-size: 17px;
	line-height: 1.4;
}

.nori-gallery-dropzone-copy > span {
	color: #5a708a;
	font-size: 13px;
	line-height: 1.55;
}

.nori-gallery-upload-state {
	min-height: 22px;
	margin-top: 8px;
	color: var(--nori-gallery-muted);
	font-size: 13px;
}

.nori-gallery-write #add_btn,
.nori-gallery-write #delete_btn {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.nori-gallery-write .attachbox .preview video {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nori-gallery-write .nori-gallery-upload-preview {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 7px;
	padding: 12px;
	box-sizing: border-box;
	background: #edf5ff;
	color: var(--nori-gallery-blue-deep);
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

#board_save_btn.nori-gallery-save-disabled {
	opacity: .48;
	cursor: not-allowed;
}

#board_save_btn[hidden] {
	display: none !important;
}

/* Board 213 authoring experience */
.nori-gallery-write {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 0 12px;
	border: 0 !important;
	background: transparent;
}

.nori-gallery-write,
.nori-gallery-write * {
	box-sizing: border-box;
}

.nori-gallery-authoring-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
	align-items: center;
	gap: 42px;
	overflow: hidden;
	padding: clamp(30px, 4vw, 48px);
	border: 1px solid rgba(44, 105, 177, .18);
	border-radius: 32px;
	background:
		radial-gradient(circle at 94% 4%, rgba(111, 193, 255, .28) 0, rgba(111, 193, 255, 0) 34%),
		linear-gradient(135deg, #f7fbff 0%, #eef6ff 54%, #f9fcff 100%);
	box-shadow: 0 24px 70px rgba(24, 75, 132, .12);
}

.nori-gallery-authoring-hero::before,
.nori-gallery-authoring-hero::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(23, 104, 213, .14);
	border-radius: 50%;
	pointer-events: none;
}

.nori-gallery-authoring-hero::before {
	width: 260px;
	height: 260px;
	right: -122px;
	top: -145px;
}

.nori-gallery-authoring-hero::after {
	width: 170px;
	height: 170px;
	right: -78px;
	top: -92px;
}

.nori-gallery-authoring-copy,
.nori-gallery-progress {
	position: relative;
	z-index: 1;
}

.nori-gallery-authoring-eyebrow {
	margin: 0 0 12px;
	color: var(--nori-gallery-blue);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .16em;
}

.nori-gallery-authoring-copy h1 {
	margin: 0;
	color: #102b50;
	font-size: clamp(28px, 2.25vw, 34px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.26;
	white-space: nowrap;
}

.nori-gallery-authoring-copy > p:last-child {
	max-width: 620px;
	margin: 16px 0 0;
	color: #52667f;
	font-size: 16px;
	line-height: 1.75;
}

.nori-gallery-progress {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nori-gallery-progress li {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
	padding: 17px 16px;
	border: 1px solid #d3e1f0;
	border-radius: 18px;
	background: rgba(255, 255, 255, .76);
	color: #708095;
}

.nori-gallery-progress li.is-current {
	border-color: rgba(23, 104, 213, .54);
	background: #fff;
	box-shadow: 0 12px 28px rgba(23, 104, 213, .12);
	color: var(--nori-gallery-blue-deep);
}

.nori-gallery-progress li.is-complete {
	border-color: rgba(33, 145, 103, .28);
	background: #f2fbf7;
	color: #176b4c;
}

.nori-gallery-progress-number {
	position: relative;
	display: grid;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #e6eef7;
	font-size: 14px;
	font-weight: 900;
}

.nori-gallery-progress li.is-current .nori-gallery-progress-number {
	background: var(--nori-gallery-blue);
	color: #fff;
}

.nori-gallery-progress li.is-complete .nori-gallery-progress-number {
	background: #238561;
	color: transparent;
}

.nori-gallery-progress li.is-complete .nori-gallery-progress-number::after {
	content: "✓";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 16px;
	line-height: 1;
	text-indent: 0;
}

.nori-gallery-progress strong,
.nori-gallery-progress small {
	display: block;
}

.nori-gallery-progress strong {
	font-size: 15px;
	font-weight: 900;
}

.nori-gallery-progress small {
	margin-top: 3px;
	font-size: 12px;
	line-height: 1.35;
}

.nori-gallery-authoring-panel {
	margin-top: 24px;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid #dbe6f1;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 20px 64px rgba(30, 68, 112, .1);
}

.nori-gallery-step {
	margin: 0;
}

.nori-gallery-step-heading {
	max-width: 760px;
}

.nori-gallery-step-kicker {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .12em;
}

.nori-gallery-step-title {
	font-size: clamp(25px, 3vw, 36px);
	letter-spacing: -.03em;
}

.nori-gallery-step-copy {
	max-width: 720px;
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.72;
}

.nori-gallery-type-grid {
	gap: 18px;
	margin-top: 32px;
}

.nori-gallery-type-card {
	position: relative;
	display: grid;
	min-height: 190px;
	grid-template-columns: 62px minmax(0, 1fr) 26px;
	align-items: center;
	gap: 16px;
	padding: 26px 22px;
	border: 1px solid #d5e2ef;
	border-radius: 22px;
	background: linear-gradient(155deg, #fff 0%, #f9fbfe 100%);
	box-shadow: 0 10px 28px rgba(25, 70, 121, .06);
	text-align: left;
	transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.nori-gallery-type-card:hover {
	transform: translateY(-3px);
	border-color: rgba(23, 104, 213, .45);
	box-shadow: 0 16px 34px rgba(25, 70, 121, .11);
}

.nori-gallery-type-icon {
	position: relative;
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border-radius: 19px;
	background: #edf5ff;
	color: var(--nori-gallery-blue-deep);
	box-shadow: inset 0 0 0 1px rgba(23, 104, 213, .1);
}

.nori-gallery-type-icon--pdf::before {
	content: "PDF";
	font-size: 15px;
	font-weight: 900;
	letter-spacing: -.04em;
}

.nori-gallery-type-icon--video::before {
	content: "";
	margin-left: 4px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 16px solid currentColor;
}

.nori-gallery-type-icon--image::before {
	content: "";
	width: 28px;
	height: 22px;
	border: 2px solid currentColor;
	border-radius: 5px;
	background: linear-gradient(145deg, transparent 52%, currentColor 53% 61%, transparent 62%);
}

.nori-gallery-type-text,
.nori-gallery-type-text > span,
.nori-gallery-type-text > small {
	display: block;
}

.nori-gallery-type-text strong {
	display: block;
	font-size: 20px;
	line-height: 1.35;
}

.nori-gallery-type-text > span {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.6;
}

.nori-gallery-type-text > small {
	margin-top: 12px;
	color: #486079;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.45;
}

.nori-gallery-type-check {
	position: relative;
	width: 24px;
	height: 24px;
	border: 2px solid #bdcad8;
	border-radius: 50%;
}

.nori-gallery-type-option input:checked + .nori-gallery-type-card {
	border-color: var(--nori-gallery-blue);
	background: linear-gradient(155deg, #fff 0%, #eef6ff 100%);
	box-shadow: 0 0 0 4px rgba(23, 104, 213, .1), 0 18px 38px rgba(23, 104, 213, .12);
}

.nori-gallery-type-option input:checked + .nori-gallery-type-card .nori-gallery-type-check {
	border-color: var(--nori-gallery-blue);
	background: var(--nori-gallery-blue);
}

.nori-gallery-type-option input:checked + .nori-gallery-type-card .nori-gallery-type-check::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 3px;
	width: 7px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.nori-gallery-type-option.is-disabled .nori-gallery-type-card {
	background: #f5f7f9;
	box-shadow: none;
}

.nori-gallery-type-option.is-disabled .nori-gallery-type-icon {
	background: #e7ebef;
	color: #7d8896;
}

.nori-gallery-future {
	display: inline-flex !important;
	width: fit-content;
	margin-top: 11px !important;
	padding: 4px 9px;
}

.nori-gallery-wizard-button {
	min-width: 132px;
	min-height: 50px;
	gap: 9px;
	padding: 11px 22px;
	border-radius: 14px;
	box-shadow: 0 10px 22px rgba(23, 104, 213, .18);
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
}

.nori-gallery-wizard-button:hover {
	background: #0f57b9;
	color: #fff;
	text-decoration: none;
}

.nori-gallery-wizard-button--secondary {
	box-shadow: none;
}

.nori-gallery-wizard-button--secondary:hover {
	border-color: #8ba6c3;
	background: #f3f7fb;
	color: var(--nori-gallery-blue-deep);
}

.nori-gallery-selected-type {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin: 28px 0 22px;
	padding: 16px 18px;
	border: 1px solid #cfe0f2;
	border-radius: 18px;
	background: #f3f8fe;
}

.nori-gallery-selected-type-icon {
	position: relative;
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 14px;
	background: var(--nori-gallery-blue);
	color: #fff;
}

.nori-gallery-selected-type-icon::before {
	content: "PDF";
	font-size: 12px;
	font-weight: 900;
}

.nori-gallery-selected-type[data-media-type="video"] .nori-gallery-selected-type-icon::before {
	content: "";
	margin-left: 3px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid #fff;
}

.nori-gallery-selected-type[data-media-type="image"] .nori-gallery-selected-type-icon::before {
	content: "";
	width: 22px;
	height: 17px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: linear-gradient(145deg, transparent 52%, #fff 53% 61%, transparent 62%);
}

.nori-gallery-selected-type[data-media-type="image"] .nori-gallery-selected-type-icon::after {
	content: "";
	position: absolute;
	top: 12px;
	right: 10px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff;
}

.nori-gallery-selected-type small,
.nori-gallery-selected-type strong {
	display: block;
}

.nori-gallery-selected-type small {
	color: #64758a;
	font-size: 12px;
	font-weight: 700;
}

.nori-gallery-selected-type strong {
	margin-top: 3px;
	color: #123c73;
	font-size: 17px;
}

.nori-gallery-selected-type-rule {
	padding: 7px 10px;
	border-radius: 999px;
	background: #fff;
	color: #47617e;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.nori-gallery-write-table {
	border-collapse: separate;
	border-spacing: 0;
}

.nori-gallery-write-table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.nori-gallery-write-table tbody {
	display: grid;
	gap: 16px;
}

.nori-gallery-write-table tr {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid #dbe4ee;
	border-radius: 18px;
	background: #fff;
}

.nori-gallery-write-table th,
.nori-gallery-write-table td {
	width: auto;
	padding: 22px;
	border: 0;
}

.nori-gallery-write-table th {
	display: flex;
	align-items: flex-start;
	background: #f5f8fc;
	font-size: 15px;
	line-height: 1.5;
}

.nori-gallery-write-table th em {
	margin-left: 3px;
	color: #c43131;
}

.nori-gallery-write-table .form-control,
.nori-gallery-write-table textarea {
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #b9c8d8;
	border-radius: 11px;
	background: #fff;
	color: var(--nori-gallery-ink);
	font-size: 15px;
	line-height: 1.55;
	transition: border-color .16s ease, box-shadow .16s ease;
}

.nori-gallery-write-table textarea {
	min-height: 184px;
}

.nori-gallery-write-table .form-control:focus,
.nori-gallery-write-table textarea:focus {
	border-color: var(--nori-gallery-blue);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(23, 104, 213, .1);
}

.nori-gallery-field-help {
	margin: 9px 0 0;
	color: #66768a;
	font-size: 13px;
	line-height: 1.55;
}

.nori-gallery-author-context {
	min-height: 44px;
	padding: 9px 14px;
	border: 1px solid #d9e4ef;
	background: #f4f7fb;
	font-weight: 800;
}

.nori-gallery-write #attach_area > td {
	min-width: 0;
}

.nori-gallery-write #attach_area .fs1 {
	display: block;
	margin: 0 0 12px;
	color: #53657a;
	font-size: 13px;
	line-height: 1.6;
}

.nori-gallery-upload-help {
	margin: 8px 0 16px;
	padding: 12px 14px;
	border-radius: 11px;
	background: #eef5fd;
	font-size: 13px;
	line-height: 1.6;
}

.nori-gallery-write .attachbox {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 16px;
	min-height: 166px;
	padding: 16px;
	border: 1px dashed #9db8d4;
	border-radius: 16px;
	background: #fbfdff;
}

.nori-gallery-write .attachbox .preview {
	display: flex;
	width: 100% !important;
	height: 134px !important;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid #d6e2ee;
	border-radius: 12px;
	background: #f0f5fa;
	color: #607086;
	font-size: 13px;
	text-align: center;
}

.nori-gallery-write .attachbox .preview[hidden] {
	display: none !important;
}

.nori-gallery-upload-preview-control {
	display: flex;
	min-height: 134px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border: 1px solid #d6e2ee;
	border-radius: 14px;
	background: linear-gradient(145deg, #f7fbff 0%, #edf5fd 100%);
	text-align: center;
}

.nori-gallery-upload-preview-label {
	color: #53657a;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
}

.nori-gallery-upload-preview-trigger {
	min-width: 128px;
	min-height: 46px;
	padding: 10px 20px;
	border: 1px solid var(--nori-gallery-blue);
	border-radius: 999px;
	background: var(--nori-gallery-blue);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 900;
	cursor: pointer;
}

.nori-gallery-upload-preview-trigger:disabled {
	border-color: #bdc9d6;
	background: #dce5ee;
	color: #6f7e8f;
	cursor: not-allowed;
}

.nori-gallery-upload-preview-control p {
	margin: 0;
	color: #68798c;
	font-size: 12px;
	line-height: 1.5;
}

.nori-gallery-order-panel {
	display: grid;
	gap: 16px;
	margin-top: 18px;
	padding: 20px;
	border: 1px solid #cfe0f1;
	border-radius: 16px;
	background: #f8fbff;
}

.nori-gallery-order-panel[hidden] {
	display: none;
}

.nori-gallery-order-panel h3,
.nori-gallery-order-panel p {
	margin: 0;
}

.nori-gallery-order-panel h3 {
	color: var(--nori-gallery-blue-deep);
	font-size: 17px;
}

.nori-gallery-order-panel p {
	margin-top: 5px;
	color: #607086;
	font-size: 13px;
	line-height: 1.55;
}

.nori-gallery-order-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nori-gallery-order-item {
	display: grid;
	grid-template-columns: 34px 58px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid #d4e0ec;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 5px 14px rgba(20, 53, 91, .05);
	cursor: grab;
}

.nori-gallery-order-item.is-dragging {
	opacity: .55;
}

.nori-gallery-order-item.is-drop-target {
	border-color: var(--nori-gallery-blue);
	box-shadow: 0 0 0 3px rgba(23, 104, 213, .12);
}

.nori-gallery-order-number {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: var(--nori-gallery-blue-deep);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
}

.nori-gallery-order-thumb {
	display: block;
	width: 54px;
	height: 54px;
	border-radius: 9px;
	background: #eef3f8;
	object-fit: cover;
}

.nori-gallery-order-name {
	min-width: 0;
	overflow: hidden;
	color: #263b55;
	font-size: 13px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nori-gallery-order-primary {
	padding: 5px 9px;
	border-radius: 999px;
	background: #e9f5ee;
	color: #176b4c;
	font-size: 11px;
	white-space: nowrap;
}

.nori-gallery-order-controls {
	display: flex;
	align-items: center;
	gap: 5px;
}

.nori-gallery-order-controls button {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	padding: 0;
	border: 1px solid #c7d5e3;
	border-radius: 8px;
	background: #fff;
	color: var(--nori-gallery-blue-deep);
	cursor: pointer;
}

.nori-gallery-order-controls button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.nori-gallery-order-controls .nori-gallery-order-delete {
	display: inline-flex;
	width: auto;
	min-width: 52px;
	align-items: center;
	justify-content: center;
	padding: 0 11px;
	border-color: #e0b7b7;
	color: #a23d3d;
	font-size: 12px;
	font-weight: 800;
}

.nori-gallery-order-controls .nori-gallery-order-delete:hover,
.nori-gallery-order-controls .nori-gallery-order-delete:focus-visible {
	border-color: #bc5555;
	outline: 0;
	background: #fff3f3;
	box-shadow: 0 0 0 3px rgba(188, 85, 85, .12);
}

.nori-gallery-upload-error-modal .nori-gallery-modal-panel {
	width: min(520px, 100%);
}

.nori-gallery-upload-error-body {
	display: grid;
	justify-items: center;
	gap: 16px;
	padding: 32px 30px 24px;
	color: #354d68;
	text-align: center;
}

.nori-gallery-upload-error-icon {
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	border-radius: 50%;
	background: #fff0e8;
	color: #b94a24;
	font-size: 26px;
	font-weight: 900;
}

.nori-gallery-upload-error-body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}

.nori-gallery-upload-error-actions {
	display: flex;
	justify-content: center;
	padding: 0 30px 28px;
}

.nori-gallery-upload-error-actions .btn-d {
	min-width: 112px;
}

.nori-gallery-order-handle {
	padding-left: 3px;
	color: #7890a8;
	font-size: 19px;
	font-weight: 900;
	letter-spacing: -5px;
}

.nori-gallery-order-empty {
	padding: 18px;
	border: 1px dashed #b7cce5;
	border-radius: 12px;
	color: #697a8d;
	font-size: 13px;
	text-align: center;
}

.nori-gallery-write .attachbox .cont {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

.nori-gallery-write .filebox,
.nori-gallery-write .filebox select {
	width: 100%;
}

.nori-gallery-write .filebox select {
	min-height: 88px;
	padding: 9px;
	border: 1px solid #c8d5e2;
	border-radius: 10px;
	background: #fff;
}

.nori-gallery-write .graph {
	position: relative;
	height: 20px;
	margin-top: 10px;
	overflow: hidden;
	border-radius: 999px;
	background: #e7eef6;
}

.nori-gallery-write .graph .bar {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #1768d5, #42a6ef);
}

.nori-gallery-write .graph .num {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #173a66;
	font-size: 11px;
	font-weight: 900;
}

.nori-gallery-write #attach_area .tar {
	display: flex;
	justify-content: flex-end;
	gap: 9px;
	margin-top: 13px;
}

.nori-gallery-write #add_btn,
.nori-gallery-write #delete_btn {
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid #9eb5cd;
	border-radius: 11px;
	background: #fff;
	color: #234c79;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.nori-gallery-write #add_btn {
	border-color: var(--nori-gallery-blue);
	background: var(--nori-gallery-blue);
	color: #fff;
}

.nori-gallery-write #add_btn label,
.nori-gallery-write #delete_btn label {
	cursor: pointer;
}

.nori-gallery-submit-actions {
	display: flex;
	width: min(1120px, 100%);
	justify-content: flex-end;
	gap: 10px;
	margin: 24px auto 0;
}

.nori-gallery-submit-actions[hidden] {
	display: none !important;
}

.nori-gallery-submit-actions .nori-gallery-wizard-button {
	margin: 0;
	font-family: inherit;
}

.nori-gallery-media-link:focus-visible,
.nori-gallery-adjacent a:focus-visible,
.nori-gallery-preview-button:focus-visible,
.nori-gallery-card-title:focus-visible,
.nori-gallery-fallback-card:focus-visible,
.nori-gallery-modal-close:focus-visible,
.nori-gallery-modal-arrow:focus-visible,
.nori-gallery-upload-preview-trigger:focus-visible,
.nori-gallery-dropzone:focus-visible,
.nori-gallery-order-controls button:focus-visible,
.nori-gallery-cardnews-thumbnail:focus-visible,
.nori-gallery-cardnews-arrow:focus-visible,
.nori-gallery-detail-file:focus-visible,
.nori-gallery-detail-preview:focus-visible,
.nori-gallery-wizard-button:focus-visible,
.nori-gallery-write #add_btn:focus-visible,
.nori-gallery-write #delete_btn:focus-visible {
	outline: 3px solid #111;
	outline-offset: 3px;
}

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

	.nori-gallery-authoring-hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.nori-gallery-cardnews-stage {
		grid-template-columns: 58px minmax(0, 1fr) 58px;
		gap: 14px;
	}

	.nori-gallery-cardnews-arrow {
		width: 52px;
		height: 52px;
		font-size: 40px;
	}
}

@media (max-width: 700px) {
	.house-subpage #header {
		min-height: 74px;
	}

	.house-subpage #logo {
		width: min(100% - 30px, 640px);
	}

	.house-subpage #logo img {
		width: 126px;
	}

	.house-subpage #container {
		padding-top: 28px;
		padding-bottom: 70px;
	}

	#mc-cont3 .nori-gallery-home-list {
		width: min(100% - 30px, 640px);
		margin-top: 38px;
	}

	.nori-gallery-board-grid,
	.nori-gallery-type-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

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

	.nori-gallery-home .nori-gallery-badge {
		top: 9px;
		left: 9px;
		min-height: 28px;
		padding: 4px 9px;
		font-size: 11px;
	}

	.nori-gallery-home .nori-gallery-play {
		width: 42px;
		height: 42px;
	}

	.nori-gallery-home .nori-gallery-play::after {
		top: 12px;
		left: 17px;
		border-top-width: 8px;
		border-bottom-width: 8px;
		border-left-width: 13px;
	}

	.nori-gallery-home .morebtn-wrap {
		width: min(100% - 30px, 520px);
		flex-direction: column;
		gap: 12px;
		margin-top: 36px;
	}

	.nori-gallery-home .morebtn-wrap .more-btn {
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}

	.nori-gallery-cardnews-rail {
		grid-auto-columns: 82px;
		gap: 8px;
		margin-top: 20px;
		padding: 9px;
		border-radius: 13px;
	}

	.nori-gallery-cardnews-stage {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 6px;
		margin-top: 0;
		padding: 14px 8px;
		border-radius: 18px;
	}

	.nori-gallery-cardnews-arrow {
		width: 42px;
		height: 42px;
		font-size: 34px;
	}

	.nori-gallery-detail-pdf-frame {
		padding: 8px;
		border-radius: 16px;
	}

	.nori-gallery-detail-video {
		border-radius: 11px;
	}

	.nori-gallery-detail-pdf-frame iframe { width: 100%; }

	.nori-gallery-order-item {
		grid-template-columns: 32px 48px minmax(0, 1fr) auto;
		gap: 8px;
	}

	.nori-gallery-write .nori-gallery-dropzone {
		min-height: 112px;
		align-items: flex-start;
		justify-content: flex-start;
		padding: 19px;
	}

	.nori-gallery-dropzone-icon {
		flex-basis: 46px;
		width: 46px;
		height: 46px;
		font-size: 25px;
	}

	.nori-gallery-order-thumb {
		width: 46px;
		height: 46px;
	}

	.nori-gallery-order-primary {
		display: none;
	}

	.nori-gallery-authoring-hero {
		padding: 25px 22px;
		border-radius: 24px;
	}

	.nori-gallery-authoring-copy h1 {
		font-size: 27px;
		white-space: normal;
	}

	.nori-gallery-authoring-copy > p:last-child {
		font-size: 14px;
	}

	.nori-gallery-progress {
		grid-template-columns: 1fr;
	}

	.nori-gallery-progress li {
		padding: 13px 14px;
	}

	.nori-gallery-authoring-panel {
		margin-top: 16px;
		padding: 25px 20px;
		border-radius: 24px;
	}

	.nori-gallery-type-card {
		min-height: 150px;
		grid-template-columns: 54px minmax(0, 1fr) 24px;
		gap: 13px;
		padding: 21px 18px;
	}

	.nori-gallery-type-icon {
		width: 54px;
		height: 54px;
		border-radius: 16px;
	}

	.nori-gallery-selected-type {
		grid-template-columns: 42px minmax(0, 1fr);
		padding: 14px;
	}

	.nori-gallery-selected-type-rule {
		grid-column: 1 / -1;
		width: fit-content;
	}

	.nori-gallery-adjacent {
		margin-top: 24px;
	}

	.nori-gallery-adjacent ul {
		gap: 8px;
	}

	.nori-gallery-adjacent li,
	.nori-gallery-adjacent li:nth-child(2),
	.nori-gallery-adjacent li.none {
		min-height: 92px;
	}

	.nori-gallery-adjacent li a,
	.nori-gallery-adjacent li:nth-child(1) a,
	.nori-gallery-adjacent li:nth-child(2) a,
	.nori-gallery-adjacent li.none {
		min-height: 92px;
		gap: 9px;
		padding: 13px 11px;
	}

	.nori-gallery-adjacent-icon {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}

	.nori-gallery-adjacent-icon svg {
		width: 15px;
		height: 15px;
	}

	.nori-gallery-adjacent li .tit {
		font-size: 11px;
	}

	.nori-gallery-adjacent li .txt {
		font-size: 12px;
	}

	.nori-gallery-card,
	.nori-gallery-fallback-card,
	.nori-gallery-media,
	.nori-gallery-detail .nori-gallery-media {
		border-radius: 18px;
	}

	.nori-gallery-card-body {
		padding: 18px;
	}

	.nori-gallery-modal {
		padding: 10px;
	}

	.nori-gallery-modal-panel {
		max-height: calc(100dvh - 20px);
		border-radius: 16px;
	}

	.nori-gallery-modal-head {
		min-height: 60px;
		padding-left: 17px;
	}

	.nori-gallery-modal-arrow {
		width: 44px;
		height: 44px;
	}

	.nori-gallery-modal-arrow--prev { left: 8px; }
	.nori-gallery-modal-arrow--next { right: 8px; }

	.nori-gallery-modal-content iframe,
	.nori-gallery-modal-content video {
		height: calc(100dvh - 80px);
	}

	.nori-gallery-modal[data-media-type="pdf"] .nori-gallery-modal-content {
		padding: 8px;
	}

	.nori-gallery-modal[data-media-type="pdf"] .nori-gallery-modal-content iframe {
		width: 100%;
		height: calc((100vw - 38px) * 1.4142857);
		max-height: none;
	}

	.nori-gallery-detail-file-row {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.nori-gallery-detail-file-buttons {
		grid-column: 1 / -1;
	}

	.nori-gallery-detail-preview,
	.nori-gallery-detail-file-buttons .nori-gallery-detail-file {
		flex: 1 1 0;
		justify-content: center;
	}

	.nori-gallery-write-table,
	.nori-gallery-write-table tbody,
	.nori-gallery-write-table tr,
	.nori-gallery-write-table th,
	.nori-gallery-write-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.nori-gallery-write-table th {
		padding-bottom: 10px;
	}

	.nori-gallery-write-table td {
		padding-top: 12px;
	}

	.nori-gallery-write-table tr {
		display: block;
	}

	.nori-gallery-write-table th,
	.nori-gallery-write-table td {
		padding: 17px;
	}

	.nori-gallery-write .attachbox {
		grid-template-columns: 1fr;
	}

	.nori-gallery-write .attachbox .preview {
		height: 160px !important;
	}

	.nori-gallery-write #attach_area .tar,
	.nori-gallery-submit-actions {
		flex-direction: column;
	}

	.nori-gallery-write #add_btn,
	.nori-gallery-write #delete_btn,
	.nori-gallery-submit-actions .nori-gallery-wizard-button {
		width: 100%;
		justify-content: center;
	}

	.board_view .nori-gallery-detail-meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.nori-gallery-detail-edit {
		align-self: flex-end;
	}
}

@media (max-width: 360px) {
	.nori-gallery-home .nori-gallery-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nori-gallery-card,
	.nori-gallery-fallback-card,
	.nori-gallery-preview-button::after,
	.nori-gallery-type-card {
		transition: none;
	}

	.nori-gallery-card:hover,
	.nori-gallery-fallback-card:hover {
		transform: none;
	}
}
