/*
	Theme Name: Ebook
	Description: Themes hỗ trợ Genesis Theme v2.7.3 and Wordpress v5.0 trở lên
	Template: genesis
*/

/* Defaults
------------------------------------------------------------ */
body {
  overflow-x: hidden !important;
}

html {
  scroll-behavior: smooth;
}

/* Reset cơ bản */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
  color: #333;
  /* font-family: "Inter", sans-serif; */
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.618;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

blockquote,
input,
select,
textarea,
.author-box,
.sticky,
.taxonomy-description {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
}

input,
label,
select,
textarea {
  color: #333;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
}

li,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol li {
  list-style-type: decimal;
}

strong,
b {
  font-weight: 700;
}

/* Hyperlinks
------------------------------------------------------------ */

a,
a:visited {
  /* color: #356df1; */
  color: #1e1e1e;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a img {
  border: none;
}

/* Body
------------------------------------------------------------ */

body {
  background-color: #fff;
}

::-moz-selection {
  background-color: #356df1;
  color: #fff;
}

::selection {
  background-color: #356df1;
  color: #fff;
}

/* Wrap
------------------------------------------------------------ */

.site-container {
  margin: 0 auto;
  width: 100%;
  padding: 0;
   overflow-x: hidden !important;
}

.wrap {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0;
}

/* Header
------------------------------------------------------------ */

.site-header {
  margin: 0px auto 0;
  height: 70px;
  width: 100%;
  background-color: #fff;
  position: fixed;
  top: 0;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  z-index: 9;
  float: left;
}

.site-title .wrap {
  max-width: 1280px !important;
  margin: auto;
}

.site-header .textwidget p {
  position: absolute;
  top: 2px;
  right: -270px;
  cursor: pointer;
  background: #dd0000;
  color: #fff;
  height: 45px;
  display: table;
  line-height: 45px;
  padding: 0 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.title-area {
  float: left;
  overflow: hidden;
  padding: 0;
  width: 230px;
  margin-left: -37px;
  height: 80px;
  margin-top: 14px;
}

.site-title {
  font-family: "Inter", sans-serif;
  font-size: 36px;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
  float: left;
  width: 100%;
  height: 100%;
}

.site-title a,
.site-title a:hover {
  color: #333;
  padding: 0;
  text-decoration: none;
  float: left;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
  background: url(images/edume_1758708326240.png) no-repeat top center;
  background-size: 160px;
}

.site-description {
  font-size: 13px;
  padding: 0;
  display: none;
}

.site-header .widget-area {
  width: 1280px;
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  margin: auto;
}

.site-header .widget-area .code-shortcode_widget {
      position: absolute;
    right: 260px;
}
/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

.nav-primary {
  float: left;
  width: 100%;
  height: 50px;
  background: #333;
}

.menu-primary,
.menu-secondary,
.site-header .menu {
  clear: both;
  color: #333;
  font-size: 13px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

.menu-primary ul,
.menu-secondary ul,
.site-header .menu ul {
  float: left;
  width: 100%;
}

.menu-primary li,
.menu-secondary li,
.site-header .menu li {
  float: left;
  list-style-type: none;
}

.menu-secondary a,
.site-header .menu a {
  color: #356df1;
  display: block;
  padding: 8px 24px;
  position: relative;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.4s ease;
  border-radius: 8px;
}

.site-header .widget_text p {
    position: absolute;
    top: -22px;
    right: 70px;
    cursor: pointer;
    border-radius: 1000px !important;
    border: none !important;
    flex-basis: 0;
    padding: 16px 20px !important;
    display: inline-block;
    align-items: center;
    background: linear-gradient(90deg, #356df1, #c785ec) !important;
    
    font-size: 16px;
    line-height: 14px;
    box-shadow: inset 0 3px 2px 0 hsla(0, 0%, 100%, .2), inset 0 -3px 2px 0 rgba(0, 0, 0, .1);
}

.site-header .widget_text a {
  color: #fff !important;
}

.site-header .menu a span {
  text-transform: uppercase;
}

.menu-primary li a:active,
.menu-primary .current_page_item a,
.menu-primary .current-cat a,
.menu-primary .current-menu-item a,
.menu-secondary li a:active,
.menu-secondary .current_page_item a,
.menu-secondary .current-cat a,
.menu-secondary .current-menu-item a,
.site-header .menu li a:active,
.site-header .menu .current_page_item a,
.site-header .menu .current-cat a,
.site-header .menu .current-menu-item a {
  color: #c785ec;
  text-decoration: underline;
  text-decoration-color: #c785ec; 
  text-underline-offset: 6px;
}


/* .menu-primary li a:hover,
.menu-secondary li a:hover,
.site-header .menu li a:hover{
   color:#c785ec
} */

.menu-primary li li a,
.menu-primary li li a:link,
.menu-primary li li a:visited,
.menu-secondary li li a,
.menu-secondary li li a:link,
.menu-secondary li li a:visited,
.site-header .menu li li a,
.site-header .menu li li a:link,
.site-header .menu li li a:visited {
  background: none;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  color: #333;
  font-size: 16px;
  padding: 10px;
  position: relative;
  text-transform: none;
  width: 230px;
}

.menu-primary li li a:active,
.menu-primary li li a:hover,
.menu-secondary li li a:active,
.menu-secondary li li a:hover,
.site-header .menu li li a:active,
.site-header .menu li li a:hover {
  background-color: #356df1;
  color: #fff;
}

.menu-primary li ul,
.menu-secondary li ul,
.site-header .menu li ul {
  height: auto;
  left: -9999px;
  margin: 0 0 0 -1px;
  position: absolute;
  width: 160px;
  z-index: 9999;
  padding-top: 18px;
}

.menu-primary li ul a,
.menu-secondary li ul a,
.site-header .menu li ul a {
  width: 140px;
}

/* .menu-primary li ul ul,
.menu-secondary li ul ul,
.site-header .menu li ul ul {
    margin: -36px 0 0 159px;
} */

.menu-primary li ul ul,
.menu-secondary li ul ul,
.site-header .menu li ul ul {
  margin: -64px 0 0 232px;
}

.menu li:hover ul ul,
.menu li.sfHover ul ul {
  left: -9999px;
}

.menu li:hover,
.menu li.sfHover {
  position: static;
}

ul.menu li:hover > ul,
ul.menu li.sfHover ul,
.site-header .menu li:hover > ul,
.site-header .menu li.sfHover ul {
  left: auto;
}

.menu-primary li a.sf-with-ul,
.menu-secondary li a.sf-with-ul,
.site-header .menu li a.sf-with-ul {
  padding-right: 25px;
}

.menu li a .sf-sub-indicator,
.menu li li a .sf-sub-indicator,
.menu li li li a .sf-sub-indicator {
  background: url(images/icon-plus.png) no-repeat;
  height: 16px;
  position: absolute;
  right: 8px;
  text-indent: -9999px;
  top: 10px;
  width: 16px;
}

#wpadminbar li:hover ul ul {
  left: 0;
}

/* Inner
------------------------------------------------------------ */

.site-inner {
  margin: 0 auto;
  overflow: visible;
  padding: 120px 0 60px;
  width: 1280px;
  box-sizing: border-box;
}

/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb {
  float: left;
  width: 100%;
  /* background-color: rgb(229, 238, 246); */
  padding: 12px 0;
  font-size: 18px;
  margin: 90px auto auto;
  text-align: center;
   text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);

}

.breadcrumb .wrap {
  width: 1140px;
  color: #FFF;
  font-weight: 500;
}

.breadcrumb a {
  color: #333;
  font-size: 16px;
  font-weight: 400;
}

.breadcrumb .label {
  margin: 0 5px;
  font-weight: 400;
  color: #FFF;
}

.breadcrumb span {
  font-weight: 400;
  color: #FFF;
}



/* Content-Sidebar Wrap
------------------------------------------------------------ */

/* .content-sidebar-wrap {
	display: flex;
	justify-content: space-between;
	
} */
.content-sidebar-wrap {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  /* width: 800px !important; */
}

.content-sidebar .content-sidebar-wrap,
.full-width-content .content-sidebar-wrap,
.sidebar-content .content-sidebar-wrap {
  width: 100%;
}

.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
  float: right;
}

