/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f8f9fa;
}

body.under #content p {
	font-size: 18px;
	text-align: justify;
	text-indent: 20px;
	margin-bottom: 10px;
	overflow-wrap: break-word;     /* Ngắt từ nếu quá dài */
	word-wrap: break-word;         /* Tên cũ, vẫn hỗ trợ để tương thích */
	word-break: break-word;        /* Một số trình duyệt vẫn hỗ trợ */
}

.box_iframe {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 ratio = 9/16 * 100 */
	height: 0;
	overflow: hidden;
	margin: 30px 0;
}

.box_iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header Styles */
.header {
	background: #fff;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.header .container {
	padding: 0;
}

.header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0 20px 0;
}

.header-logan {

	/*border-bottom:2px solid #0a5fc2;*/
	width: 300px;
	text-align: center;
	margin: 0 90px;
}

.header-logan p {
	line-height: 1.6;
	color: #186bcc;
	font-size: 17px !important;
	font-weight: 400;
	font-family: "Lobster", sans-serif;
	text-align: center !important;
	position: relative;
}

.header-logan p::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 180px;
	height: 1.5px;
	background: #0a5fc2;
	border-radius: 2px;
}

.logo img {
	height: 60px;
	width: auto;
}

.school-title {
	flex: 1;
	text-align: center;
	margin: 0 20px;
	line-height: 1;
}

.school-title h1 {
	font-family: "Playfair", serif;
	font-size: 2.4rem;
	font-weight: 700;
	color: #312e81;
	margin: 0;
	text-align: left;
}

.contact-info {
	display: flex;
	align-items: center;
}

.hotline {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #1b1a48;
	font-weight: 600;
}

.hotline i {
	font-size: 16px;
}

.header .social ul {
	display: flex;
	gap: 8px;
	margin-left: 15px;
}

.header .social ul li {
	list-style: none;
}

.header .social ul li a {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
}

/* Navigation Styles */
.main-nav {
	padding: 0;
	background: #1e1c6c;
	border-radius: 10px 10px 0 0;
}

.nav-menu {
	display: flex;
	list-style: none;
	justify-content: flex-start;
	padding: 0 15px;
	gap: 10px;
}

.nav-menu > li {
	position: relative;
}

.nav-menu > li.menu-item-has-children > a:before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	width: 0px;
	height: 0px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid white;
}

.nav-menu > li > a {
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	padding: 10px 8px;
	transition: color 0.3s ease;
	display: block;
	font-family: "Playfair", serif;
	text-transform: uppercase;
}

.nav-menu > li.menu-item-has-children > a {
	padding: 10px 15px 10px 8px;
}

.nav-menu > li > a:hover {
	color: #4A90E2;
}

/* Dropdown Styles */
.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #1e1c6c;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	min-width: 250px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	list-style: none;
	z-index: 1001;
	font-size: 18px;
	font-family: "Playfair", serif;
}

.menu-item-has-children:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sub-menu li a {
	display: block;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px inset #373679;
	transition: background-color 0.3s ease;
}

.sub-menu li a:hover {
	background-color: #f8f9fa;
	color: #186bcc;
	cursor: pointer;
}

/* -------- MENU CẤP 3 -------- */
.sub-menu .sub-menu {
	top: 0;
	left: 100%;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-10px);
	transition: all 0.3s ease;
	background: #27257a;
}

/* Hover hiển thị menu cấp 3 */
.sub-menu li.menu-item-has-children:hover a > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.sub-menu li.menu-item-has-children a {
	position: relative;
}

.sub-menu li.menu-item-has-children > a:before {
	content: "";
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	width: 0px;
	height: 0px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid white;
}

/* Link trong menu cấp 3 */
.sub-menu .sub-menu li a {
	font-size: 17px;
	padding: 11px 18px 10px 18px;
	border-bottom: 1px solid #44438a;
}

.sub-menu .sub-menu li a:hover {
	background-color: #fff;
	color: #1e1c6c;
}

