@import "mobile_menu.css";
@import "card.css";
@import "custom-bg.css";
.container {
    max-width: 1550px !important;
}
body {
    background-color: #F2F2F2;
    color: #333;
    font-family: 'Prompt', sans-serif;
    font-size: 16px;
    line-height: 23px;
    margin: 0;
    box-shadow: 0px 0px 20px #E6E6E6;
}
p {
	color: #555;
	line-height: 25px !important;
	margin: 0px !important;
}
.bold{
    font-weight: bold;
}
p[data-f-id="pbf"] {
	display: none;
}
.font-1 {
    font-family: 'Prompt', sans-serif;
	/*font-family: 'Prompt', sans-serif;*/
}
.font-2, .btn {
     font-family: 'Prompt', sans-serif;
}
.font-3 {
    /*font-family: 'Prompt', sans-serif;*/
}
.img200 {
	width: 100%;
	max-width: 200px;
	height: auto;
	margin-bottom: 5px;
}
.img300 {
	width: 100%;
	max-width: 300px;
	height: auto;
	margin-bottom: 5px;
}
.img400 {
	width: 100%;
	max-width: 400px;
	height: auto;
	margin-bottom: 5px;
}
.img500 {
	width: 100%;
	max-width: 500px;
	height: auto;
	margin-bottom: 5px;
}
.img600 {
	width: 100%;
	max-width: 600px;
	height: auto;
	margin-bottom: 5px;
}
.img700 {
	width: 100%;
	max-width: 700px;
	height: auto;
	margin-bottom: 5px;
}
h1 {
	font-size: 35px;
	font-weight: 400;
	line-height: 39px;
}
h2 {
	font-size: 22px;
	font-weight: 400;
	line-height: 28px;
}
h3 {
	font-size: 20px;
	font-weight: 400;
	line-height: 31px;
}
h4 {
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
}
h5 {
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
}
h6 {
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
}
.btn {
    border-radius: 40px !important;
}
.header-btn-collapse-nav{
	font-size: 22px;
}
#header .header-nav.header-nav-links nav > ul > li > a.active, #header .header-nav.header-nav-line nav > ul > li > a.active {
    background: #004aae !important;
    color: #D51379 !important;
}
#header.header-effect-shrink .header-container {
    min-height: 70px;
}
.text-size-1 {
	font-size: 30px;
	font-weight: 400;
	line-height: 40px;
}
.text-primary {
	color: #005baa !important;
}
.text-grey {
	color: #999 !important;
}
.text-black {
	color: #333 !important;
}
.text-purple {
	color: #B213C8 !important;
}
.text-white {
	color: #FFF !important;
}
.text-green {
	color: #0045B5 !important;
}
.text-pink {
	color: #DF3797 !important;
}
.text-red {
	color: #D7000B !important;
}
.text-black {
	color: #333 !important;
}
.text-orange {
	color: #FD8134 !important;
}
.text-blue {
	color: #14A7E3 !important;
}
.text-brown {
	color: #CC7E47 !important;
}
.text-sky {
	color: #06C7F0 !important;
}
.text-yellow {
	color: #FFD700  !important;
}
.text-footer {
	color: #000 !important;
}
.btn-success:hover, .btn-success.hover, .btn-danger:hover, .btn-danger.hover {
	box-shadow: 0px 2px 15px #999;
}
.btn {
    padding: 8px 25px !important
}
#footer a:not(.btn) {
  color: #FFFFFF;
}
.category img {
	width: 100%;
	border: 0px solid #F4F4F4;
	border-radius: 10px;
	transition: ease all 0.3s;
}
.category img:hover {
	transition: ease all 0.3s;
	box-shadow: 0px 2px 15px #00000059;
}
.thumb-info:hover {
	box-shadow: 0px 5px 20px #0000000a;
	transition: ease all 0.3s;
}
.thumb-info {
	display: block;
	position: relative;
	text-decoration: none;
	max-width: 100%;
	/*background-color: #FFFFFF;*/
	border-radius: 8px;
	padding: 10px;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	transition: ease all 0.3s;
}
.thumb-info:hover {
    box-shadow: 0px 9px 20px #0000000a;
    margin-top: -10px !important;
    background: #FFF;
}
.thumb-info .thumb-info-inner {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	display: block;
	font-size: 18px;
	line-height: 26px;
	max-height: 51px;
	overflow: hidden;
}
.thumb-info .thumb-info-type, .thumb-info .thumb-info-action-icon, .thumb-info-social-icons a, .thumbnail .zoom, .img-thumbnail .zoom, .thumb-info-ribbon {
	background-color: #cc040e;
	color: #666;
}
.input-lg {
	font-size: 18px !important;
	line-height: 25px !important;
	height: 50px !important;
	padding: 0px 15px !important;
}
.badge {
	font-weight: 500 !important;
}
.page-header {
	background-color: #212529;
	padding: 16px 0;
	position: relative;
	text-align: left;
	z-index: 1;
}
html .badge-primary {
	background-color: #1D3790;
	color: #FFFFFF !important;
	font-size: 14px;
}
html .badge-primary:hover {
	background-color: #D9D9D9 !important;
	color: #000 !important;
}
html .bg-color-primary, html .bg-primary {
	background: #73BD42 !important;
	border-top: 0px solid #e8b86066;
	border-bottom: 0px solid #E10000;
	box-shadow: 0px 5px 20px #00000063;
}
#header .header-nav-top .nav > li > a, #header .header-nav-top .nav > li > span {
    color: #FFFFFF !important;
}
.btn-primary {
	background-color: #005BAA !important;
	color: #FFF !important;
	border: 0px !important;
}
.btn-primary:hover {
	background-color: #9E1924 !important;
	color: #FFF !important;
	border: 0px !important;
	box-shadow: 0px 2px 15px #999;
	transition: ease all 0.3s;
}
.btn-lg {
	font-size: 20px !important;
}
/* DESKTOP */
.page-header {
	background-color: #e8e8e8 !important;
}
.page-header a {
	text-decoration: none;
	font-size: 14px;
}
.page-header .breadcrumb > li {
	display: inline-block;
	text-transform: uppercase;
	text-shadow: none;
	color: #939393;
	font-size: 14px;
}
.page-header .breadcrumb > li + li:before {
	color: inherit;
	opacity: 0.8;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f105";
	padding: 0 7px 0 5px;
}
html #header .header-nav:not(.header-nav-line):not(.header-nav-links) .header-nav-main nav > ul:not(:hover) > li.dropdown-full-color.dropdown-light > a.active {
	background: #626262;
}
#header .header-nav-main nav > ul > li.open > a, #header .header-nav-main nav > ul > li:hover > a {
	background: #0b71e100;
}
#header .header-body {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	background: #093F89;
	-webkit-transition: min-height 0.3s ease;
	transition: min-height 0.3s ease;
	width: 100%;
	border-top: 3px solid #EDEDED;
	border-bottom: 1px solid transparent;
	z-index: 1001;
	box-shadow: 0px 3px 13px #d2d2d2;
}
#header .header-top.header-top-default {
	background:#25C0E3;
}
#header .header-nav-main nav > ul > li > a {
	color: #2b2b2b !important;
}
#header .header-nav-main nav > ul > li > a:hover {
	color: #1d3790 !important;
}
#header .header-nav.header-nav-stripe nav > ul > li:hover > a, #header .header-nav.header-nav-stripe nav > ul > li.open > a {
	background-color: #B24B10;
	color: #FFF !important;
}
#header .header-nav.header-nav-stripe nav > ul:not(:hover) > li > a.active {
	background-color: #B24B10;
}
#header .header-nav.header-nav-line nav > ul:not(:hover) li > a.active {
	color: #B24B10;
}
#header .header-nav.header-nav-line nav > ul li:hover > a::before {
	background: #B24B10;
}
#header .header-nav.header-nav-line nav > ul:not(:hover) li > a.active::before {
	background: #B24B10;
}
#header .header-nav.header-nav-line nav > ul li:hover > a {
	color: #F70003;
}
#header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li > a, #header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li .wrapper-items-cloned > a {
	color: #FFFFFF !important;
}
#header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul:not(:hover) > li > a.active, #header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul:not(:hover) > li .wrapper-items-cloned > a.active {
	color: #FFFFFF !important;
	font-weight: 400;
}
#header .header-top {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	box-shadow: 0px 2px 15px #66666645;
	min-height: 47px;
	background-color: #169ef2;
}
#header .header-column .header-extra-info li .header-extra-info-text label {
	display: block;
	margin: 0;
	font-size: 17px;
	line-height: 1.2;
}
#header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul > li:hover > a, #header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul > li .wrapper-items-cloned:hover > a {
	color: #8e8e8e !important;
}
#header .header-nav-main nav > ul > li > a {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-radius: 30px;
	color: #CCC;
	font-size: 16px;
	font-style: normal;
	padding: 8px 23px;
	text-transform: uppercase;
}
section.page-header .page-header-title-border {
	background-color: #00AEEF !important;
}
.page-header .breadcrumb a {
	color: #005baa !important;
}
.page-header.page-header-classic:after {
	content: '';
	width: 100%;
	height: 1px;
	background: #e3e3e3;
	position: absolute;
	bottom: 0;
	left: 0;
}
.page-header h1 {
	color: #005baa !important;
	display: inline-block;
	font-size: 27px;
	line-height: 36px;
	margin: 0;
	padding: 0;
	font-weight: bold;
	position: relative;
	top: 1px;
}
.page-header.page-header-classic .page-header-title-border {
    width: 0;
    height: 5px;
    position: absolute;
    bottom: 0;
    background: #777 !important;
    z-index: 1;
}
.text-underline{
	text-decoration: underline;
}
/* MOBILE */
@media (max-width: 991px) {
#header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul:not(:hover) > li > a.active, #header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul:not(:hover) > li .wrapper-items-cloned > a.active {
	color: #FFF !important;
	font-weight: 400;
}
#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active {
	background: #005BAA !important;
	color: #FFF !important;
}
#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
	color: #737373 !important;
	font-size: 17px;
}
    
