/**
Theme Name: gpc-child-theme
Author: GPC
Text Domain: gpc-child-theme
Template: kadence
*/

:root {
    --color-text: var(--global-palette4);
}

/*=============================================
=            Header            =
=============================================*/
/*#region */

.site-main-header-wrap {
    box-shadow: 0px 4px 5px rgba(39, 70, 248, 0.15);
}

/* Menu */
#primary-menu .kadence-menu-mega-enabled > .sub-menu {
    min-width: max-content;
    padding: 30px;
    border-radius: 4px;
}

#primary-menu .kadence-menu-mega-enabled > .sub-menu .menu-item > a {
    padding: 0;
    font-weight: normal;
}

#primary-menu .kadence-menu-mega-enabled > .sub-menu > .menu-item > a {
    position: relative;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: .5rem;
    padding-bottom: .5rem;
}

#primary-menu .kadence-menu-mega-enabled > .sub-menu > .menu-item > a:after {
    position: absolute;
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    bottom: 0;
    left: 0;
    background: #1d2023;
}

#primary-menu .kadence-menu-mega-enabled > .sub-menu .sub-menu > .menu-item + .menu-item {
    margin-top: .5rem;
}

/*#endregion*/

/*=============================================
=            Footer            =
=============================================*/
/*#region */

.wp-classic-menu-block>.menu li {
    display: block;
}

#footer h4.wp-block-heading {
    font-size: 16px;
    margin-bottom: 8px;
}

#footer .menu-item a {
    color: var(--color-text);
    font-size: 15px;
}

/*#endregion*/

/*=============================================
=            Homepage            =
=============================================*/

/*---------- Section title ---------- */
.wp-block-kadence-advancedheading.is-style-section-title,
.wp-block-kadence-advancedheading.is-style-section-title-border-left {
    font-size: 48px;
    font-weight: 700;
    color: var(--global-palette4);
    position: relative;
    line-height: 1.1;
}

.wp-block-kadence-advancedheading.is-style-section-title-border-left::after {
    left: 0;
    transform: translateX(0);
}

/*=============================================
=            Blog            =
=============================================*/
.grid-cols.post-archive {
    column-gap: 1.5rem;
    row-gap: 1.5rem;
}

.loop-entry.type-post .entry-taxonomies,
.loop-entry.type-post .entry-taxonomies a {
    font-weight: normal;
    color: #475569;
    font-size: 12px;
}

/*=============================================
=            Single post            =
=============================================*/
.entry-related-inner-content.alignwide {
    padding: 3rem 1rem;
}
.entry-related-carousel h3.entry-title {
    font-size: 18px;
}
.entry-related-carousel .loop-entry .entry-content-wrap {
    padding: 10px 0;
}


/*=============================================
=            Widget            =
=============================================*/
/*#region */

.has-sidebar .content-container {
    grid-gap: 2rem;
}

.primary-sidebar .widget {
    background: #f5f9ff;
    padding: 1.5rem;
    border-radius: 4px;
}

.primary-sidebar .widget-title {
    margin-bottom: 40px;
    font-size: 24px;
    position: relative;
}

.primary-sidebar .widget-title:before {
    position: absolute;
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    bottom: -16px;
    border-radius: 2px;
    background: #00AD50
}

.primary-sidebar.widget-area ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*---------- Popular posts ---------- */
.wpp-list li {
    line-height: 1.5;
}

/*---------- categories ---------- */
.wp-block-categories-list li:before {
    content: "\203A";
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
}

/*---------- images ---------- */
.primary-sidebar .widget.widget_media_image {
    padding: 0;
}
/*#endregion*/


/* header */

#main-header .button-header{
    color: white;
    background-color: var(--global-palette1);
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 15px !important;
    font-weight: 600;
    border-radius: 10px;
}
#main-header .button-header:hover{
    background-color: var(--global-palette2);
}

/* home*/
/* home about */
/* SECTION BLOB */
.blob-section {
	margin-left: auto;
    margin-right: 0;
    position: relative;
	width: 40%;
	height: 150px;
	padding: 30px;
    overflow: visible;
	margin-bottom : -32%;
}