/* Hero Slider Section */
.hero-slider {
	top: 56px;
	position: relative;
	height: 600px;
	overflow: hidden;
	padding-bottom: 0;
}

.slider-container {
	position: relative;
	height: 100%;
	width: 100%;
}

.slider-wrapper {
	height: 100%;
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.slide {
	min-width: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

.slide-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 2;
}

.slide-content {
	position: relative;
	z-index: 3;
	text-align: center;
	color: white;
	max-width: 800px;
	padding: 0 20px;
}

.slide-content h2 {
	font-size: 3rem;
	line-height: 1.3;
	color: #fff;
	font-weight: 700;
	margin-bottom: 50px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	font-family: "Playfair", serif;
}

.slide-content h2:after {
	background: #fff;
}

.slide-content p {
	font-size: 1.3rem;
	line-height: 1.6;
	font-family: "Lobster", sans-serif;
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	display: inline-block;
}

.slide-content .btn {
	display: inline-block;
	padding: 10px 30px;
	background: #1b1a48;
	color: white;
	text-decoration: none;
	border-radius: 30px;
	font-weight: 600;
	transition: all 0.3s ease;
	text-shadow: none;
}

.slide-content .btn:hover {
	background: #357ABD;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-controls {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	z-index: 4;
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
}

.slider-btn {
	background: rgba(255, 255, 255, 0.5);
	border: none;
	color: #1b1a48;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.slider-btn:hover {
	background: rgba(255, 255, 255, 0.65);
	transform: scale(1.1);
}

.slider-btn i {
	font-size: 20px;
}

/* Slider Dots */
.slider-dots {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 4;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: white;
	transform: scale(1.2);
}

/* Section Styles */
section {
	padding: 50px 0;
}

#content .wrapp-detail {
	padding-bottom: 40px;
}

#content .wrapp-detail h5 strong,
#content .wrapp-detail h4 strong {
	font-size: 18px;
	margin-bottom: 15px;
	background: #f8f9fa;
	display: inline-block;
	padding: 15px 20px;
	border-radius: 10px;
	overflow-wrap: break-word;     /* Ngắt từ nếu quá dài */
	word-wrap: break-word;         /* Tên cũ, vẫn hỗ trợ để tương thích */
	word-break: break-word;        /* Một số trình duyệt vẫn hỗ trợ */
	white-space: normal;
	line-height: 1.6;
}

#content .container {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
	background: #fff;
	padding-bottom: 100px;
	padding: 0 30px;
}

#content .wrapp-detail ol,
#content .wrapp-detail ul {
	box-sizing: border-box;
	list-style: none;
	margin-left: 20px;
	margin-bottom: 15px;
}

#content .wrapp-detail ol li,
#content .wrapp-detail ul li {
	padding: 5px 0 5px 20px;
	position: relative;
}

#content .wrapp-detail ol li:before,
#content .wrapp-detail ul li:before {
	position: absolute;
	left: 0;
	top: 14px;
	background: #1e1c6c;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	content: "";
}

/*H2*/
section h2 {
	text-align: center;
	font-size: 2.85rem;
	font-weight: 700;
	margin-bottom: 50px;
	color: #312e81;
	position: relative;
	font-family: "Playfair", serif;
}

section h2::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: #4A90E2;
	border-radius: 2px;
}

#content h2.title_h2_under {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 50px;
	color: #312e81;
	position: relative;
	font-family: "Playfair", serif;
	margin-top: 20px;
}

#content h2.title_h2_under::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: #4A90E2;
	border-radius: 2px;
}

#content h2.title_h2_under::before {
	display: none;
}

/* About Section */
.about-section {
	background: #f8f9fa url(../images/about-bg-r.png) no-repeat right top -70px;
}

.about-content p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 40px;
	text-align: left;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.goals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin-bottom: 60px;
}

.goal-item {
	background: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-color: #ADD8E6;
}

.goal-item svg {
	height: 90px;
	margin-bottom: 20px;
}

.goal-item h3 {
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.4;
	font-family: "Playfair", serif;
	color: #1b1b47;
}