#header .header-btn-collapse-nav {
    background: #083F88 !important;
    color: #FFCB08;
    border: 5px solid #0073d7;
    padding: 13px 15px;
    border-radius: 50px;
    margin-top: 2px;
}
    
#header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li > a, #header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li .wrapper-items-cloned > a {
	color: #3079D8 !important;
}
    
.dropdown-item {
	background-color: transparent;
}
    
}
 @media (min-width: 900px) {
    
     #header .header-nav.header-nav-links:not(.header-nav-light-text) nav > ul > li > a, #header .header-nav.header-nav-line:not(.header-nav-light-text) nav > ul > li > a {
  color: #FFFFFF !important;
  font-size: 14px;
  word-spacing: -5px !important;
}
     
	.mobile-menu, .hide-desktop {
		display: none;
	}
}
#footer {
  background: #29c5ff;
}
#footer .footer-copyright.footer-copyright-style-2 {
	background: #169EF2;
	color: #FFF;
	padding: 20px 10px;
	text-align: center;
	font-size: 15px;
}
#footer .footer-copyright.footer-copyright-style-2 {
  background: #202020;
  border-top: 1px solid #4d4d4d;
}
.thumb-info.thumb-info-no-borders, .thumb-info.thumb-info-no-borders img {
	border: 0;
	padding: 0px;
	margin: 0;
	border-radius: 0;
}
.thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded img, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded .thumb-info-wrapper, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded .thumb-info-wrapper::after {
    border-radius: 6px !important;
}
.social-icons li a {
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	border-radius: 100%;
	display: block;
	height: 28px;
	line-height: 28px;
	width: 28px;
	text-align: center;
	color: #FFFFFF !important;
	text-decoration: none;
	font-size: 13px;
}
.social-icons li:hover a {
	background: #979797;
	color: #FFF !important;
}
.social-icons li {
	display: inline-block;
	margin: -1px 1px 0 0;
	padding: 0;
	border-radius: 100%;
	overflow: visible;
	border: 2px solid #FFFFFF;
}
.thumb-info .thumb-info-wrapper:after {
	content: "";
	/*background: rgba(0, 0, 0, 0.34);*/
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	border-radius: 4px;
	bottom: -4px;
	color: #FFF;
	left: -4px;
	position: absolute;
	right: -4px;
	top: -4px;
	display: block;
	opacity: 0;
	z-index: 1;
}
.mobile-menu {
	padding: 7px 0px;
	border-radius: 10px;
	font-size: 17px;
	text-align: center;
	display: block;
	color:#f9f9f9 !important;
}
a .mobile-menu{
	color: #f9f9f9 !important;	
}
.mobile-menu-active {
    background: #3D67AF;
    border: 3px solid #7bd440;
    padding: 7px 0px;
    border-radius: 50px;
    font-size: 17px;
    text-align: center;
    display: block;
    color: #fff;
}
.card-img-top .head {
    border-radius: 10px 10px 0px 0px;
}
.card-img-top .body .title {
    font-size: 22px;
    margin-bottom: 5px;
}
.card-img-top {
    box-shadow: 0px 2px 15px #ececec;
    border-radius: 10px;
}
.card-img-top .body {
    padding: 20px 10px;
    border-radius: 0px 0px 10px 10px;
    border-bottom: 3px solid #0468bf;
	background-color: #FFF;
}
.thumb-info.thumb-info-bottom-info-dark .thumb-info-title {
    background: #000c !important;
    color: #FFF;
}
/*==================================================================*/
/* เมนูหลักแบบใหม่ (.nf-modern-nav ใน _nav_top.php)                  */
/*==================================================================*/
#header .header-body {
	background: linear-gradient(90deg, #08357a 0%, #0b4cad 55%, #0a5fd1 100%);
	border-top: 0;
	box-shadow: 0 6px 20px rgba(8, 53, 122, .18);
}
html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a {
	font-family: 'Prompt', sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .2px;
	word-spacing: normal !important;
	text-transform: none;
	transition: color .2s ease, background-color .2s ease;
}
html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a strong {
	font-weight: 500;
}