/* SVG BLOB BACKGROUND */
.blob-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 147' preserveAspectRatio='none'%3E%3Cpath fill='%23002169' d='M86.9529 0.644859C118.111 -1.54344 139.193 26.5991 152.229 55.1913C163.382 79.6537 163.56 108.547 144.918 127.782C125.437 147.883 95.8226 150.96 70.1167 139.916C35.8367 125.188 -3.77156 103.028 0.725109 65.8316C5.52803 26.1015 47.2712 3.43176 86.9529 0.644859Z'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
    z-index: 0;
}

/* ĐẢM BẢO NỘI DUNG NẰM TRÊN BLOB */
.blob-section > .kt-inside-inner-col {
    position: relative;
    z-index: 2;
    text-align: center;
}
.blob-section .wp-block-kadence-advancedheading{
	color: #fff;
	font-weight: 600 !important;
}
.blob-section .wp-block-kadence-single-icon{
	margin-bottom: -100px !important;
}

/* home experience */
.experience__box {
    position: relative;
    padding: 25px;
    text-align: center;
    color: #002169;
	margin: 0 !important;
}
.experience__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 126 118' preserveAspectRatio='none'%3E%3Cpath fill='%23EE5A2A' d='M1.59541 38.3554C-4.4184 17.6207 13.0083 -2.4148 34.5612 0.454689L58.5153 3.64389C61.1751 3.998 63.8707 3.998 66.5304 3.64389L91.8365 0.274701C113.035 -2.54759 130.366 16.83 125.022 37.3781L120.935 53.0905C119.831 57.3353 119.681 61.769 120.496 66.0776L123.582 82.3855C127.435 102.749 109.75 120.734 89.1371 117.414L64.5688 113.456C60.8828 112.863 57.1177 112.954 53.4653 113.725L36.4442 117.321C13.894 122.084 -5.47438 100.981 1.41104 79.1494L4.96817 67.8708C6.73094 62.2816 6.80047 56.3018 5.16813 50.6737L1.59541 38.3554Z'/%3E%3C/svg%3E")
no-repeat center / 100% 100%;

    z-index: 0;
}
.experience__box > * {
    position: relative;
    z-index: 1;
}
.experience__box .title{
	font-size: 64px;
    margin: 0;
    line-height: 0.8;
    display: flex;
    color: #fff;
}

.experience__box .title span{
	font-size: 18px;
    padding-left: 10px;
}
.experience__box  span{
	color: #fff;
}

.section_marquee_content {
    background-color: var(--global-palette2);
    display: flex;
}

.section_marquee_content .kt-inside-inner-col {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    overflow: hidden;
    white-space: nowrap;
    gap: 15px;
    user-select: none;
    padding: 25px 0;
}

.section_marquee_content .wp-block-group {
    flex-shrink: 0;
    min-width: 100%;
    gap: 20px;
    display: flex;
    justify-content: space-around;
    animation: marquee 30s infinite linear;
}

.section_marquee_content .kt-inside-inner-col h4 {
    font-size: 25px !important;
    white-space: nowrap;
    flex-shrink: 0;
    color: #fff;
	font-weight: 300 !important;
}
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}
/* infobox bác sĩ */
.info_doctor .shape-two{
	text-align: right;
    margin-bottom: -45px;
    color: #F06F45;
}
.info_doctor img {
	outline: 2px dashed #EE5A2A;
    padding: 10px;
}
.info_doctor .kadence-info-box-image-inner-intrisic {
	margin: 10px;
}

/* testimonial */

.blob-section.sec-testimonial {
	margin-left: 0;
	width: 30%;
	height: 120px;
	padding: 15px;
	margin-bottom: -25%;
}

/* dịch vụ */
.sec-info-dich-vu .kt-inside-inner-col {
  display: flex !important;
}
.sec-info-dich-vu .wp-block-kadence-icon {
  z-index: 1;
}

/* siderbar */
.primary-sidebar .widget {
	background-color: #fff;
}
.primary-sidebar .entry-title{
	font-size: 18px !important;
	line-height: 20px !important;
	padding: 0;
}
/* slider */
.slick-prev:before, .slick-next:before{
	color: #EE5A2A !important;
	font-size: 30px !important;
}
.slick-prev {
    left: -35px;
}
.slick-list{
	padding: 20px 0;
}
.float-order{
		display: none;
	}

@media(max-width: 768px) {
	.float-order{
		display: block !important;
		position: fixed;
        bottom: 10px;
        margin-left: 10px;
		z-index: 15;
	}
}