body,
.pfy-main-wrapper {
	background: #f3f4f6;
	color: #1d1d1f;
	font-family: "Noto Sans Thai", sans-serif;
}

.n2-wrap {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.n2-header {
	background: #fff;
	margin-bottom: 18px;
}

.n2-top {
	background: #3a0d78;
	color: #fff;
}

.n2-top-row,
.n2-nav-row,
.n2-footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.n2-top-row {
	min-height: 92px;
}

.n2-brand {
	display: flex;
	flex-direction: column;
	color: #fff;
	text-decoration: none;
	line-height: 1;
}

.n2-brand-kicker {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.n2-brand-name {
	margin-top: 4px;
	font-size: 42px;
	font-weight: 700;
	letter-spacing: -0.04em;
}

.n2-brand-name span {
	color: #ff3b4e;
}

.n2-tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.n2-date {
	margin: 0 0 0 8px;
	font-size: 14px;
}

.n2-icon-btn {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.n2-icon-btn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.n2-search {
	display: none;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto 14px;
	gap: 8px;
}

.n2-search.is-open {
	display: flex;
}

.n2-search input {
	flex: 1;
	border: 0;
	border-radius: 8px;
	padding: 10px 12px;
}

.n2-search button,
.n2-menu-toggle {
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #3a0d78;
	font-weight: 700;
	padding: 10px 14px;
	cursor: pointer;
}

.n2-nav {
	background: #fff;
	border-bottom: 1px solid #ececec;
	position: sticky;
	top: 0;
	z-index: 20;
}

.n2-menu-toggle {
	display: none;
}

.n2-menu-list,
.n2-footer-list {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.n2-sample {
	margin: 0;
	padding: 8px 16px;
	background: #fff4d6;
	color: #6a4b00;
	text-align: center;
	font-size: 13px;
	line-height: 1.5;
}

.n2-menu-list > li {
	position: relative;
}

.n2-menu-list a {
	display: block;
	padding: 13px 10px;
	color: #222;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.n2-menu-list a:hover,
.n2-menu-list .current-menu-item > a {
	color: #e10600;
}

.n2-menu-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
	padding: 6px 0;
	z-index: 30;
}

.n2-menu-list li:hover > .sub-menu,
.n2-menu-list li:focus-within > .sub-menu {
	display: block;
}

.n2-menu-list .sub-menu a {
	padding: 8px 14px;
	font-size: 14px;
}

.n2-layout {
	display: grid;
	grid-template-columns: minmax(0, 2.05fr) minmax(250px, 0.8fr);
	gap: 18px;
	align-items: start;
}

.n2-hero-empty,
.n2-slider,
.n2-rail-box,
.n2-card,
.n2-block {
	background: #fff;
}

.n2-slider,
.n2-hero-empty {
	position: relative;
	min-height: 390px;
	border-radius: 14px;
	overflow: hidden;
}

.n2-hero-empty {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
	background: linear-gradient(160deg, #5b2bb0, #2a0a55 70%);
	color: #fff;
}

.n2-hero-empty p,
.n2-hero-empty strong {
	margin: 0;
}

.n2-hero-empty strong {
	font-size: 28px;
	margin-top: 8px;
}

.n2-slide {
	display: none;
	min-height: 390px;
}

.n2-slide.is-active {
	display: block;
}

.n2-slide a {
	color: #fff;
	text-decoration: none;
}

.n2-hero-media {
	display: block;
	min-height: 390px;
	background: #241047;
}

.n2-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.n2-hero-media .n2-img {
	position: absolute;
	inset: 0;
	min-height: 390px;
}

.n2-hero-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 54px 22px 18px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.n2-hero-caption strong {
	font-size: 26px;
	line-height: 1.35;
}

.n2-arrow {
	position: absolute;
	top: 46%;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 28px;
	cursor: pointer;
}

.n2-prev { left: 12px; }
.n2-next { right: 12px; }

.n2-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.n2-dot {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	padding: 0;
}

.n2-dot.is-active {
	background: #fff;
}

.n2-block {
	margin-top: 18px;
	padding: 16px 16px 18px;
	border-radius: 12px;
}

.n2-block h2,
.n2-rail h2 {
	margin: 0 0 14px;
	font-size: 16px;
}

.n2-block h2 a,
.n2-rail h2 {
	display: inline-block;
	background: #e10600;
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
	border-radius: 2px;
}

.n2-lead {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px 14px;
}

.n2-card-lg { grid-column: span 3; }
.n2-card-sm { grid-column: span 2; }

.n2-card a {
	color: inherit;
	text-decoration: none;
}

.n2-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: #ece8f4;
	border-radius: 8px;
	overflow: hidden;
}

.n2-card h3 {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.45;
}

.n2-card-sm h3 {
	font-size: 14px;
}

.n2-meta,
.n2-empty {
	margin: 6px 0 0;
	color: #777;
	font-size: 12px;
}

.n2-empty {
	margin: 0;
	padding: 18px 4px 6px;
	font-size: 14px;
}

.n2-rail h2 {
	margin-bottom: 12px;
}

.n2-rail ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border-radius: 12px;
}

.n2-rail li + li {
	border-top: 1px solid #f0f0f0;
}

.n2-rail a {
	display: block;
	padding: 12px 14px;
	color: #222;
	text-decoration: none;
	font-weight: 600;
	line-height: 1.45;
}

.n2-rail-box {
	min-height: 180px;
	margin-bottom: 14px;
	padding: 16px;
	border: 1px dashed #e7a3a3;
	border-radius: 12px;
	color: #888;
}

.n2-rest {
	padding-bottom: 28px;
}

.n2-footer {
	margin-top: 28px;
	background: #2a0a55;
	color: #fff;
}

.n2-footer-row {
	padding: 28px 0 10px;
}

.n2-footer p,
.n2-copy {
	color: rgba(255, 255, 255, 0.75);
}

.n2-footer a {
	color: #fff;
	text-decoration: none;
}

.n2-copy {
	padding-bottom: 22px;
	font-size: 13px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

@media (max-width: 900px) {
	.n2-layout,
	.n2-lead {
		grid-template-columns: 1fr;
	}

	.n2-card-lg,
	.n2-card-sm {
		grid-column: auto;
	}

	.n2-date {
		display: none;
	}

	.n2-brand-name {
		font-size: 32px;
	}

	.n2-menu-toggle {
		display: inline-flex;
		margin: 8px 0;
		background: #3a0d78;
		color: #fff;
	}

	.n2-menu {
		display: none;
		width: 100%;
	}

	.n2-menu.is-open {
		display: block;
	}

	.n2-nav-row {
		flex-wrap: wrap;
	}

	.n2-menu-list {
		flex-direction: column;
		padding-bottom: 10px;
	}

	.n2-menu-list .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		padding-left: 10px;
	}
}