/*---- จอคอม ----*/
@media (min-width: 992px) {
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a {
		color: rgba(255, 255, 255, .85) !important;
		background: transparent !important;
		padding: 0 16px;
	}
	/*---- เส้นใต้ ขยายจากกึ่งกลางตอนชี้ / หน้าปัจจุบัน ----*/
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a::after {
		content: "";
		position: absolute;
		left: 16px;
		right: 16px;
		bottom: 12px;
		height: 3px;
		border-radius: 3px;
		background: #29c5ff;
		transform: scaleX(0);
		transition: transform .25s ease;
	}
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a:hover,
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a.active {
		color: #FFFFFF !important;
	}
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a:hover::after,
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a.active::after {
		transform: scaleX(1);
	}
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a.active {
		background: rgba(255, 255, 255, .10) !important;
		font-weight: 600;
	}
}

/*---- มือถือ / แท็บเล็ต ----*/
@media (max-width: 991px) {
	html body #header .nf-modern-nav .header-btn-collapse-nav {
		width: 46px;
		height: 46px;
		padding: 0;
		margin-top: 0;
		border: 1px solid rgba(255, 255, 255, .35);
		border-radius: 12px;
		background: rgba(255, 255, 255, .12) !important;
		color: #FFFFFF;
		font-size: 20px;
		line-height: 44px;
		transition: background-color .2s ease;
	}
	html body #header .nf-modern-nav .header-btn-collapse-nav:hover,
	html body #header .nf-modern-nav .header-btn-collapse-nav:focus {
		background: rgba(255, 255, 255, .22) !important;
		outline: none;
	}
	html body #header .nf-modern-nav .header-nav-main nav {
		background: #FFFFFF;
		border-radius: 14px;
		box-shadow: 0 12px 30px rgba(8, 53, 122, .25);
		margin: 10px 0 14px;
		padding: 6px;
		overflow: hidden;
	}
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li {
		border-bottom: 1px solid #eef2f8;
	}
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li:last-child {
		border-bottom: 0;
	}
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a {
		color: #1f2d45 !important;
		background: transparent !important;
		font-size: 16px;
		padding: 12px 16px !important;
		border-radius: 10px;
		border-left: 4px solid transparent;
	}
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a:hover {
		color: #0b4cad !important;
		background: #f2f7ff !important;
	}
	html body #header .header-nav.header-nav-links.nf-modern-nav nav > ul > li > a.active {
		color: #0b4cad !important;
		background: #e8f2ff !important;
		border-left-color: #29c5ff;
		font-weight: 600;
	}
}