/* Content
------------------------------------------------------------ */

.content-sidebar .content,
.sidebar-content .content {
  width: 875px;
}

.sidebar-content .content,
.sidebar-sidebar-content .content {
  float: right;
  margin-left: 0;
  margin-right: 15px;
}

.full-width-content .content {
  width: 100%;
}

.page_blog .post {
  padding: 1rem 1rem 1.5rem;
  /* min-height: 100%;
    overflow: hidden;
    position: relative; */
  border-radius: 1.6rem;
  border: 0.1rem solid #f0f0f0;
  transition: 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.entry-content {
  overflow: hidden;
  text-align: justify;
}

.entry-content p {
  margin: 0 0 12px;
  text-align: justify;
}

blockquote {
  background: url(images/blockquote.png) no-repeat;
  border: none;
  margin: 5px 5px 20px;
  padding: 25px 30px 5px 70px;
}

blockquote p {
  color: #999;
  font-style: italic;
}

p.subscribe-to-comments {
  padding: 20px 0 10px;
}

.clear {
  clear: both;
}

.clear-line {
  border-bottom: 1px solid #ddd;
  clear: both;
  margin: 0 0 25px;
}

/* Headlines
------------------------------------------------------------ */

h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  line-height: 1.35;
  margin: 0 0 10px;
}

h1 {
  font-size: 18px;
}

.taxonomy-description h1 {
  margin: 0;
}

h2,
h2 a,
h2 a:visited {
  font-size: 16px;
}

h2 a,
h2 a:visited {
  color: #333;
  font-family: "Inter", sans-serif;
}

h2 a:hover {
  color: #356df1;
  text-decoration: none;
}

.widget-area h2,
.widget-area h2 a {
  font-size: 16px;
  margin: 0 0 5px;
}

h3 {
  font-size: 16px;
}

h4 {
  font-size: 16px;
}

.taxonomy-description h1,
.widget-area .widgettitle {
  font-size: 16px;
  color: #333;
}

.widget-area .widgettitle a {
  color: #333;
  text-decoration: none;
}

/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
  margin: 0;
  padding: 0 0 15px;
  text-align: justify;
}

.archive-page ul li,
.entry-content ul li {
  list-style-type: disc;
  margin: 0 0 0 30px;
  padding: 0;
  text-align: justify;
}

.entry-content ol li {
  margin: 0 0 0 35px;
}

.archive-page ul ul,
.entry-content ol ol,
.entry-content ul ul {
  padding: 0;
}

/* Post Info
------------------------------------------------------------ */

.entry-header .entry-meta {
  font-size: 13px;
  margin: -5px 0 15px;
}

/* Post Meta
------------------------------------------------------------ */

.entry-footer .entry-meta {
  border-top: 1px solid #ddd;
  clear: both;
  font-size: 13px;
  padding: 5px 0 0;
}

/* Images
------------------------------------------------------------ */

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

.avatar,
.featuredpage img,
.featuredpost img,
.post-image {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 4px;
}

.author-box .avatar {
  background-color: #fff;
  float: left;
  margin: 0 10px 0 0;
}

.post-image {
  margin: 0 10px 10px 0;
}

.comment-list li .avatar {
  background-color: #fff;
  float: right;
  margin: 5px 10px 10px 0px;
}

img.centered,
.aligncenter {
  display: block;
  margin: 0 auto 10px;
}

img.alignnone {
  display: inline;
  margin: 0 0 10px;
}

img.alignleft {
  display: inline;
  margin: 0 15px 10px 0;
}

img.alignright {
  display: inline;
  margin: 0 0 10px 15px;
}

.alignleft {
  float: left;
  margin: 0 15px 10px 0;
}

.alignright {
  float: right;
  margin: 0 0 10px 15px;
}

.wp-caption {
  padding: 0;
  text-align: center;
  width: auto !important;
}

p.wp-caption-text {
  font-size: 13px;
  margin: 5px 0;
  text-align: center;
}

.wp-smiley,
.wp-wink {
  border: none;
  float: none;
}

/* Post Navigation
------------------------------------------------------------ */

.pagination {
  font-size: 16px;
  overflow: hidden;
  padding: 20px 0;
  width: 100%;
  text-align: center;
}

.pagination li {
  display: inline;
}

.pagination li a,
.pagination li.disabled,
.pagination li a:hover,
.pagination li.active a {
  background: #f2f2f2;
  color: #333;
  padding: 8px 13px;
}

.pagination li a:hover,
.pagination li.active a {
  background: #ce2127;
  color: #fff;
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background: #356df1;
    color: #FFF;
}

/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
  display: inline;
  /* float: right; */
  width: 360px;
}

.sidebar-secondary {
  float: left;
  width: 150px;
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
  float: left;
  margin-left: 15px;
  margin-right: 0;
}

.content-sidebar-sidebar .sidebar-secondary {
  float: right;
}

.sidebar p {
  font-size: inherit;
}

