.ova-box-feature2 .info .title {
	max-width: max-content;
	width: auto;
}
.gpm_productcnc .elementor-posts .elementor-post__title {
  min-height: 50px!important;
}

.gpm_service .elementor-posts .elementor-post__title {
  min-height: 50px!important;
}

.gpm_service .elementor-posts .elementor-post__excerpt {
  min-height: 80px!important;
}

.elementor-posts .elementor-post__title {
	min-height: 80px;
}

.elementor-posts .elementor-post__excerpt {
	text-align: justify;
}

.elementor-posts .elementor-post__excerpt {
	min-height: 145px;
}

span.gpm-text-red{
  color: #e60023!important;
}

.post-title a {
  font-family: "ChakraPetchGpm", Sans-serif !important;
  line-height: 0.5;
}

.mt-60-30{
  margin-top: 60px ;
}

.pl-10{
	padding-left: 10px;
}
.pr-10{
	padding-right: 10px;
}
/* Begin Quick Form  */

.ova-ctfrom7 .quick-form {
	display: grid;
	justify-content: center;
	grid-template-columns: 100%;
	grid-gap: 5px;
}

.ova-ctfrom7 .quick-form input[type="text"]::placeholder, .ova-ctfrom7 .quick-form input[type="tel"]::placeholder, .ova-ctfrom7 .quick-form textarea::placeholder {
	font-family: inherit;
}

.ova-ctfrom7 .quick-form input[type="text"]:focus, .ova-ctfrom7 .quick-form input[type="tel"]:focus, .ova-ctfrom7 .quick-form textarea:focus {
	font-family: inherit;
	text-transform: none!important;
}

.ova-ctfrom7 .quick-form input[type="email"] {
	width: 100%;
}

.ova-ctfrom7 .quick-form input[type="tel"] {
	width: 100%;
}

.ova-ctfrom7 .quick-form input[type="text"] {
	width: 100%;
}

.post-title {
	line-height:0.75em;
}

/* End Quick Form  */

.ova-ctfrom7 .form2 input[type="text"]::placeholder, .ova-ctfrom7 .form2 input[type="tel"]::placeholder, .ova-ctfrom7 .form2 textarea::placeholder {
	font-family: inherit;
}

.ova-ctfrom7 .form2 input[type="text"]:focus, .ova-ctfrom7 .form2 input[type="tel"]:focus, .ova-ctfrom7 .form2 textarea:focus {
	font-family: inherit;
	text-transform: none!important;
}

.ova-ctfrom7 .form2 .source-info {
	grid-column-start: 1;
	grid-column-end: 3;
}

.ova-ctfrom7 .form2 input[type="email"] {
	width: 100%;
	padding: 17px 25px;
	outline: none;
	border-radius: 4px;
	background-color: #fff;
	border-color: #dedede;
	text-transform: none;
	font-family: inherit;
	font-size: 14px;
	color: #2f2f2f;
	font-weight: 500;
	line-height: 21px;
}

.ova-ctfrom7 .form2 input[type="email"]::placeholder {
	text-transform: none!important;
	color: #444;
	font-weight: 400;
	font-size: 16px;
}

.ova-ctfrom7 .form2 input[type="email"]:focus {
	font-family: inherit;
	border-color: #2f2f2f;
}

.ova-ctfrom7 .form2 input[type="text"] {
	text-transform: none!important;
	border-radius: 4px;
	font-family: inherit;
}

.ova-ctfrom7 .form2 input[type="tel"] {
	text-transform: none!important;
	border-radius: 4px;
	font-family: inherit;
}

.ova-ctfrom7 .form2 textarea {
	font-family: inherit;
	border-radius: 4px;
	text-transform: none;
}

.ova-ctfrom7 .form2 input[type="text"]::placeholder, .ova-ctfrom7 .form2 input[type="tel"]::placeholder, .ova-ctfrom7 .form2 textarea::placeholder {
	text-transform: none!important;
	color: #444;
	font-weight: 400;
	font-size: 16px;
}

.ova-ctfrom7 .form2 .ova-submit input[type="submit"] {
	width: 187px;
	padding: 17px 35px;
	border-radius: 4px;
	font-family: inherit;
	font-weight: 500;
	font-size: 14px;
	line-height: 21px;
	text-transform: uppercase;
	color: #fafafa;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	background-image: linear-gradient(90deg, var( --e-global-color-03c1ec2 ) 0%, var( --e-global-color-0e82fdc ) 100%);
}