/*==================================================================*/
/* หน้าติดต่อเรา (contact.php)                                        */
/*==================================================================*/
.nf-contact {
	background: #f4f7fb;
	padding: 40px 0 30px;
}
.nf-contact-hero {
	position: relative;
	overflow: hidden;
	text-align: center;
	color: #FFFFFF;
	background: linear-gradient(120deg, #08357a 0%, #0b4cad 55%, #29c5ff 130%);
	border-radius: 20px;
	padding: 42px 24px 38px;
	margin-bottom: 36px;
	box-shadow: 0 14px 34px rgba(8, 53, 122, .22);
}
.nf-contact-hero::after {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	right: -70px;
	top: -90px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
}
.nf-contact-hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .15);
	font-size: 28px;
	margin-bottom: 14px;
}
.nf-contact-hero h1 {
	color: #FFFFFF;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 8px;
}
.nf-contact-hero p {
	color: rgba(255, 255, 255, .88);
	font-size: 17px;
	line-height: 1.6;
	max-width: 620px;
	margin: 0 auto !important;
}
.nf-contact-heading {
	color: #08357a;
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 16px;
	padding-left: 12px;
	border-left: 4px solid #29c5ff;
	line-height: 1.3;
}
.nf-contact-card {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 100%;
	background: #FFFFFF;
	border: 1px solid #e6edf6;
	border-radius: 16px;
	padding: 20px 22px;
	box-shadow: 0 4px 14px rgba(8, 53, 122, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}
.nf-contact-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(8, 53, 122, .12);
}
.nf-contact-icon {
	flex: 0 0 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: #e8f2ff;
	color: #0b4cad;
	font-size: 21px;
}
.nf-contact-body {
	flex: 1 1 auto;
	min-width: 0;
}
.nf-contact-label {
	font-size: 13px;
	color: #7a8699;
	margin-bottom: 2px;
}
.nf-contact-value {
	font-size: 18px;
	font-weight: 600;
	color: #1f2d45;
	line-height: 1.35;
	word-break: break-word;
}
.nf-contact-sub {
	font-size: 15px;
	color: #4a5568;
	margin-top: 2px;
}
.nf-contact-sub i {
	color: #29c5ff;
	margin-right: 4px;
}
.nf-contact-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 40px;
	background: #0b4cad;
	color: #FFFFFF !important;
	font-size: 15px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .2s ease;
}
.nf-contact-btn:hover {
	background: #08357a;
}
@media (max-width: 575px) {
	.nf-contact-hero h1 { font-size: 28px; }
	.nf-contact-card { flex-wrap: wrap; }
	.nf-contact-btn { width: 100%; justify-content: center; }
}