/* Testimonial */
.testimonial {
	background-image: url(http://phanvantri.24hexp.com.vn/wp-content/uploads/2025/08/nen-thong-diep.png);
	padding: 40px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-width: 100%;
	margin: 0 auto;
}

.testimonial-content p {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-bottom: 30px;
	font-family: "Playfair", serif;
	color: #2031aa;
	text-align: justify;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: flex-end;
}

.testimonial-author img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial-author h4 {
	font-size: 1.2rem;
	font-weight: 600;
	color: ##1e1c6c;
	margin-bottom: 5px;
	font-family: "Playfair", serif;
}

.testimonial-author p {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 0;
	line-height: 0.5;
}

/* Admission Section */
.admission-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 40px;
}

.admission-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.admission-card:hover {
	transform: translateY(-10px);
}

.admission-card img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.admission-card h3 {
	padding: 10px 25px 10px;
	font-size: 1.65rem;
	font-weight: 700;
	color: #333;
	font-family: "Playfair", serif;
	color: #186bcc;
	text-align: center;
}

.admission-buttons {
	padding: 0 25px 25px;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

/* Button Styles */
.btn {
	display: inline-block;
	padding: 8px 25px 8px  25px;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 700;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn-primary {
	background: #1e1c6c;
	color: white;
}

.btn-primary:hover {
	background: #357ABD;
	transform: translateY(-2px);
}

.btn-secondary {
	background: transparent;
	color: #1b1a48;
	border: 2px solid #1b1a48;
}

.btn-secondary:hover {
	background: #1b1a48;
	color: white;
}

/* News Section */
.news-section {
	background: #f8f9fa;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.news-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card a {
	text-decoration: none;
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
	grid-column: span 2;
}

.news-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.news-content {
	padding: 20px 20px 50px 20px;
}

.news-content .excerpt {
	color: #888;
}

.news-content h3 {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #1b1a48;
	line-height: 1.4;
	font-family: "Playfair", serif;
}

.news-content p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;
}

.news-tag {
	background: #4A90E2;
	color: white;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
}

/* Partners Section */
.partners-section {

	/*background: #fff;*/
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 30px;
	align-items: center;
}

.partner-logo {
	text-align: center;
	padding: 5px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	line-height: 0;
}

.partner-logo:hover {
	transition: transform 0.4s ease;
}

.partner-logo img {
	max-width: 100%;
	height: auto;
	transition: filter 0.2s ease;
	border-radius: 4px;
	position: pointer;
}

.partner-logo img:hover {

	/*filter: grayscale(0%);*/
	transition: transform 0.2s ease;
	transform: scale(1.1);
	animation: wiggle 0.6s ease infinite;
	box-shadow: 10px 0px 10px #D3D3D3;
}

/*dấu nháy kép*/
.quote-both {
	position: relative;
	padding-left: 1.0em;
	padding-right: 0.6em;
}

.quote-both::before {
	content: "“";
	position: absolute;
	left: 0;
	top: 0.02em;
	font-size: 2em;
	line-height: 0.5;
	color: #e5e7eb;
	font-weight: 500;
}

.quote-both::after {
	content: "”";
	position: absolute;
	font-weight: 700;
	color: #e5e7eb;
	margin-left: 0.1em;
}

/* Newsletter Section */
.newsletter-section {
	background: linear-gradient(135deg, #1b1a48 0%, #0b0a2e 100%);
	color: white;
	text-align: center;
}

.newsletter-section h2 {
	color: white;
}

.newsletter-section h2::after {
	background: white;
}

.newsletter-form {
	display: flex;
	max-width: 500px;
	margin: 0 auto;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: center;
}

.newsletter-form input {
	flex: 1;
	min-width: 250px;
	padding: 15px 20px;
	border: none;
	border-radius: 5px;
	font-size: 1rem;
}

.newsletter-form button {
	padding: 15px 30px;
	background: white;
	color: #1b1a48;
	font-family: "Playfair", serif;
	border: none;
	border-radius: 5px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 18px;
}

.newsletter-form button:hover {
	background: #f8f9fa;
	transform: translateY(-2px);
}

/*ẩn underline*/
.gite a {
	text-decoration: none;
}

/* Footer */
.footer {
	background: url('http://phanvantri.24hexp.com.vn/wp-content/uploads/2025/08/bg-footer.png') no-repeat center top;
	color: #222;
	padding: 60px 0 20px;
	background-size: cover;
}

.footer-content {
	display: flex;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
	justify-content: space-between;
}

.footer-content .footer-logo {
	text-align: center;
}

.footer-logo img {
	height: 100px;
	margin-bottom: 5px;
}

.footer-logo p {
	line-height: 1.4;
	color: #186bcc;
	font-size: 15px;
	font-weight: 400;
	font-family: "Lobster", sans-serif;
	text-align: center !important;
	position: relative;
}

.footer-logo p::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 1.5px;
	background: #0a5fc2;
	border-radius: 2px;
}

/* Kiểu cho iframe (Bản đồ & Fanpage) */
.footer-column iframe {
	border-radius: 5px;
}

.contact-details h3 {
	margin-bottom: 20px;
	color: #186bcc;
	font-size: 1.3rem;
	font-family: "Playfair", serif;
	text-transform: uppercase;
	border-bottom: 2px solid #186bcc;
}

.footer-rounded {
	border-radius: 0.5rem;
}

.footer-fb {
	border-radius: 0.5rem;
}

.footer-fb_lo {
	display: flex
	grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
	gap: 45px;
	margin-bottom: 40px;
}

.footer-lfloat {
	float: left;
	text-decoration: none;
}

.contact-details p {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #222;
	font-size: 16px !important;
}

.contact-details i {
	color: #fff;
	width: 22px;
	height: 22px;
	background: #186bcc;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	border-radius: 4px;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 2px solid #f3f4f6;
	color: #999 !important;
	font-size: 14px;
}

.footer-bottom p {
	text-align: center !important;
	color: #555;
	font-size: 14px !important;
}

/*MAIN ALL*/
#main {
	padding-top: 145px;
	padding-bottom: 0;
}