.sidebar .widgettitle {
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 54px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sidebar .widget {
  /* background-color: #fff; */
  margin: 0 0 15px;
  padding: 0 0 15px;
  float: left;
  width: 100%;
}

.sidebar.widget-area ol,
.sidebar.widget-area ul,
.widget-area .textwidget,
.widget_tag_cloud div div {
  padding: 0 15px;
}

.sidebar.widget-area ul li,
.footer-widgets .widget-area ul li {
  /* border-bottom: 1px solid #ddd; */
  list-style-type: none;
  margin: 0 0 7px;
  padding: 0 0 5px;
  word-wrap: break-word;
}

.sidebar.widget-area ul ul li {
  border: none;
  margin: 0;
}

/* Buttons
------------------------------------------------------------ */

input[type="button"],
input[type="submit"] {
  background: #f2f2f2;
  cursor: pointer;
  padding: 10px 20px;
  color: #333;
  -webkit-appearance: none;
}

input:hover[type="button"],
input:hover[type="submit"] {
  text-decoration: none;
}

/* Search Form
------------------------------------------------------------ */

.site-header .search-form {
  position: absolute;
  top: 3px;
  right: 230px;
  width: 160px;
  border: 1px solid #b5abab;
  border-radius: 10px;
  height: 40px;
}

.search-form input[type="search"] {
  margin: 0;
  padding: 6px 5px 5px 10px;
  width: calc(100% - 40px);
  border: none;
  background: #fff;
  height: 37px;
  border-radius: 10px 0px 0px 10px;
}

.search-form input[type="submit"] {
  background: url(images/search.svg) no-repeat center center;
  text-indent: -9999px;
  border: none;
  float: right;
  height: 40px;
  width: 40px;
  border-radius: 10px 10px 0px 0px;
  background-size: 20px;
}

.search-form-input::placeholder {
  color: #999;
}

.search-form input[type="search"]:hover,
.search-form input[type="search"]:focus {
  border: none;
  outline: none;
  list-style: none;
  box-shadow: none;
}
/* Footer
------------------------------------------------------------ */

.site-footer {
  float: left;
  clear: both;
  font-size: 15px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  background: #c785ec;
  color: #fff;
  padding: 10px 0 10px;
}

.site-footer .wrap {
  display: block;
  text-align: center;
}

.site-footer img{
  width: 50px;
  margin: 0;
}

.site-footer .widget_text:nth-of-type(2) p {
  /* font-weight: bold;  */
  /* text-transform: uppercase; */
}

.site-footer p {
  color: #fff;
}

.site-footer a,
.site-footer a:visited {
  color: #fff;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}

.site-title a,
.site-title a:hover {
  color: rgb(51, 51, 51);
  float: left;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
  padding: 0px;
  text-decoration: none;
}

/* Comments
------------------------------------------------------------ */

.entry-comments,
#respond {
  margin: 0 0 15px;
  overflow: hidden;
  float: left;
  width: 100%;
}

#author,
#comment,
#email,
#url {
  margin: 10px 5px 0 0;
  padding: 10px;
  width: 348px;
  float: left;
  background: #fff;
}

#comment {
  height: 90px;
  margin: 10px 0;
  width: 98%;
  background: #fff;
}

input#submit {
  float: left;
}

.ping-list {
  margin: 0 0 40px;
}

.comment-list ol,
.ping-list ol {
  padding: 10px;
}

.comment-list li,
.ping-list li {
  font-weight: bold;
  list-style-type: none;
  margin: 15px 0 5px;
  padding: 10px 15px;
}

.comment-list li ul li {
  list-style-type: none;
  margin-right: 0;
  background: #fff;
}

.comment-content {
  padding-left: 70px;
}

.comment-content p {
  font-size: 15px;
  margin: 0 0 15px;
}

.comment-list cite,
.ping-list cite {
  font-style: normal;
}

.comment-meta {
  font-size: 12px;
  margin: 0 0 5px;
}

.comment-meta a {
  color: #666;
}

.comment-reply {
  font-size: 13px;
  font-weight: 300;
}

.comment-reply a {
  background: #f2f2f2;
  color: #333;
  padding: 5px 10px;
}

.nocomments {
  text-align: center;
}

.entry-comments .pagination {
  display: block;
}

.bypostauthor {
}

.thread-alt,
.thread-even {
  background-color: #f5f5f5;
}

.alt,
.depth-1,
.even {
  border: 1px solid #ddd;
}

/*Slick
-------------------------------------------------------------------*/
.slick-slider {
  position: relative;
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: "";
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
  outline: none;
}

[dir="rtl"] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

.slick-dots {
  text-align: center;
  margin: 0 35px;
  display: none !important;
}

.slick-dots li {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 8px;
  height: 8px;
  padding: 5px;
  border-radius: 100px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: #636363;
}

.slick-dots li button:hover,
.slick-dots li button:focus,
.slick-dots li.slick-active button {
  background: #000;
}

.section {
  /* float: left; */
  width: 100%;
}

/* footer */
.before_footer {
  position: relative;
  background:
    linear-gradient(#356df1, #356df1),
    url(images/Group-2661-4.png) no-repeat center top;
  background-size: cover;
  background-blend-mode: overlay; /* hoặc soft-light */
  padding: 40px 0;
  margin-top: -8px;
}


.before_footer .wrap-section {
  display: flex;
    gap: 52px;
}

.before_footer .wrap-section > section:nth-child(1) {
    flex: 0 0 41%;
}

.before_footer .wrap-section > section:nth-child(2), .before_footer .wrap-section > section:nth-child(3) {
    flex: 0 0 21%;
}


.before_footer .wrap-section > section:nth-child(3) {
    flex: 0 0 35%;
}

.before_footer .wrap-section > section:nth-child(1)  img {
  width: 240px;
}

.before_footer .widget:first-of-type strong {
  font-size: 20px;
  color: #FFF;
}

.before_footer .widget:first-child .widgettitle {
  background: url(images/logo_new.png) no-repeat top left;
  background-size: 160px;
  padding: 60px 0 0;
  margin: 0 0 15px;
}

.before_footer p, .before_footer a{
  color: #FFF;
}

.before_footer ul {
  list-style-type: none;
  flex-direction: column;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.1rem;
  margin-top: 12px;
  color: #FFF;
}

.before_footer ul li {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
   color: #FFF;
}

.before_footer .widget:first-child ul li {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 6px;
}

.before_footer ol{
  margin-top: 12px;
}

.before_footer ol li {
    list-style-type: none;
    display: flex;
  gap: 6px;
}

.before_footer .widget .footer-list .footer-item:nth-child(1),
.before_footer .widget .footer-list .footer-item:nth-child(2),
.before_footer .widget .footer-list .footer-item:nth-child(3),
.before_footer .widget .footer-list .footer-item:nth-child(4),
.before_footer .widget .footer-list .footer-item:nth-child(5),
.before_footer .widget .footer-list .footer-item:nth-child(6),
.before_footer .widget .footer-list .footer-item:nth-child(7) {
  margin-top: 12px;
}

.before_footer .widgettitle {
  color: #FFF;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
}

.before_footer .widgettitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 2px;
    background: #FFF;
}


.before_footer section:nth-child(3) p:nth-child(1) img {
    display: block;
    margin-top: 26px !important;
    width: 370px;
}

.before_footer section:nth-child(3) p:nth-child(2){
  display: flex;
  gap: 6px;
  margin-top: 16px;
}


/* BLOG */
.content h1 {
  /* color: #356df1; */
  text-transform: uppercase;
  font-size: 26px;
  font-weight: bold;
  margin: 0 0 15px;
}

.page_blog .main-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
  margin: 30px 0 60px;
  /* width: 800px !important; */
}

.page_blog img {
  border-radius: 1.6rem;
}