.ova-ctfrom7 .form2 .ova-submit input[type="submit"]:hover {
	transition: all 0.3s ease;
	border-color: none!important;
	background-color: none!important;
	color: #fafafa!important;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

select:not([size]):not([multiple]) {
	padding: 17px 25px;
}

/*Tablet We Custome CSS*/

@media screen and (max-width: 1023px) {
	.ova-box-feature {
		padding: 25px 10px 25px 10px;
		min-height: 510px;
	}
}

p {
	margin: 0 0 0.5em !important;
}

dl, ol {
	margin-bottom: 0.5em!important;
}

a {
	text-decoration: none!important;
}

h2.wp-block-heading {
	font-family: inherit;
	color: var(--e-global-color-primary);
	font-size: 30px !important;
}

h3.wp-block-heading {
	font-family: inherit;
	font-size: 22px !important;
}


/*Single Post*/

#gallery-1 img {
	border: 0!important;
}

#gallery-1 .gallery-item {
	margin-top: 0px!important; 
}

article.post-wrap .post-media {
	text-align: center;
}

.post-media img.img-responsive.wp-post-image {
	width: 100%;
	height: 100%;
	align-items: center;
}


.wp-block-image img {
    margin: 5px 0 18px 0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

/* Sản phẩm */

.why-choose-us .item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}

.why-choose-us .icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background: #e60023;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-us .icon i {
  color: #fff;
  font-size: 18px;
}

/* 🔥 QUAN TRỌNG: thêm wrapper cho text */
.why-choose-us .content {
  flex: 1;
}

/* Fix lỗi xuống dòng từng chữ */
.why-choose-us h3 {
  font-size: 16px!important;
  font-weight: 600;
  margin: 0 0 5px;
  color: #111;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.why-choose-us p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.why-choose-us .item:hover .icon {
  background: #c4001d;
  transform: translateY(-2px);
  transition: 0.3s;
}

.why-choose-us .item:hover h3 {
  color: #e60023;
}

.productcnc-main h2 {
    color: var(--e-global-color-primary);
}

.productcnc-container {
	font-family: inherit!important;
}

.productcnc-main {
	text-align: justify;
}

.productcnc-main p {
    line-height: 2rem!important;
}

.productcnc-image {
	margin-bottom: 10px;
}

.productcnc-info {
	text-align: justify;
}

.productcnc-info span {
    font-size: 22px;
    font-family: inherit;
    color: #ff3f40;
    margin-top: 0.5rem;
    font-weight: bold;
}

.productcnc-info {
    display: flex;
    align-items: center; /* canh giữa theo chiều dọc */
    gap: 8px; /* khoảng cách giữa "Giá:" và "Liên hệ" */
}

.productcnc-excerpt {
    text-align: justify;
}

.productcnc-contact {
    margin-top: 2rem;
}

.productcnc-note {
    font-size: 14px;
    color: var( --e-global-color-primary);
    font-style: italic;
}

.btn-hotline {
    background-color: var( --e-global-color-primary);
    color: #fff!important;
    font-size: 18px;
    padding: 13px 20px;
    border-radius: 7px;
    border: 2px solid var( --e-global-color-primary);
    margin-right: 0.5rem;
}

.btn-zalo {
    padding: 13px 20px;
    color: #000;
    border-radius: 7px;
    border: 2px solid var( --e-global-color-primary);
    font-size: 18px;
}