#index #main {
	padding: 0;
}

#topic_path {
	background: #fff;
	padding: 10px 0;
	border-radius: 0 0 10px 10px;
}

#topic_path ul {
	display: flex;
}

#topic_path ul li {
	list-style: none;
	font-size: 95%;
}

#main #content h2,
#main .title_h2 {
	font-size: 32px;
	font-family: "Playfair", serif;
	position: relative;
	margin-bottom: 30px;
	padding-top: 20px;
	color: #186bcc;
}

#main #content h2:before,
#main .title_h2:before {
	position: absolute;
	width: 100%;
	height: 3px;
	background: #186bcc;
	left: 0;
	bottom: 0;
	content: "";
}

.news_list {
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.news_list .item {
	display: flex;
	flex-direction: column;
	width: calc(33.333333% - 20px); /* 3 cột */
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.related-posts .news_list .item {
	width: calc(25% - 20px); /* 4 cột */
}

.related-posts {
	padding-bottom: 40px;
}

.related-posts h3.title_h3 {
	font-size: 28px;
	font-family: "Playfair", serif;
	position: relative;
	margin-bottom: 20px;
	margin-top: 20px;
	color: #186bcc;
}

.news_list .item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news_list .item a.thumb {
	display: block;
	width: 100%;
	overflow: hidden;
	height: 200px; /* Chiều cao cố định */
	border-radius: 10px;
}

.related-posts .news_list .item a.thumb {
	height: 150px;
}

.news_list .item a.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Cắt ảnh để vừa khung, không méo */
	display: block;
	transition: transform 0.3s ease;
	border-radius: 10px;
}

.news_list .item:hover a.thumb img {
	transform: scale(1.05);
}

.news_list {
	padding-bottom: 40px;
}

.news_list .item {
	padding: 15px;
	position: relative;
}

.news_list .item .date {
	font-size: 13px;
	color: #888;
	margin: 10px 0 0;
	display: block;
}

.news_list .item .excerpt {
	color: #888;
	margin-top: 5px;
	position: relative;
	padding-bottom: 40px;
	text-align:justify;
}

.read-more-btn {
	position: absolute;
	bottom: 15px;
	right: 0;
	left: 0;
	margin: 0 auto;
	display: inline-block;
	padding: 3px 15px;
	background-color: #186bcc;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	border-radius: 50px;
	transition: background-color 0.3s ease, transform 0.2s ease;
	font-family: "Playfair", serif;
	max-width: 100px;
    text-transform: uppercase;
}

.read-more-btn:hover {
	background-color: #005d8f;
	transform: translateY(-2px);
}

.read-more-btn:active {
	transform: translateY(0);
}

.news_list .item a.title {
	font-size: 22px;
	font-weight: 600;
	color: #1b1a48;
	text-decoration: none;
	margin: 0px;
	line-height: 1.4;
	transition: color 0.2s ease;
	font-family: "Playfair", serif;
}

.news_list .item a.title:hover {
	color: #0073aa;
}

.page-thumbnail {
	text-align: center;
}

.page-thumbnail img {
	max-width: 100%;
	height: auto;
}

.back-to-top {
	text-align: center;
}

.aligncenter {
	margin: 15px auto;
	display: block;
}

#main #content h3 {
	font-size: 22px;
	font-family: "Playfair", serif;
	position: relative;
	margin-bottom: 5px;
	padding-top: 5px;
	color: #186bcc;
}