/*==================================================================*/
/* หน้าหมวดข่าว (news-category.php)                                   */
/*==================================================================*/
.nf-cat {
	background: #f4f7fb;
	padding: 36px 0 40px;
}
.nf-cat-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: #FFFFFF;
	background: linear-gradient(120deg, #08357a 0%, #0b4cad 55%, #29c5ff 130%);
	border-radius: 20px;
	padding: 30px 34px;
	margin-bottom: 20px;
	box-shadow: 0 14px 34px rgba(8, 53, 122, .22);
}
.nf-cat-hero::after {
	content: "";
	position: absolute;
	width: 240px;
	height: 240px;
	right: -60px;
	top: -110px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	pointer-events: none;
}
.nf-cat-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	padding: 3px 12px;
	border-radius: 30px;
	background: rgba(255, 255, 255, .15);
	margin-bottom: 8px;
}
.nf-cat-hero h1 {
	color: #FFFFFF;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 4px;
}
.nf-cat-hero p {
	color: rgba(255, 255, 255, .85);
	font-size: 15px;
	margin: 0;
}
.nf-cat-add {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-radius: 40px;
	background: #FFFFFF;
	color: #0b4cad !important;
	font-size: 15px;
	text-decoration: none !important;
	transition: transform .2s ease;
}
.nf-cat-add:hover { transform: translateY(-2px); }