.btn-zalo:hover {
    background-color: var( --e-global-color-primary);
    color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.btn-hotline:hover {
    background-color: #0B1544;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.productcnc-category-box {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.productcnc-category-box .title {
    background-color: #0B1544;
    color: #fff;
    padding: 12px 15px;
    margin: 0;
    font-size: 18px;
}

.productcnc-title h1.post-title {
    font-size: 28px !important;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 10px 15px;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.category-list li a i {
    color: #0B1544;
    font-size: 13px;
}

/* hover */
.category-list li a:hover {
    color: #0B1544;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    border: 1px solid #eee;
    padding: 10px;
    transition: 0.3s;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-title {
    font-size: 16px;
    margin-top: 10px;
}


/* Chi tiết khóa hoc */
.service-container {
	font-family: inherit!important;
}

.service-sidebar h3 {
	font-size: 20px!important;
	color: var(--e-global-color-primary);
	border-bottom: 2px solid #013049; /* gạch chân nổi bật */
}

.service-main {
	text-align: justify;
}

.service-main h2 {
	font-size: 30px;
  color: var(--e-global-color-primary);
}

.service-main h3 {
	font-size: 25px;
}

.service-sidebar-actions {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.service-sidebar-actions a {
	text-align: left;
	padding: 12px 15px;
	border-radius: 6px;
	font-weight: 500;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.3s ease;
}

.post-content h2 {
	font-size: 30px!important;
  color: var( --e-global-color-primary);
}
.post-content h3 {
	font-size: 25px!important;
}

.post-content p {
  line-height: 2em;
}

input.e-search-input {
  min-height: 48px !important;
  height: 48px !important;
}

button.e-search-submit {
  min-height: 48px;
  height: 48px;
}

/*Button Archive*/

.archive-title {
  padding: 0px 10px;
}

.productcnc-main h2 {
  font-size: 30px!important;
}

.productcnc-main h3 {
  font-size: 25px!important;
}

.btn-archive {
    background-color: var( --e-global-color-0e82fdc );
    color: #fff!important;
}

.box-btn-archive {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.box-btn-archive a {     
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease; 
}

.productcnc_post-related-article {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition-property: background,border,-webkit-box-shadow;
    transition-property: background,border,-webkit-box-shadow;
    -o-transition-property: background,border,box-shadow;
    transition-property: background,border,box-shadow;
    transition-property: background,border,box-shadow,-webkit-box-shadow;
    -webkit-transition-duration: .25s;
    -o-transition-duration: .25s;
    transition-duration: .25s;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 5px 5px;
}
/*.productcnc_post_related-brand {
    background-color: #120551;
    margin: 20px 35px 20px 20px;
    right: 0;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    color: #fff;
    font-size: 12px;
    padding: .6em 1.2em;
    line-height: 1;
    font-weight: 400;
    border-radius: 999px;
}*/
.productcnc_post_related-text {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 15px;
    width: 100%;
    display: var(--item-display,block);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.productcnc_post_related-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    min-height: 60px;
    line-height: 0.75em;
}
.productcnc_post_related-title a {
    color: var( --e-global-color-primary)!important;
    font-size: 16px!important;
    font-family: "ChakraPetchGpm", Sans-serif !important;
}
.productcnc_post_related-excerpt {
    margin-bottom: 14px;
    line-height: 1.5;
    min-height: 80px;
}
.productcnc_post_related-excerpt p {
    color: #000;
    font-family: "InterGpm", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5em;
    text-align: justify;
}
.productcnc-post_related-thumbnail-link {
    margin-bottom: 10px;
    position: relative;
    display: block;
    width: 100%;
}
.productcnc-post_related-thumbnail-img {
    position: relative;
    -webkit-transform-style: preserve-3d;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.productcnc-post_related-read-more {
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    color: var( --e-global-color-primary );
    margin-bottom: 10px;
    display: inline-block;
}
.productcnc-post_related_heading {
    color: var(--e-global-color-primary);
    text-align: center;
    font-weight: 700;
    font-size: 30px!important;
    padding: 20px;
}

.gpm-product-header {
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 3 sản phẩm */
    gap: 20px;
}
/* Begin flip box*/

/* ===== CONTAINER ===== */
.flip-box {
  width: 100%;
  max-width: 450px;
  height: 300px;
  perspective: 1200px;
  margin-bottom: 20px;
}

/* ===== INNER ===== */
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;

  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;

  transition: transform 0.8s cubic-bezier(.4,2,.3,1);
}

/* hover flip */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* ===== FRONT + BACK ===== */
.flip-box-front,
.flip-box-back {
    position: absolute;
    inset: 0;

    border-radius: 6px;
    overflow: hidden;
    background: transparent;

    /* QUAN TRỌNG NHẤT */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    /*  FIX BUG lộn ngược */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* FRONT giữ nguyên */
.flip-box-front {
  transform: rotateY(0deg) translateZ(0);
}

/* BACK xoay sẵn */
.flip-box-back {
  transform: rotateY(180deg) translateZ(0);
}


/* ===== BACKGROUND ===== */
.bg-flip {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;

  transition: transform 0.8s ease;

  /* shadow giúp nổi chữ */
  box-shadow: inset 0 -100px 140px rgba(0,0,0,0.45);

  /* fix render */
  transform: translateZ(0);
}
.bg-flip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.2) 40%,
    transparent 70%
  );
}

/* zoom nhẹ */
.flip-box:hover .bg-flip {
  transform: scale(1.08) translateZ(0);
}

/* ===== CONTENT ===== */
.content-flip {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;

  color: #fff;
  z-index: 2;

  /* KHÔNG dùng transform ở đây */
}

/* TEXT */
.content-flip h3 {
  font-size: 22px;
  margin-bottom: 10px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

.content-flip p {
  font-size: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* BUTTON */
.btn-flip {
  margin-top: 15px;
  padding: 10px 22px;

  background: #0B1544;
  color: #fff!important;

  border-radius: 30px;
  text-decoration: none;

  transition: all 0.3s ease;
}

.btn-flip:hover {
  background: #e60023;
}

/* ===== CARD EFFECT ===== */
.flip-box {
  transition: 0.3s;
}

.flip-box:hover {
  transform: translateY(-6px);
}
/*End Flip box*/

.layout_2l .prductcnc_grid, .layout_2r .prductcnc_grid {
  grid-template-columns: repeat(4, 1fr);
}

.prductcnc_grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(4, 1fr);
}

.service-main h2 {
  font-size: 30px!important;
}

.service-main h3 {
  font-size: 25px!important;
}

.service_post-related-article {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition-property: background,border,-webkit-box-shadow;
    transition-property: background,border,-webkit-box-shadow;
    -o-transition-property: background,border,box-shadow;
    transition-property: background,border,box-shadow;
    transition-property: background,border,box-shadow,-webkit-box-shadow;
    -webkit-transition-duration: .25s;
    -o-transition-duration: .25s;
    transition-duration: .25s;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 5px 5px;
}
/*.service_post_related-brand {
    background-color: #120551;
    margin: 20px 35px 20px 20px;
    right: 0;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    color: #fff;
    font-size: 12px;
    padding: .6em 1.2em;
    line-height: 1;
    font-weight: 400;
    border-radius: 999px;
}*/
.service_post_related-text {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 15px;
    width: 100%;
    display: var(--item-display,block);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.service_post_related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    min-height: 90px;
    line-height: 0.75em
}
.service_post_related-title a {
    color: var( --e-global-color-primary )!important;
    font-size: 18px!important;
}

.service_post_related-excerpt {
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 80px;
}
.service_post_related-excerpt p {
    color: #000;
    font-family: "InterGpm", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5em;
    text-align: justify;
}
.service-post_related-thumbnail-link {
    margin-bottom: 10px;
    position: relative;
    display: block;
    width: 100%;
}
.service-post_related-thumbnail-img {
    position: relative;
    -webkit-transform-style: preserve-3d;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.service-post_related-read-more {
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    color: var( --e-global-color-primary );
    margin-bottom: 10px;
    display: inline-block;
}
.service-post_related_heading {
    color: var(--e-global-color-primary);
    text-align: center;
    font-weight: 700;
    font-size: 30px!important;
    padding: 20px;
}

/*.bg-light_blue {
    background-color: var(--e-global-color-db8b9b8);
}*/

.related_post-related-article {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition-property: background,border,-webkit-box-shadow;
    transition-property: background,border,-webkit-box-shadow;
    -o-transition-property: background,border,box-shadow;
    transition-property: background,border,box-shadow;
    transition-property: background,border,box-shadow,-webkit-box-shadow;
    -webkit-transition-duration: .25s;
    -o-transition-duration: .25s;
    transition-duration: .25s;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 5px 5px;
}
/*.related_post_related-brand {
    background-color: #120551;
    margin: 20px 35px 20px 20px;
    right: 0;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    color: #fff;
    font-size: 12px;
    padding: .6em 1.2em;
    line-height: 1;
    font-weight: 400;
    border-radius: 999px;
}*/
.related_post_related-text {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 15px;
    width: 100%;
    display: var(--item-display,block);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.related_post_related-title {
    font-weight: 700;
    margin-bottom: 5px;
    min-height: 85px;
    line-height: 0.75em;
}
.related_post_related-title a {
    color: var( --e-global-color-primary )!important;
    font-size: 18px!important;
}
.related_post_related-excerpt {
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 80px;
}
.related_post_related-excerpt p {
    color: #000;
    font-family: "InterGpm", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5em;
    text-align: justify;
}
.related-post_related-thumbnail-link {
    margin-bottom: 10px;
    position: relative;
    display: block;
    width: 100%;
}
.related-post_related-thumbnail-img {
    position: relative;
    -webkit-transform-style: preserve-3d;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.related-post_related-read-more {
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    color: var( --e-global-color-primary );
    margin-bottom: 10px;
    display: inline-block;
}
.related-post_related_heading {
    color: var(--e-global-color-primary);
    text-align: center;
    font-weight: 700;
    font-size: 30px!important;
    padding: 20px;
}

.service-sidebar.sticky-productcnc-service {
    position: fixed;
    z-index: 1;
    transform: translateY(50px);
    top: 5rem;
    width: 360px;
}

@media only screen and (min-width: 992px) and (max-width: 1280px) {
    .top-flag {
        margin: .25rem!important;
        width: 1.5rem!important;
    }
    .top-flag img {
        width: 100%!important;
    }
    .top-hotline a {
        padding: 10px!important;
    }
    .main-navigation ul.menu > li > a {
        padding: .25rem!important;
    }
}
@media only screen and (min-width: 1300px) and (max-width: 1680px) {
    .top-flag {
        margin: .25rem!important;
        width: 1.5rem!important;
    }
    .top-flag img {
        width: 100%!important;
    }
    .top-hotline a {
        padding: 10px!important;
    }
    .main-navigation ul.menu > li > a {
        padding: .5rem!important;
    }
}