.ban-giam-hieu {
	max-width: 900px;
	margin: auto;
	font-family: sans-serif;
}

.ban-giam-hieu h2 {
	text-align: center;
	margin-bottom: 60px !important;
}

.member {
	display: flex;
	align-items: flex-start;
	margin-bottom: 40px;
	gap: 30px;
	background-image: url(http://phanvantri.24hexp.com.vn/wp-content/uploads/2025/08/nen-thong-diep.png);
	padding: 20px;
}

.member.reverse {
	flex-direction: row-reverse;
}

.member-image {
	flex: 0 0 200px;
	aspect-ratio: 3/4;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: #333;
	border-radius: 8px;
}

.member-content {
	flex: 1;
}

.member-content .quote {
	font-style: italic;
	color: #555;
	position: relative;
	font-family: "Playfair", serif;
	padding-left: 25px;
	font-size: 20px;
	text-indent: 0 !important;
	font-size: 20px !important;
}

.member-content .quote::before {
	content: "“";
	font-size: 30px;
	position: absolute;
	left: 0;
	top: -5px;
	color: #bbb;
}

.member-content h3 {
	margin: 10px 0 5px;
	margin-bottom: 20px !important;
}

.member-content .role {
	display: block;
	font-size: 16px;
	color: #0073aa;
}

.member-content p {
	text-indent: 0 !important;
}

.form_dangky .d-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	max-width: 650px;
	margin: 0 auto;
}

.form_dangky .d-flex .item {
	width: 32%;
	margin-bottom: 2%;
}

.form_dangky .d-flex .button_dangky,
.form_dangky .d-flex .item.ghichu {
	width: 100%;
}

.form_dangky .d-flex .item textarea,
.form_dangky .d-flex .item input {
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	width: 100%;
	font-family: "Playfair", serif;
	font-size: 18px;
}

.form_dangky .d-flex .button_dangky input {
	width: 100%;
	padding: 12px 20px;
	font-family: "Playfair", serif;
	font-size: 22px;
	background: #186bcc;
	border: none;
	border-radius: 4px;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}

.news-grid .news-content a strong {
	font-weight: normal;
	color: #666;
}

/* Vùng phân trang */
.wp-pagenavi {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 20px 0;
	font-family: Arial, sans-serif;
}

/* Link số trang */
.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
}