/*---- ปุ่มเลือกหมวด ----*/
.nf-cat-chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 2px 12px;
	margin-bottom: 18px;
	scrollbar-width: thin;
}
.nf-cat-chip {
	flex: 0 0 auto;
	display: inline-block;
	padding: 7px 16px;
	border-radius: 30px;
	background: #FFFFFF;
	border: 1px solid #dbe4f0;
	color: #1f2d45 !important;
	font-size: 14px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.nf-cat-chip:hover {
	border-color: #29c5ff;
	color: #0b4cad !important;
}
.nf-cat-chip.active {
	background: #0b4cad;
	border-color: #0b4cad;
	color: #FFFFFF !important;
}

/*---- ข่าวเด่น ----*/
.nf-cat-featured {
	display: flex;
	background: #FFFFFF;
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 28px;
	box-shadow: 0 6px 20px rgba(8, 53, 122, .08);
	text-decoration: none !important;
	transition: box-shadow .25s ease, transform .25s ease;
}
.nf-cat-featured:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(8, 53, 122, .14);
}
.nf-cat-featured-img {
	position: relative;
	flex: 0 0 58%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e8eef6;
}
.nf-cat-featured-img img,
.nf-cat-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .45s ease;
}
.nf-cat-featured:hover img,
.nf-cat-card:hover img { transform: scale(1.05); }
.nf-cat-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 4px 12px;
	border-radius: 30px;
	background: #29c5ff;
	color: #FFFFFF;
	font-size: 13px;
}
.nf-cat-featured-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 28px 32px;
}
.nf-cat-featured-body h2 {
	color: #1f2d45;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.4;
	margin: 6px 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nf-cat-featured-body p {
	color: #5a6578;
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nf-cat-more {
	color: #0b4cad;
	font-size: 15px;
}
.nf-cat-date {
	color: #7a8699;
	font-size: 13px;
}
.nf-cat-date i { margin-right: 3px; }

/*---- การ์ดข่าว ----*/
.nf-cat-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #FFFFFF;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(8, 53, 122, .06);
	text-decoration: none !important;
	transition: box-shadow .25s ease, transform .25s ease;
}
.nf-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(8, 53, 122, .13);
}
.nf-cat-card-img {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e8eef6;
}
.nf-cat-card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
	padding: 14px 16px 16px;
}
.nf-cat-card-body h3 {
	color: #1f2d45;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s ease;
}
.nf-cat-card:hover h3 { color: #0b4cad; }

/*---- ไม่มีข่าว ----*/
.nf-cat-empty {
	text-align: center;
	background: #FFFFFF;
	border-radius: 18px;
	padding: 56px 20px;
	color: #7a8699;
}
.nf-cat-empty > i {
	font-size: 46px;
	color: #b8c6da;
	margin-bottom: 12px;
}
.nf-cat-empty > div {
	font-size: 18px;
	margin-bottom: 18px;
}

/*---- ตัวแบ่งหน้า ----*/
.nf-cat-paging .pagination { gap: 6px; }
.nf-cat-paging .page-link {
	min-width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #dbe4f0 !important;
	border-radius: 12px !important;
	color: #1f2d45;
	background: #FFFFFF;
	font-family: 'Prompt', sans-serif;
}
.nf-cat-paging .page-link:hover {
	color: #0b4cad;
	border-color: #29c5ff !important;
	background: #FFFFFF;
}
.nf-cat-paging .page-item.active .page-link {
	background: #0b4cad;
	border-color: #0b4cad !important;
	color: #FFFFFF;
}
.nf-cat-paging .page-item.disabled .page-link {
	color: #b8c6da;
	background: #f4f7fb;
}

@media (max-width: 767px) {
	.nf-cat { padding: 20px 0 30px; }
	.nf-cat-hero { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
	.nf-cat-hero h1 { font-size: 28px; }
	.nf-cat-featured { flex-direction: column; }
	.nf-cat-featured-img { flex-basis: auto; }
	.nf-cat-featured-body { padding: 18px 18px 20px; }
	.nf-cat-featured-body h2 { font-size: 20px; }
	.nf-cat-grid > [class*="col-"] { padding-left: 8px; padding-right: 8px; }
	.nf-cat-grid { margin-left: -8px; margin-right: -8px; }
	.nf-cat-card-body { padding: 10px 12px 12px; }
	.nf-cat-card-body h3 { font-size: 14px; }
	.nf-cat-date { font-size: 12px; }
}
