/*
Theme Name:		 gpc-gp
Theme URI:		 http://childtheme-generator.com/
Description:	 gpc-gp is a child theme of GeneratePress, created by ChildTheme-Generator.com
Author:			 gpc
Author URI:		 http://childtheme-generator.com/
Template:		 generatepress
Version:		 1.0.0
Text Domain:	 gpc-gp
*/


/*
    Add your custom styles here
*/

.wp-block-image {
    margin-bottom: 16px;
}

img[class^="gb-media-"] {
    display: block;
}

.wp-block-list.is-style-list-plain {
    margin-left: 0;
    list-style: none;
}

/*=============================================
=            Header            =
=============================================*/

/*=============================================
=            Footer            =
=============================================*/
#footer p {
    margin-bottom: 5px;
    font-size: 16px;
	color: #fff;
}

/* @media (min-width: 993px) {
    #footer .footer-right {
        padding-left: 20px;
        position: relative;
    }

    #footer .footer-right:before {
        display: block;
        content: '';
        position: absolute;
        background-color: #272727;
        width: 1px;
        height: calc(100% + 28px);
        left: 0;
        top: -28px;
    }
} */

/*=============================================
=            Home            =
=============================================*/
.gpc-team-member-box {
	font-size: 15px;
	h3 {
		font-size: 20px;
		margin-bottom: 8px;
	}
	h4 {
		color: #337588;
		margin-bottom: 0;
	}
	p {
		margin: 6px;
		text-align: justify;
		color: #606266
	}
}

/*=============================================
=            Khác            =
=============================================*/
.single-post .dynamic-entry-content
{
	text-align: justify;
}
.banner_content_home {
	right: 5%;  
  	bottom: 10%; 
  	background: #0038bc8c;
  	color: #fff; 
  	padding: 20px;
 	border-radius: 8px;
  	border: 1px solid rgba(255, 255, 255, 0.5);
  	max-width: 40%;
}
.banner_content_home .gb-text{
	color: white;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
.banner_content_home {
  	max-width: 70%;
	padding: 10px;
}
.banner_content_home .gb-text {
		font-size: 12px;
		margin-bottom: 5px;
	}
}
img {
pointer-events: none;
}

.heading-limit-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* 👈 Giới hạn 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-element-e29700ce {
  position: relative;
  overflow: hidden;
}

.gb-element-e29700ce img {
  width: 100%;
  height: auto;
  display: block;
}

/* OVERLAY TRẮNG BÊN TRÁI */
.gb-element-e29700ce::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 70%;                 /* độ rộng overlay bên trái */
  background: linear-gradient(
    to right,
    rgba(255,255,255) 0%,
    rgba(255,255,255,0) 70%
  );
  z-index: 2;
  pointer-events: none;
}
.title_link a {
	color: #fff;
}

.box_content_dich_vu .wp-block-list{
	margin: 0 0 5px 20px;
}
/*giới thiệu */

@media(min-width: 768px){
	.timeline-col {
	  position: relative;
	}

	.timeline-col::after {
	  content: '';
	  position: absolute;
	  top: 40%;
	  left: 50%;
	  transform: translateY(-50%);
	  width: 100%;
	  height: 2px;
	  background: #0b4dd9;
	  z-index: 0;
	}

	.timeline-col .timeline-icon {
	  position: relative;
		z-index: 1;
	}

	.timeline-col:last-child::after {
	  width: 100px;
	}

	.timeline-col:last-child::before {
	  content: '';
	  position: absolute;
	  top: 40%;
	  left: calc(50% + 100px);
	  transform: translateY(-50%);

	  width: 0;
	  height: 0;
	  border-top: 6px solid transparent;
	  border-bottom: 6px solid transparent;
	  border-left: 8px solid #0b4dd9;
	}
}

.site-footer .gb-text a { color: #fff !important; }
.wp-block-search__button{
	background-color: transparent !important;
	padding: 0 !important;
	align-items: center;
}
.wp-block-search__button svg {
	height: 30px;
	width: 30px;
}

.menu_header .gb-text a:hover,
.menu_header .gb-text a:active{
	color: var(--global-color-8) !important;
}

/* GỠ KHÓA HEADER HOOK */
header,
.site-header,
.inside-header,
.gb-element,
.gb-container {
  overflow: visible !important;
  transform: none !important;
}

#menu-main-menu .gb-menu-link:hover,
#menu-main-menu .current_page_item > .gb-menu-link {
    color: var(--global-color-8) !important;
}
.grid-card-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
}
.grid-card-info .section-img{
	background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    justify-content: center;
    justify-items: center;
}
.grid-card-info .section-img img{
	width: 300px;
    margin-top: -25%;
}

.grid-card-info .section-info .title-name{
	font-size: 30px;
    font-weight: 600;
}
.grid-card-info .section-info .title-chuyen-mon{
    font-weight: 500;
}
@media (max-width: 768px){
	.grid-card-info {
		display: flex;
    	flex-direction: column;
    	gap: 20px;
	}
	.grid-card-info .section-img{
		margin-top: 50px;
	}
}

.menu_header {
    position: sticky;
	top: 0;
    z-index: 999;
    background: #fff; 
}
.admin-bar .menu_header {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar .menu_header {
        top: 0;
    }
}

.page-numbers.current{
	padding: 10px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
	margin-right: 4px;
}
.page-numbers{
	padding: 10px;
    background: #f2f2f2;
    border-radius: 10px;
    margin-right: 4px;
}
.page-numbers:hover{
     background: var(--accent);
	 color: #fff;
}

.single-post blockquote p 
{
	font-size: 15px;
	line-height: 20px;
}

.single-post h1
{
	font-size: 28px;
	line-height: 36px;
}

.single-post h2
{
    font-size: 24px;
	line-height: 32px;
}

.single-post h3
{
    font-size: 20px;
	line-height: 28px;
}

.single-post ul.gbp-list--unstyled li article img
{
	width: 366px;
	height: 204px;
}

.post-views { margin-bottom: 15px; }

.gallery-image .swiper-container-outer {
  filter: grayscale(100%);
  transition: filter 0.3s ease; /* Smooth transition effect */
}

.gallery-image .swiper-container-outer:hover {
  filter: grayscale(0%);
}

.single-post blockquote
{
	border-left: 4px solid #f1a327;
	margin-left: 10px;
	background: #FFFDE7;
	border-top: 1px solid #f1a327;
	border-right: 1px solid #f1a327;
	border-bottom: 1px solid #f1a327;
	padding-right: 15px;
	margin-right: 15px;
	text-align: justify;
	font-style: italic;
}
.page .entry-header {
      display: none;
}