/* Trang hiện tại */
.wp-pagenavi span.current {
	background: #0073aa;
	color: #fff;
	border-color: #0073aa;
	font-weight: bold;
}

/* Hover */
.wp-pagenavi a:hover {
	background: #0073aa;
	color: #fff;
	border-color: #0073aa;
}

/* Nút prev / next */
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	font-weight: bold;
}

/*album ảnh*/
.flex-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	margin: 20px auto;
	max-width: 1200px;
}

.flex-gallery p {
	text-indent: 0 !important;
}

.flex-gallery p a {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.flex-gallery p a:before {
	background: rgb(0, 0, 0, .5);
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	right: 0;
	content: "";
	border-radius: 8px;
	transition: all 0.3s ease;
}

.flex-gallery a:hover .zoom-icon{
	opacity: 0;
}

.flex-gallery img {
	width: 360px;       /* cùng chiều rộng */
	height: 220px;      /* chiều cao cố định */
	object-fit: cover;  /* cắt vừa khung, không méo ảnh */
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	margin: 0;
}

.flex-gallery a:hover img {
	transform: scale(1.05);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.fancybox-image {
	position: relative;
	display: inline-block;
}

.zoom-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 32px;
	color: white;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.fancybox-image:hover .zoom-icon {
	opacity: 1;
}

/* Responsive */
@media (max-width:1024px) {
	.news_list li {
		width: calc(33.333% - 20px); /* 3 cột */
	}

}

@media (max-width:768px) {
	.news_list li {
		width: calc(50% - 20px); /* 2 cột */
	}

}

@media (max-width:480px) {
	.news_list li {
		width: 100%; /* 1 cột */
	}

}

/* Responsive Design */
@media (max-width:768px) {
	.header-top {
		flex-direction: column;
		gap: 15px;
	}

	.school-title h1 {
		font-size: 1.5rem;
	}

	.nav-menu {
		flex-direction: column;
		gap: 0;
	}

	.nav-menu > li {
		border-bottom: 2px outset #eee;
	}

	.dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: #f8f9fa;
	}

	.hero-slider {
		height: 400px;
	}

	.slide-content h2 {
		font-size: 2rem;
	}

	.slide-content p {
		font-size: 1.1rem;
	}

	.slider-controls {
		padding: 0 15px;
	}

	.slider-btn {
		width: 40px;
		height: 40px;
	}

	section h2 {
		font-size: 2rem;
	}

	.goals {
		grid-template-columns: 1fr;
	}

	.admission-grid {
		grid-template-columns: 1fr;
	}

	.news-card.featured {
		grid-column: span 1;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-form input {
		min-width: auto;
	}

	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

}

@media (max-width:480px) {
	.container {
		padding: 0 15px;
	}

	.school-title h1 {
		font-size: 1.3rem;
	}

	.hero-slider {
		height: 300px;
		margin-top: 100px;
	}

	.slide-content h2 {
		font-size: 1.5rem;
	}

	.slide-content p {
		font-size: 1rem;
	}

	.slider-controls {
		padding: 0 10px;
	}

	.slider-btn {
		width: 35px;
		height: 35px;
	}

	section {
		padding: 60px 0;
	}

	.goal-item {
		padding: 20px;
	}

	.testimonial {
		padding: 25px;
	}

	.admission-buttons {
		flex-direction: column;
	}

}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

.goal-item,
.admission-card,
.news-card,
.partner-logo {
	animation: fadeInUp 0.6s ease forwards;
}

.goal-item:nth-child(1) {
	animation-delay: 0.1s;
}

.goal-item:nth-child(2) {
	animation-delay: 0.2s;
}

.goal-item:nth-child(3) {
	animation-delay: 0.3s;
}

.goal-item:nth-child(4) {
	animation-delay: 0.4s;
}

.goal-item:nth-child(5) {
	animation-delay: 0.5s;
}

.goal-item:nth-child(6) {
	animation-delay: 0.6s;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Loading animation */
.loading {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}

.loading.loaded {
	opacity: 1;
	transform: translateY(0);
}