.page_blog .widget-item-title a {
  color: #356df1;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  margin-top: 0.4rem;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page_blog .post-info {
  font-size: 14px;
  color: #dd0000;
  margin-bottom: 0.4rem;
}

/* .page_blog .name-category a{
    display: inline-block; 
    color: #DD0000;
    border-radius: 1.8rem;
    padding: 0.2rem 1rem;
    background-color: #e6f2ef;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 
	margin-top: 6px;
} */

.page_blog p {
  /* color: #999; */
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.aside-box {
  display: block;
  position: relative;
  width: 340px;
  margin: 30px 0 60px;
  padding: 1rem 1rem 1.5rem;
  border-radius: 1.6rem;
  border: 0.1rem solid #f0f0f0;
  transition: 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  align-self: flex-start;
}

.aside-box h2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  /* Căn giữa theo chiều ngang */
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background-color: #356df1;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 1.5rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 1;
  width: 180px;
}

.aside-box .nd {
  margin-top: 40px;
  row-gap: 1.2rem;
  flex-direction: column;
  display: flex;
  flex-wrap: wrap;
}

.aside-box .nd ul {
  list-style-type: none;
  font-size: 16px;
}

.aside-box .box-info {
  column-gap: 1.2rem;
  border-radius: 4rem;
  border: 0.1rem solid #f0f0f0;
  padding: 0.6rem 2.4rem 0.6rem 0.6rem;
  display: flex;
  align-items: center;
}

.aside-box .box-info p {
  width: 45px;
  height: 45px;
  border-radius: 10rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.53);
  background: linear-gradient(
    139deg,
    #121214 12.3%,
    #505256 36.76%,
    #94999f 64.85%,
    #212124 80.68%,
    #5d6064 92.45%,
    #9599a0 102.86%
  );
  box-shadow: 0 0.4rem 0.6rem 0 rgba(255, 255, 255, 0.6) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.aside-box .box-info img {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  animation: swing ease-in-out 0.1s infinite alternate;
  margin: 0;
}

@keyframes swing {
  0% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(-8deg);
  }
}

.aside-box .box-info .text-m,
.aside-box .box-info a {
  color: #356df1;
  font-weight: 600;
  transition: 0.4s ease;
}

.caldera-grid .row {
  margin-bottom: 4px;
}
.caldera-grid .form-control::placeholder {
  color: #636363 !important;
  opacity: 1; 
}


.caldera-grid .form-control {
  outline: 0 !important;
  width: 100%;
  color: #333 !important;
  display: block;
  line-height: 1 !important;
  font-size: 16px !important;
  border-radius: 8px !important;
  padding: 24px 18px !important;
  font-family: var(--font-pri) !important;
  background-color: #FFF !important;
  border: none !important;
  transition: 0.4s ease;
}


.caldera-grid input[type="submit"] {
  border-radius: 1000px !important;
  border: none !important;
  padding: 10px 20px !important;
  background: linear-gradient(90deg, #356df1, #c785ec) !important;
  color: #fff !important;
  font-size: 16px;
  line-height: 28px;
  box-shadow: inset 0 3px 2px 0 hsla(0, 0%, 100%, .2),
              inset 0 -3px 2px 0 rgba(0, 0, 0, .1);
  display: block;         
  margin: 0px auto 0;    
  outline: none;
}


.caldera-grid .btn-default:hover,
.caldera-grid .btn-default:focus,
.caldera-grid .btn-default.focus,
.caldera-grid .btn-default:active,
.caldera-grid .btn-default.active,
.open > .dropdown-toggle.caldera-grid .btn-default {
  color: white !important;
  background-color: #356df1 !important;
}

.page-template-page-lienhe .form_lienhe .caldera-grid .form-control:focus {
  border: 1px solid #356df1 !important;
  box-shadow: none !important;
}

.caldera-grid .has-error .form-control:focus {
  border-color: #356df1 !important;
}

.gtranslate_wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Trang chủ */

/* POPUP */
/* NHẬN TƯ VẤN */



.nhantuvan .widget_caldera_forms_widget {
    display: none;
}

.nhantuvan .widget_caldera_forms_widget .widget-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    padding: 20px;
    z-index: 3000;
    border-radius: 20px;
    max-width: 650px;
}

.content-contact .widget p,
.nhantuvan .widget_caldera_forms_widget p {
    font-size: 18px;
}

.nhantuvan .label{
  
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #356df1;
    text-align: center;
}

.content-contact .widget_caldera_forms_widget input,
.content-lienhe form input,
.nhantuvan .widget_caldera_forms_widget input {
    height: 50px;
    font-size: 16px;
    border-radius: 5px;
    background-color: #FFF !important;
    border: 1px solid #FFF !important;
    box-shadow: none;
}

.content-contact .widget_caldera_forms_widget textarea,
.content-lienhe form textarea,
.nhantuvan .widget_caldera_forms_widget textarea {
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #FFF;
    background-color: #FFF !important;
    box-shadow: none;
}

.content-contact .widget_caldera_forms_widget input[type="submit"],
.content-lienhe form input[type="submit"],
.nhantuvan .widget_caldera_forms_widget input[type="submit"] {
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 40px;
    border: 1px solid #356df1 !important;
    background-color: #356df1 !important;
    color: #fff;
    display: table !important;
    margin: 0;
    transition: background 0.3s ease;
}

.content-contact .widget_caldera_forms_widget input::placeholder,
.content-lienhe form input::placeholder,
.nhantuvan .widget_caldera_forms_widget input::placeholder {
  color: #356df1  !important; 
  opacity: 1; 
}

.content-contact .widget_caldera_forms_widget textarea::placeholder,
 .content-lienhe form textarea::placeholder,
  .nhantuvan .widget_caldera_forms_widget textarea::placeholder{
    color: #356df1  !important; 
  opacity: 1; 
  }


.nhantuvan .widget_caldera_forms_widget {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.nhantuvan .widget_caldera_forms_widget .widget-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
     background-color: rgb(229, 238, 246);
    padding: 20px;
    z-index: 3000;
    border-radius: 20px;
}

.nhantuvan .widget_caldera_forms_widget .widgettitle {
    width: 20px;
    height: 20px;
    position: absolute;
    right: -21px;
    top: -21px;
    border: 1px solid #c785ec;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    margin: 0 !important;
}

.nhantuvan .widget_caldera_forms_widget p {
    margin-bottom: 20px;
}

.nhantuvan .widget_caldera_forms_widget.open { display: block; }


/* Header Menu Sub */
.caia_code_widget .widget-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.header-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.header-cart-link .cart-icon {
  font-size: 19px;
  line-height: 1;
  color: #356df1;
  margin-bottom: 5px;
}
.header-cart-link .cart-count {
  position: absolute;
  top: -7px;
  right: -22px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  padding: 0 5px;
}

.header-cart {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}
.header-cart-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.header-cart .cart-count {
  font-weight: 600;
  line-height: 1;
}

.mini-cart-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 320px;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 9999;
}

/* Hiện khi hover/focus */
.header-cart:hover .mini-cart-dropdown,
.header-cart:focus-within .mini-cart-dropdown,
.header-cart.is-open .mini-cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Một ít tinh chỉnh nút trong mini cart */
.mini-cart-dropdown .woocommerce-mini-cart__buttons a.button {
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

.woo-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  /* background: #4f3e32; */
  color: #356df1;
  text-decoration: none;
  font-size: 19px !important;
}

.header-menusub-widget-area {
  background-color: #356df1;
  display: block;
  height: 40px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.header-menusub-widget-area .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header-menusub-widget-area .widget_text p {
  display: flex;
  gap: 6px;
}

.header-menusub-widget-area .widget_text:first-child img {
  width: 22px !important;
  margin: 2px 0 0 0;
}

.header-menusub-widget-area .widget_text img {
  width: 18px;
}

.header-menusub-widget-area a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
   display: inline-flex;    
  align-items: center;    
  gap: 5px;             
  text-decoration: none;
}


.header-menusub-widget-area .woocommerce-mini-cart a {
  color: #333;
}

.content-banner {
  margin: 70px auto 0px;
}

.content-banner.section{
  --container: 1180px;
  --bg: #f5f7fb;
  --grid: rgba(15, 23, 42, .035);
  --shadow: 0 18px 50px rgba(2, 6, 23, .10);
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 60px) 16px 0px;
  background:
    /* glow nhẹ bên phải */
    radial-gradient(650px 420px at 78% 38%, rgba(99,102,241,.10), transparent 60%),
    radial-gradient(520px 360px at 58% 25%, rgba(59,130,246,.08), transparent 60%),
    /* grid */
    repeating-linear-gradient(0deg, var(--grid) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 64px),
    var(--bg);
}

.content-banner.section .widget-wrap{
  max-width: var(--container);
  margin: 0 auto;
}

.content-banner.section #text-12{
  position: relative;
  z-index: 3;
}

.content-banner.section #text-12 .textwidget p{
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-size: clamp(28px, 3.6vw, 44px);
}

.content-banner.section #text-12 img.wp-image-88{
  display: inline-block;
  vertical-align: middle;
  height: clamp(28px, 3.3vw, 40px);
  width: auto;
  margin: 0 .35em;
  filter: drop-shadow(0 10px 18px rgba(99,102,241,.25));
}

.content-banner.section #media_image-4{
  position: relative;
  z-index: 99999;
  margin-top: clamp(22px, 3.2vw, 34px);
}

.content-banner.section #media_image-4 img{
  display: block;
  width: min(520px, 92vw);
  height: auto;
  margin: 0 auto;
  z-index:99999 !important;
}

.content-banner.section #text-13{
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none; 
}

.content-banner.section #text-13 .textwidget p{
  margin: 0;
}

.content-banner.section #text-13 img{
  position: absolute;
  width: clamp(190px, 22vw, 340px);
  height: auto;
  border-radius: 22px;
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
}

/* Card 1: Activity (trái) */
.content-banner.section #text-13 img:nth-of-type(1){
    left: clamp(0px, 39vw, 457px);
    top: clamp(280px, 40vh, 310px);
    width: clamp(198px, 26vw, 188px);
}

/* Card 2: Earning (dưới trái) */
.content-banner.section #text-13 img:nth-of-type(2){
  left: clamp(70px, 18vw, 489px);
    bottom: clamp(10px, 4.3vw, 100px);
    width: clamp(260px, 30vw, 300px);
}

/* Card 3: Rating (phải trên) */
.content-banner.section #text-13 img:nth-of-type(3){
  right: clamp(39px, 21vw, 370px);
    top: clamp(272px, 42vh, 320px);
    width: clamp(220px, 25vw, 300px);
}

/* Card 4: Upcoming event (phải dưới) */
.content-banner.section #text-13 img:nth-of-type(4){
      right: clamp(40px, 15vw, 445px);
    bottom: clamp(6px, 5.8vw, 51px);
    width: clamp(300px, 34vw, 352px);
}

.content-vechungtoi {
       margin: 0px auto 0px;
       padding: 100px 0px 50px;
}

.content-vechungtoi .wrap {
  display: flex;
  gap: 0px;
  align-items: stretch;
}

.content-vechungtoi .wrap > *:first-child {
  flex: 0 0 50%;
}

.content-vechungtoi .wrap > *:last-child {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  
}

.content-vechungtoi .widgettitle{
  font-size: 44px;
  line-height: 64px;
  font-weight:600;
  margin-bottom: 24px;
  text-transform: uppercase;
}



.content-vechungtoi .widgettitle span,.content-taisao .widgettitle span,.content-tieudefeedback .widgettitle span{
  color: #356df1;
}

.content-vechungtoi a{
  border-radius: 1000px !important;
    border: none !important;
    flex-basis: 0;
    padding: 12px 20px !important;
    display: inline-block;
    align-items: center;
     background: linear-gradient(90deg, #356df1, #c785ec) !important;
    color: #fff !important;
    font-size: 16px;
     font-weight: 600;
    line-height: 28px;
    box-shadow: inset 0 3px 2px 0 hsla(0, 0%, 100%, .2), inset 0 -3px 2px 0 rgba(0, 0, 0, .1);
    margin-top: 24px;
}

.content-vechungtoi img{
  width: 100%;
  margin-top: -50px;
}

.content-taisao{
  background-color: #F2F2F2B3;
  padding: 80px 0px;
}

.content-taisao .widgettitle,  .content-tieudefeedback .widgettitle{
  font-size: 44px;
  line-height: 64px;
  font-weight:600;
  text-transform: uppercase;
  text-align: center;
}

.content-taisao.section .wrap{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.content-taisao.section .wrap > section.widget_text{
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 6px;
}


.content-taisao.section .wrap > section.image-upload .widget-wrap{
  height: 100%;
}

.content-taisao.section .wrap > section.image-upload .mainposts{
  height: 100%;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 300px;
}


.content-taisao.section .wrap > section.image-upload img{
  width: 80px;
  height: 80px;
  display: block;
  margin: 0px;
}

.content-taisao.section .wrap > section.image-upload .box .title{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.content-tieudefeedback{
  padding:80px 0px 0px;
  background-color: #F2F2F2B3;
}

.content-feedback{
  background-color: #F2F2F2B3;
  padding: 32px 0px 80px;
}

.content-feedback .slick-slide {
  margin: 0 16px; 
}

.content-feedback .slick-list {
  margin: 0 -16px;
}

.box-feedback {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 80px 32px 40px;
  font-size: 16px;
  line-height: 1.7;
      min-height: 260px;
}


.box-feedback > svg {
  position: absolute;
  top: 26px;
  right: 26px;      
}

.box-feedback br, .info-feedback br  { display: none; }

.box-feedback::after{
  content:"";
  position:absolute;
  left: 50px;
  bottom: -10px;
  width: 24px;
  height: 24px;
  background: #fff;
  transform: rotate(45deg);
  border-bottom-left-radius: 10px;
  box-shadow: 10px 10px 30px rgba(0,0,0,.03);
}

.info-feedback{
  display:flex;
  align-items:center;
  gap: 16px;
  margin-top: 26px;
  padding-left: 36px;
}

.info-feedback img{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.info-feedback p{ display:none; }

.info-feedback strong{
  display:block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
}

.info-feedback em{
  display:block;
  margin-top: 6px;
  font-style: normal;      
  font-size: 16px;
  color: #292A2C;
}

.content-formtuvan{
  margin: 80px auto;
}

.content-formtuvan .wrap {
    padding: 80px 0px 0px;
    width: 100%;
    height: auto;
    background: url(images/footer-collapborate-bg.webp);
        background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    box-shadow: 0 8px 10px -6px rgba(16, 24, 40, .1), 0 20px 25px -5px rgba(16, 24, 40, .1);
}

.content-formtuvan .wrap {
  display: flex;
  gap: 60px;
  align-items: stretch;
  border-radius: 30px;
  padding: 56px 80px 0px;
}

.content-formtuvan .wrap > *:first-child {
  flex: 0 0 35%;
}

.content-formtuvan .wrap > *:last-child {
  flex: 1;
}

.content-formtuvan section:nth-child(1) img {
  width: 100%;
  height: auto;
  margin-bottom: -8px;
}

.content-formtuvan .widget_caldera_forms_widget {
  width: 100%;
}

.content-formtuvan .widgettitle{
      font-size: 32px;
    line-height: 64px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #FFF;
    margin-bottom: 12px;
}


.content-ebook{
  margin: 80px auto;
}

.content-ebook .widgettitle{
      font-size: 44px;
    line-height: 64px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 28px;
}

.content-ebook .widgettitle span{
  color: #356df1;
}

.content-ebook .product_list_widget{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}


.content-ebook .product_list_widget > li{
  margin: 0 !important;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  padding: 0 !important
}

/* Ảnh luôn fill khung, không méo */
.content-ebook .product_list_widget .khoahoc-widget-thumb img{
  width: 100% !important;
  height: 180px !important;   
  object-fit: cover;          
  object-position: center;
  display: block;
  border-radius: 12px 12px 0px 0px ;            
}

.content-ebook .khoahoc-widget-info{
  padding: 12px 16px 20px;
}

.woocommerce ul.cart_list li a, .woocommerce ul.product_list_widget li a .product-title{
    display: block;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    color: #333;
        display: -webkit-box;
    -webkit-line-clamp: 2; /* số dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 50px;
}

.content-ebook .product_list_widget > li .woocommerce-Price-amount,
.content-ebook .product_list_widget > li .amount{
  margin-top: auto;
  padding-top: 10px;
  display: inline-block;
  font-size: 17px;
  font-weight: 500;
  color: #e53935; /* đỏ giống ảnh */
}

.content-ebook  .product_list_widget .khoahoc-widget-actions{
  margin-top: 10px;
}

.content-ebook  .product_list_widget .khoahoc-buy-now{
      border-radius: 1000px !important;
    border: none !important;
    padding: 10px 20px !important;
    background: linear-gradient(90deg, #356df1, #c785ec) !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    box-shadow: inset 0 3px 2px 0 hsla(0, 0%, 100%, .2), inset 0 -3px 2px 0 rgba(0, 0, 0, .1);
    display: block;
    margin: 0px auto 0;
    outline: none;
    display: inline-block !important;
}



/* ===== FAQ SECTION ===== */
.content-fqa.section{
  padding: 80px 0px;
  background: #F2F2F2B3;
}

.content-fqa .wrap{
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  row-gap: 24px;
  align-items: start;
  --card: rgba(255,255,255,.75);
  --shadow: 0 14px 40px rgba(2,6,23,.08);
}

.content-fqa.section .wrap > .widget.widget_text:first-child{
  grid-column: 1 / -1;
}

.content-fqa.section .wrap > .widget.widget_text:first-child .widget-title{
  font-size: 44px;
    line-height: 64px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.content-fqa.section .wrap > .widget.widget_text:first-child .widget-title span{
       color: #356df1;
}

/* ===== FAQ cards (các widget_text còn lại) ===== */
.content-fqa.section .wrap > .widget.widget_text:not(:first-child) .widget-wrap{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* clickable question */
.content-fqa.section .wrap > .widget.widget_text:not(:first-child) .widget-title{
  margin: 0;
  font-size: 17px ;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding: 8px 44px 8px 8px;
  line-height: 1.35;
  user-select: none;
}

/* caret */
.content-fqa.section .wrap > .widget.widget_text:not(:first-child) .widget-title::after{
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(15,23,42,.55);
  border-bottom: 2px solid rgba(15,23,42,.55);
  transform: translateY(-50%) rotate(45deg);
  transition: transform .22s ease;
}

.content-fqa.section .wrap > .widget.widget_text:not(:first-child) .textwidget{
  max-height: 0;
  overflow: hidden;
  transition: max-height .6s ease;
  padding: 0 8px;
      
}

.content-fqa.section .wrap > .widget.widget_text:not(:first-child) .textwidget p,
.content-fqa.section .wrap > .widget.widget_text:not(:first-child) .textwidget ul{
  margin: 10px 0 12px;
  color: #555;
}

.content-fqa.section .wrap > .widget.widget_text.is-open .textwidget{
  max-height: 600px;
}

.content-fqa.section .wrap > .widget.widget_text.is-open .widget-title::after{
  transform: translateY(-50%) rotate(-135deg);
}

.home .site-inner {
    display: none;
}



.mini-cart-dropdown {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px; 
            padding: 20px;
            box-sizing: border-box;
            opacity: 1; 
            transform: translateY(0);
            transition: opacity 0.3s, transform 0.3s;
        }
        .woocommerce-mini-cart {
            list-style: none;
            margin: 0;
            padding: 0;
            border-bottom: 1px solid #e0e0e0;
            margin-bottom: 15px;
        }

        .woocommerce-mini-cart-item {
            padding: 15px 0;
            border-top: 1px solid #f0f0f0;
            position: relative;
        }
        
        .woocommerce-mini-cart-item:first-child {
            border-top: none; 
        }

        .woocommerce-mini-cart-item a:not(.remove) {
            display: flex;
            align-items: center;
            flex-grow: 1;
            text-decoration: none;
            color: #333333;
            font-weight: 500;
            line-height: 1.4;
        }
        
        .woocommerce-mini-cart-item a:hover {
            color: #356df1; 
        }

        /* Product Image */
        .woocommerce-mini-cart-item img {
            width: 50px;
            height: 50px;
            min-width: 50px;
            border-radius: 6px;
            margin-right: 15px;
            object-fit: cover;
            border: 1px solid #f0f0f0;
        }

        /* Quantity and Price */
        .woocommerce-mini-cart-item .quantity {
            font-size: 14px;
            color: #555555;
            white-space: nowrap;
            margin-top: 8px;
            display: block;
        }
        
    
        
        .woocommerce-Price-currencySymbol {
            font-weight: 400;
        }


        /* Remove Button */
        .remove {
            position: absolute;
            top: 5px;
            right: 0px; 
            width: 20px;
            height: 20px;
            text-align: center;
            line-height: 18px;
            background: #e9e9e9;
            color: #333333;
            border-radius: 50%;
            font-size: 14px;
            text-decoration: none;
            font-weight: 700;
            transition: background 0.2s, color 0.2s;
        }

        .remove:hover {
            background: #ff5050;
            color: #ffffff;
            cursor: pointer;
        }

        /* ----------------------------------
        4. Total Subtotal Styling
        ---------------------------------- */
        .woocommerce-mini-cart__total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            font-size: 16px;
        }

        .woocommerce-mini-cart__total strong {
            font-weight: 600;
            color: #555555;
        }
        
        .woocommerce-mini-cart__total .amount {
            font-size: 1.1em;
            font-weight: 700;
            color: #000000;
        }

        /* ----------------------------------
        5. Buttons Styling
        ---------------------------------- */
        .woocommerce-mini-cart__buttons {
            display: flex;
            gap: 10px;
        }
        
        .woocommerce-mini-cart__buttons .button {
            display: block;
            width: 100%;
            padding:8px 12px;
            text-align: center;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 500;
            transition: background-color 0.2s, box-shadow 0.2s;
            border: none;
            cursor: pointer;
            box-sizing: border-box;
            font-size: 15px;
        }

        .woocommerce-mini-cart__buttons .button.wc-forward:first-child {
            background-color: #f0f0f0;
            color: #333333;
        }
        .woocommerce-mini-cart__buttons .button.checkout {
            background-color: #356df1; 
            color: #ffffff;
        }

        .woocommerce-cart .content, .woocommerce-checkout .content, .woocommerce-account .content {
    width: 100%;
}

        .woocommerce-cart .sidebar, .woocommerce-checkout .sidebar, .woocommerce-account .sidebar {
    display: none;
}

.wc-block-components-button:not(.is-link) {
  color: #FFF;
    background-color: #356df1;
    outline: none !important;
    border: none !important;
}

.wp-block-woocommerce-checkout {
    padding-top: 0px !important;
}


.content-sanpham {
  display: flex;
  gap: 40px;
  width: 100%;
  margin-bottom: 30px;
}

.content-sanpham > div {
  flex: 1;         
  max-width: 50%;
}

.content-sanpham .slide_sp .slider-for img {
    border: 1px solid #e9e7e7;
    width: calc(100% - 2px);
    height: 460px;
    object-fit: cover;
    margin: 0 0 16px;
    border-radius: 10px;
}

.content-sanpham .slide_sp .slider-nav img {
    cursor: pointer;
    margin: 0;
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 15px 0 0;
}

.content-sanpham .info_sp .product-title {
    text-transform: uppercase;
     font-size: 26px;
    font-weight: 600;
    margin-bottom: 0;
}

.info_sp .price-new, .info_sp .price-current
 {
    color: #e53935 !important;
    font-size: 26px;
    font-weight: 600;
}
.mini-cart-dropdown .woocommerce-Price-amount bdi
 {
    font-weight: 700;
    color: #e53935;
    font-size: 16px;
}
.info_sp .price
 {
    font-size: 16px;
    font-weight: 400;
}

.info_sp .price-old
 {
    font-size: 20px;
    font-weight: 400;
    color: #b3b1b1;
    margin-left: 15px;
    vertical-align: middle;
}
.product-excerpt{
  margin: 10px 0;
}

.product-excerpt li{
  margin-left: 20px;
}

.info_sp .product-excerpt table{
    width: 100%;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    border: solid 1px #ddd;
    border-collapse: collapse
}

.info_sp .product-excerpt table td,.info_sp .product-excerpt table tr{
    padding: 4px 8px;

}

.single-product .entry-content{
    border-top: 1px dashed #d9d9d9;
    padding-top: 24px;
    text-align: justify;
}

.product-buy-form-wrap{
  margin-top: 20px;
  display: flex;
  gap: 24px;
}

form.cart {
  display: flex;
  align-items: center;  
  gap: 24px;         
}

form.cart .quantity {
  display: flex;
  align-items: center;
}

form.cart .quantity {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

form.cart quantity input.qty {
  width: 50px !important;
  height: 36px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 16px;
  -moz-appearance: textfield; 
}
form.cart .quantity input.qty::-webkit-outer-spin-button,
form.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none; 
  margin: 0;
}

/* Nút - */
form.cart .quantity::before {
  content: "-";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 36px;
  background: #f8f8f8;
  cursor: pointer;
  border-right: 1px solid #ccc;
  font-size: 20px;
  user-select: none;
}

/* Nút + */
form.cart .quantity::after {
  content: "+";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 36px;
  background: #f8f8f8;
  cursor: pointer;
  border-left: 1px solid #ccc;
  font-size: 20px;
  user-select: none;
}

form.cart .single_add_to_cart_button {
    border-radius: 1000px !important;
    border: none !important;
    padding: 14px 20px !important;
    display: inline-block;
    align-items: center;
    background:  #356df1 !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 14px;
}

.woocommerce .quantity .qty {
    width: 3.631em;
    text-align: center;
    background: #FFF;
    border: none;
}

.btn_call{
  margin-top: 10px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt{
    background-color: #356df1;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* Sản phẩm liên quan */
.single-product .yarpp-related  {
  display: block;
  width: 100%;
  margin-top: 48px;
}

.single-product .main-posts{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.single-product .yarpp-related .widget .product {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.single-product .yarpp-related .widget .widgettitle {
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 15px;

}

.single-product .yarpp-related .widget img {
    width: 100%;
    height: 200px !important;
    margin: 0;
    border-radius: 12px 12px 0 0;
}

.single-product .main-posts .product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

 .single-product .product .widget-item-title a {
      display: block;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    color: #333;
    min-height: 52px;
}

 .single-product .product a{
  margin: 0;
 }

 .single-product .khoahoc-widget-thumb img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px 12px 0px 0px;
}

 .single-product .list-info{
  padding: 6px 16px 20px;
 }

   .single-product .widget-item-price {
          margin: 6px 0 !important;
   }

  .single-product .widget-item-price span{
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #e53935 !important;
    
}


  .single-product .list-info button{
    border-radius: 1000px !important;
    border: none !important;
    padding: 10px 20px !important;
    background: linear-gradient(90deg, #356df1, #c785ec) !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    box-shadow: inset 0 3px 2px 0 hsla(0, 0%, 100%, .2), inset 0 -3px 2px 0 rgba(0, 0, 0, .1);
    display: block;
    margin: 4px auto 0;
    outline: none;
    display: inline-block !important;
  }

.single-product .sidebar .widget {
    background-color: rgb(229, 238, 246);
    margin: 15px 0 15px;
    padding: 15px 20px;
    float: left;
    width: 100%;
    border-radius: 14px;
}

.content-form{
  position: relative !important;
}

.content-form .widgettitle  {
    position: absolute;
     margin-top: -15px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #356df1;
    color: #fff;
    padding: 12px 12px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    border-radius: 0px 0px 12px 12px;
    z-index: 1;
    width: 185px;
}

.content-form .caldera-grid .form-control {
        outline: 0 !important;
    width: 100%;
    color: #333 !important;
    display: block;
    line-height: 1 !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    padding: 24px 18px !important;
    font-family: var(--font-pri) !important;
    background-color: #FFF !important;
    border: none !important;
    transition: 0.4s 
ease;
    margin-bottom: 6px !important;
}

.content-form .caldera-grid input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    display: inline-block;
    padding: 10px 24px;
    color: #FFF;
    border: 1px solid #f4a137;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s 
ease;
    background-color: #f4a137;
}

.content-form .caldera-grid .form-control::placeholder {
  color: #999 !important;
  font-size: 16px;
}

.content-form .caldera-grid{
    padding-top: 60px;
}

.page-id-25 .wc-block-grid {
    display: none;
}

@media (max-width: 768px) {
  .title-area {
            float: left;
        overflow: hidden;
        padding: 0;
        width: 230px;
        margin-left: -38px;
        height: 80px;
        margin-top: 18px;
}

.site-title a, .site-title a:hover {
    background-size: 124px;
}

.site-header .widget-area {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 81%;

}

    .site-header .widget_text p {
        position: absolute;
        top: -22px;
        right: 135px;
        cursor: pointer;
        border-radius: 1000px !important;
        border: none !important;
        flex-basis: 0;
        padding: 10px 12px !important;
        display: inline-block;
        align-items: center;
        background: linear-gradient(90deg, #356df1, #c785ec) !important;
        font-size: 14px;
        line-height: 24px;
        box-shadow: inset 0 3px 2px 0 hsla(0, 0%, 100%, .2), inset 0 -3px 2px 0 rgba(0, 0, 0, .1);
    }

.content-banner section:nth-child(3)
{
  display: none;
}

.content-vechungtoi {
    padding: 50px 15px 20px;
}

.content-vechungtoi .wrap {
    flex-direction: column;
}

.content-vechungtoi .widgettitle {
    font-size: 28px;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 12px;
}

.content-vechungtoi a {
    padding: 10px 20px !important;
    display: inline-block;
    align-items: center;
    background: linear-gradient(90deg, #356df1, #c785ec) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 28px;
    box-shadow: inset 0 3px 2px 0 hsla(0, 0%, 100%, .2), inset 0 -3px 2px 0 rgba(0, 0, 0, .1);
    margin-top: 16px;
}

.content-vechungtoi img {
    width: 100%;
    margin-top: 0px;
}

.content-taisao {
    padding: 50px 15px 50px;
}

.content-taisao .widgettitle, .content-tieudefeedback .widgettitle {
    font-size: 28px;
    line-height: 40px;
}

.content-taisao.section .wrap {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
}

.content-taisao.section .wrap > section.image-upload .mainposts {
    min-height: auto;
    padding: 24px;
}

.content-ebook {
    margin: 50px auto;
    padding: 0 15px;
}

.content-ebook .widgettitle {
    font-size: 28px;
    line-height: 40px;
    margin-bottom: 20px;
}

.content-ebook .product_list_widget {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
}

/* Gap giữa các slide: 16px */
.content-ebook .product_list_widget .slick-slide {
  margin: 0 12px !important; 
  border: 1px solid #eee;
  padding: 0;
}

.content-ebook .product_list_widget .slick-list {
  margin: 0 -12px !important;
}

.woocommerce ul.cart_list li, .woocommerce ul.product_list_widget li {
    margin: 0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06) !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

.khoahoc-widget-meta{
      margin-top: auto;
    padding-top: 10px;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #e53935;
}

.content-tieudefeedback {
    padding: 50px 15px 0px;
}

.content-feedback {
    padding: 32px 15px 50px;
}

.content-formtuvan {
    margin: 50px auto;
    padding: 0px 15px;
}

.content-formtuvan .wrap {
    display: flex;
    flex-direction: column-reverse;
    gap: 0px;
    align-items: stretch;
    border-radius: 16px;
    padding: 40px 16px 0px;
}


.content-formtuvan .widgettitle {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 20px;
}

.content-fqa.section {
    padding: 50px 15px 60px;
}

.content-fqa.section .wrap > .widget.widget_text:first-child .widget-title {
    font-size: 28px;
    line-height: 40px;
}

.content-fqa .wrap {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    row-gap: 20px;
}

.before_footer{
      padding: 40px 15px;
}

.before_footer .wrap-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.site-inner {
    margin: 0 auto;
    overflow: visible;
    padding: 100px 15px 40px;
    width: 100%;
    box-sizing: border-box;
}


.content-sanpham {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 30px;
}

.content-sanpham > div {
    flex: 1;
    max-width: 100%;
}

.content-sanpham .slide_sp .slider-for img {
    border: 1px solid #e9e7e7;
    width: calc(100% - 2px);
    height: 300px;
}

.content-sanpham .slide_sp .slider-nav img {
    cursor: pointer;
    margin: 0;
    width: 100%;
    height: 80px;
}

.content-sanpham .info_sp .product-title {
    font-size: 22px;
}

.info_sp .price-current {
    font-size: 22px;
}

.product-template-default .content-sidebar-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.content-sidebar .content, .sidebar-content .content {
    width: 100%;
}

.sidebar {
    width: 100%;
}

.single-product .main-posts {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

.yarpp-related .main-posts .slick-slide {
  margin: 0 12px !important; 
}

.yarpp-related .main-posts .slick-list {
  margin: 0 -12px !important;
}

.single-product .yarpp-related .widget img {
    width: 100%;
    height: 180px !important;
    margin-bottom: 6px;
}

.single-product .product .widget-item-title a {
    min-height: 48px;
}

.content-sidebar-wrap {
    display: flex;
    flex-direction: column;
}

.mini-cart-dropdown {
    position: absolute;
    right: -170px;
    top: 100%;
    padding: 12px;
}

.woocommerce ul.cart_list li a, .woocommerce ul.product_list_widget li a .product-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #333;
    min-height: 46px;
        display: -webkit-box;
    -webkit-line-clamp: 2; /* số dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-ebook .product_list_widget .khoahoc-buy-now{
  cursor: pointer;
        border-radius: 1000px !important;
        border: none !important;
        flex-basis: 0;
        padding: 10px 14px !important;
        display: inline-block;
        align-items: center;
        background: linear-gradient(90deg, #356df1, #c785ec) !important;
        font-size: 15px !important;
        line-height: 24px !important;
        box-shadow: inset 0 3px 2px 0 hsla(0, 0%, 100%, .2), inset 0 -3px 2px 0 rgba(0, 0, 0, .1);
}

.content-ebook .khoahoc-widget-info{
  padding: 12px 16px 16px;
}

.single-product .list-info {
    padding: 6px 16px 16px;
}
}


