/* Global logo visibility */
.mobile-logo { display: none !important; }
.desktop-logo { display: block !important; }

@media (min-width: 768px) {
  body.home {
    padding-top: var(--fb-topbar-h);
  }

  body.home .site-header.default,
  body.home .site-header.transparent,
  body.home .site-header.default.is-sticky,
  body.home .site-header.is-sticky {
    left: 0;
    width: 100%;
    z-index: 999;
    margin-top: 0 !important;
    -webkit-transition: background-color 0.3s ease, box-shadow 0.3s ease;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  body.home .site-header.default:not(.is-sticky),
  body.home .site-header.transparent:not(.is-sticky) {
    position: absolute !important;
    top: var(--fb-topbar-h);
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none;
  }

  body.home .site-header.default:not(.is-sticky) .header-container,
  body.home .site-header.transparent:not(.is-sticky) .header-container,
  body.home .site-header:not(.is-sticky) .header-container {
    background: transparent !important;
    background-color: transparent !important;
  }

  body.home .site-header.default.is-sticky,
  body.home .site-header.is-sticky {
    position: fixed !important;
    top: var(--fb-topbar-h);
    left: 0;
    width: 100%;
    z-index: 999;
    margin-top: 0 !important;
    background: #131313 !important;
    background-color: #131313 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  }

  body.home .site-header.is-sticky .header-container {
    position: relative !important;
    left: auto;
    right: auto;
    background: transparent !important;
    background-color: transparent !important;
  }
}

.home-hero {
  min-height: 100vh;
  padding: 200px 0 20px;
}

.home-hero__copy {
  max-width: none;
  padding-top: 20px;
}

.home-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.home-hero__title {
  margin: 0;
  font-family: var(--font-serif), "Playfair Display", serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-hero__title-rest {
  margin: 0;
  font-family: var(--font-serif), "Playfair Display", serif;
  font-size: 37px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero__subtitle {
  margin: 0 0 0;
  font-family: var(--font-serif), "Playfair Display", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.home-hero__divider {
  display: block;
  width: 11%;
  max-width: 70px;
  height: 4px;
  margin: 20px 0 33px;
  background: var(--fb-accent);
}

.home-hero__text {
  max-width: 620px;
  margin: 0 0 36px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.89;
  letter-spacing: 0;
  color: #ffffff;
}

.home-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.home-hero__visual img {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  /* drop-shadow follows PNG alpha; box-shadow draws a rectangle around opaque pixels */
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.home-stats {
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.home-stats .tm_pb_row {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.home-stats .tm_pb_column,
#tm_builder_outer_content .home-stats .tm_pb_column {
  padding-left: 0;
  padding-right: 0;
}

.home-stats__col {
  background: var(--fb-accent);
}

.home-stats__col--alt {
  background: var(--fb-accent-hover);
}

.home-stats__item {
  min-height: 260px;
  padding: 85px 28px 75px;
  color: #ffffff;
  text-align: center;
}

.home-stats__value {
  display: block;
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
  color: #ffffff;
}

.home-stats__rule {
  width: 46px;
  height: 2px;
  margin: 18px auto 16px;
  background: rgba(255, 255, 255, 0.55);
}

.home-stats__label {
  margin: 0 auto;
  max-width: 240px;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
}

#tm_builder_outer_content .tm_pb_section.home-quote {
  padding: 195px 0 133px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.home-quote .tm_pb_column_1_2:first-child {
  display: none;
}

#tm_builder_outer_content .home-quote__title {
  margin: 0 0 45px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: #121212;
}

#tm_builder_outer_content .home-quote__text {
  margin: 0 0 42px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.54;
  letter-spacing: 0;
  color: #888888;
}

#tm_builder_outer_content .home-quote__source {
  margin: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.54;
  letter-spacing: 0;
  color: var(--fb-accent);
}

.home-takeaways {
  padding: 104px 0 86px;
}

.home-takeaways__title {
  margin: 0 0 16px;
}

.home-takeaways__intro {
  margin: 0 0 36px;
}

.home-takeaway {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
}

.home-takeaway__icon {
  flex: 0 0 36px;
  margin-right: 16px;
  color: var(--fb-accent);
  font-size: 28px;
  line-height: 1;
}

.home-takeaway__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  color: #121212;
}

.home-takeaway__text {
  margin: 0;
  color: #888888;
}

.home-ebooks {
  padding: 103px 0 69px;
  /* Native #books scroll: land on intro (section padding 103px) below header */
  scroll-margin-top: max(0px, calc(84px + 16px - 103px));
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: calc(var(--fb-topbar-h) + 128px);
  }

  .home-ebooks {
    scroll-margin-top: calc(var(--fb-topbar-h) + 128px + 48px + 16px - 103px);
  }
}

.home-ebooks__intro {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.home-ebooks__intro h3 {
  margin: 0 0 16px;
}

.home-ebooks__view-all {
  margin: 12px 0 0;
}

.home-ebooks__view-all a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-ebooks__section-anchor {
  height: 0;
  width: 100%;
  scroll-margin-top: 84px;
}

#published-books.home-ebooks__section-anchor {
  scroll-margin-top: calc(84px + 45px);
}

@media (min-width: 768px) {
  .home-ebooks__section-anchor {
    scroll-margin-top: calc(var(--fb-topbar-h) + 128px);
  }

  #published-books.home-ebooks__section-anchor {
    scroll-margin-top: calc(var(--fb-topbar-h) + 128px + 45px);
  }

  .site-header.default .header-btn {
    white-space: nowrap;
  }
}

.home-ebooks__empty {
  text-align: center;
  color: #ffffff;
  margin: 0 0 48px;
}

.home-ebooks__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 24px;
  margin-bottom: 48px;
}

.home-book {
  text-align: center;
  position: relative;
  height: max-content;
  max-width: 301px;
  margin: 0 auto;
}

.home-book__cover {
  display: block;
  margin: 0 auto 18px;
}

.home-book__cover img {
  width: 100%;
  max-width: 301px;
  box-shadow: none;
}

.home-book__title {
  margin: 0 0 8px;
  padding: 0 25px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  white-space: pre-line;
  text-wrap: balance;
}

.home-book__title a {
  color: inherit;
  text-decoration: none;
}

.home-book__title a:hover {
  color: var(--fb-accent);
}

.home-book__desc {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  margin: 0;
  padding: 15px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  top: auto;
  bottom: 75px; 
  left: 10px;
  right: 10px;
  z-index: 10;
  /* Kính mờ thấm màu nền (Adaptive Glassmorphism) */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(180%) brightness(0.9);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(0.9);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* Đảm bảo chữ luôn đọc được */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.home-book:hover .home-book__desc {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-book__price {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fb-accent);
}

.home-ebooks__more {
  text-align: center;
}

.home-ebooks__more .tm_pb_button {
  text-wrap: balance;
}

.home-audience {
  padding: 103px 0 83px;
}

.home-audience__title {
  margin: 0 0 48px;
  text-align: center;
}

.home-audience__item {
  text-align: center;
  padding: 0 10px 30px;
}

.home-audience__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--fb-accent);
  color: #ffffff;
  font-size: 24px;
}

.home-audience__item h4 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.home-audience__item p {
  margin: 0;
}

.home-events .tm_pb_row {
  max-width: none;
  padding: 0;
}

.home-events__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.home-events__item {
  position: relative;
  display: block;
  overflow: hidden;
}

.home-events__item img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.home-events__item::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 18, 0.45);
  color: #ffffff;
  font-size: 42px;
  opacity: 0;
  transition: opacity 0.25s linear;
}

.home-events__item:hover::after {
  opacity: 1;
}

.home-reviews {
  padding: 111px 0 67px;
}

.home-reviews__intro {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.home-reviews__intro h3 {
  margin: 0 0 16px;
}

.home-review {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.home-review__avatar {
  flex: 0 0 92px;
  margin-right: 24px;
}

.home-review__avatar img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
}

.home-review__quote {
  margin: 0 0 16px;
}

.home-review__name {
  margin: 0;
  font-weight: 600;
  color: #121212;
}

.home-review__role {
  margin: 0;
  color: #888888;
}

.home-faqs {
  padding: 70px 0;
  background: #131313;
}

.home-faq + .home-faq {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-faq__question {
  width: 100%;
  padding: 22px 40px 22px 0;
  border: 0;
  background: transparent;
  color: var(--fb-accent);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.54;
  white-space: normal;
  overflow: visible;
  cursor: pointer;
}

.home-faq__question::after {
  content: "+";
  float: right;
  font-weight: 300;
  color: var(--fb-accent);
}

.home-faq.is-open .home-faq__question,
.home-faq.is-open .home-faq__question::after {
  color: var(--fb-accent);
}

.home-faq.is-open .home-faq__question::after {
  content: "–";
}

.home-faq__answer {
  display: none;
  padding: 0 0 24px;
  color: #ffffff;
}

.home-faq.is-open .home-faq__answer {
  display: block;
}

.home-contact {
  padding: 100px 0 153px;
}

.home-contact__title {
  margin: 0 0 16px;
}

.home-contact__text {
  margin: 0 0 32px;
  max-width: 500px;
}

.home-contact form {
  width: 100%;
  max-width: 500px;
  margin-left: 0;
  padding-left: 0;
}

.home-contact .form-row {
  position: relative;
  isolation: isolate;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

/* backdrop-filter on input/textarea is unreliable; glass layer lives on the wrapper */
.home-contact .form-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-color: rgba(45, 28, 18, 0.34);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}

.home-contact .form-row:focus-within::before {
  background-color: rgba(45, 28, 18, 0.48);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.home-contact input,
.home-contact textarea {
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  background-color: transparent !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: none;
  transition:
    border-color 0.3s ease;
}

.home-contact input::placeholder,
.home-contact textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.home-contact input:focus,
.home-contact textarea:focus {
  border-color: rgba(255, 255, 255, 0.45);
  outline: none;
  box-shadow: none;
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .home-contact .form-row::before {
    background-color: rgba(35, 22, 14, 0.82);
    box-shadow: none;
  }

  .home-contact .form-row:focus-within::before {
    background-color: rgba(35, 22, 14, 0.9);
  }
}

.home-contact textarea {
  min-height: 140px;
  resize: vertical;
}

.home-contact .form-status {
  margin-top: 16px;
}

.home-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 18, 0.88);
  padding: 24px;
}

.home-lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
}

.home-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.footer-area-wrap {
  padding-top: 83px;
}

.footer-area--columns-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 0 0 30px;
}

.footer-area--columns-2 .widget {
  margin-bottom: 0;
}

.footer-logo,
.footer-logo_link {
  display: block;
}

.footer-logo_img {
  display: block;
  width: 195px;
  max-width: 100%;
  height: auto;
}

.footer-area .widget-title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.54;
  color: #ffffff;
}

.footer-subscribe,
.footer-area .subscribe-block__input-group {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

.footer-area .subscribe-block__input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.footer-subscribe input,
.footer-area .subscribe-block__input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  background: #ffffff;
  color: #121212;
  box-sizing: border-box;
}

.footer-subscribe button,
.footer-area .subscribe-block__submit {
  flex: 0 0 auto;
  min-height: 52px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  background: var(--fb-accent);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.footer-container {
  padding: 30px 0 25px;
}

.site-footer .footer-copyright {
  color: #ffffff;
}

.site-footer .footer-copyright a,
.site-footer.invert .footer-copyright a,
.invert .footer-copyright a {
  color: var(--fb-accent);
}

.site-footer .footer-copyright a:hover,
.site-footer.invert .footer-copyright a:hover,
.invert .footer-copyright a:hover {
  color: #ffffff;
}

.site-footer .social-list .social-list__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .social-list .menu-item {
  display: inline-block;
  list-style: none;
  margin: 0;
}

.site-footer .social-list .menu-item::before,
.site-footer .social-list .menu-item::marker {
  display: none;
  content: none;
}

.site-footer .social-list .menu-item > a {
  display: block;
  color: #ffffff;
  text-decoration: none;
}

.site-footer .social-list .menu-item > a::before {
  display: none !important;
  content: none !important;
}

.site-footer .social-list .menu-item > a i {
  display: block;
  font-size: 21px;
  line-height: 1.5;
  width: 32px;
  text-align: center;
}

.site-footer .social-list .menu-item > a:hover {
  color: var(--fb-accent);
}

@media (min-width: 768px) {
  .footer-area--columns-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .site-footer .social-list .social-list__items {
    justify-content: flex-end;
  }

  /* Sample title-to-page-top: 240px (tablet), 280px (992-1440), 318px (>1440). */
  #tm_builder_outer_content .tm_pb_section.home-hero {
    padding: calc(240px - var(--fb-topbar-h)) 0 100px;
  }

  .home-hero__copy {
    padding-top: 0;
  }

  #tm_builder_outer_content .home-hero .home-hero__copy-col {
    padding: 0 80px 20px;
  }

  .home-hero__title {
    font-size: 46px;
    line-height: 1;
    letter-spacing: 0.07em;
  }

  .home-hero__title-rest {
    font-size: 37px;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  body.home .header-container_wrap.container {
    max-width: var(--fb-container);
  }

  body.home .site-header.default .main-navigation {
    flex: 1 1 auto;
    width: auto;
  }

  body.home .site-header.default .main-navigation .menu {
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }

  body.home .site-header.default .header-container__flex {
    align-items: center;
  }

  body.home .site-header.default .site-branding,
  body.home .site-header.default .main-navigation,
  body.home .site-header.default .header-btn {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center;
  }

  body.home .site-header.default .main-navigation {
    padding-top: 0;
  }

  .home-hero__subtitle {
    font-size: 35px;
    line-height: 1.4;
  }

  .home-quote .tm_pb_column_1_2:first-child {
    display: block;
  }

  .home-ebooks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-events__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-events__item img {
    height: 320px;
  }
}

@media (min-width: 992px) {
  #tm_builder_outer_content .tm_pb_section.home-hero {
    padding: calc(180px - var(--fb-topbar-h)) 0 100px;
  }

  #tm_builder_outer_content .home-hero .home-hero__copy-col {
    padding: 0 15px 0 64px;
  }

  .home-hero__copy {
    padding-top: 100px;
  }

  .home-hero__title {
    font-size: 73px;
    line-height: 1;
    letter-spacing: 0.07em;
    font-weight: 600;
  }

  .home-hero__title-rest {
    font-size: 46px;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  .home-hero__subtitle {
    font-size: 48px;
    line-height: 1.4;
    text-wrap: balance;
  }

  .home-ebooks__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-events__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-reviews__list {
    display: flex;
    gap: 40px;
  }

  .home-review {
    flex: 1;
  }
}

@media (min-width: 1441px) {
  #tm_builder_outer_content .tm_pb_section.home-hero {
    padding: calc(183px - var(--fb-topbar-h)) 0 107px;
  }

  #tm_builder_outer_content .home-hero .home-hero__copy-col {
    padding-left: 293px;
  }

  #tm_builder_outer_content .home-hero .tm_pb_column_1_2:last-child {
    padding-left: 59px;
  }

  .home-hero__copy {
    padding-top: 135px;
  }
}

@media (max-width: 767px) {
  body.home .site-header.default,
  body.home .site-header.transparent,
  body.home .site-header.default.is-sticky,
  body.home .site-header.is-sticky {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 60px !important;
    overflow: visible !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  body.home .site-header .header-container,
  body.home .site-header .header-container.transparent,
  body.home .site-header.is-sticky .header-container {
    position: static !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  body.home .site-header .header-container .header-btn {
    display: none !important;
  }
  
  .site-header .header-container .site-branding {
    display: block !important;
    position: fixed; /* Gắn cứng lên màn hình thay vì absolute */
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 9999 !important;
  }
  
  .site-header .header-container .site-branding img {
    height: 35px;
    width: auto;
  }

  .desktop-logo { display: none !important; }
  .mobile-logo { display: block !important; }

  body.home .mobile-panel,
  body.home .site-header .mobile-panel,
  body.home .site-header:not(.is-sticky) .mobile-panel,
  body.home .site-header.is-sticky .mobile-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    visibility: visible !important;
    height: 60px !important;
    padding: 10px 20px 10px 10px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #ececee !important;
    box-shadow: 0 2px 6px rgba(136, 136, 136, 0.26) !important;
  }

  body.home .mobile-panel > .menu-toggle {
    order: 1;
    flex: 0 0 auto;
  }

  body.home .site-header .menu-toggle-inner,
  body.home .site-header .menu-toggle-inner::before,
  body.home .site-header .menu-toggle-inner::after {
    background-color: #121212;
  }

  body.home .site-header .menu-toggle:hover .menu-toggle-inner,
  body.home .site-header .menu-toggle:hover .menu-toggle-inner::before,
  body.home .site-header .menu-toggle:hover .menu-toggle-inner::after {
    background-color: var(--fb-accent);
  }

  body.home .mobile-panel__right {
    order: 2;
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  body.home .mobile-panel__right .header-search {
    display: block;
    position: relative;
    padding: 0 10px;
    color: #121212;
  }

  body.home .site-header .mobile-panel .search-form__toggle,
  body.home .site-header .mobile-panel .search-form__close {
    color: #121212;
  }

  body.home .site-header .mobile-panel .search-form__toggle:before {
    content: "\f002";
    font-family: FontAwesome;
    color: #121212;
  }

  body.home .site-header .mobile-panel .search-form__close:before {
    content: "\f00d";
    font-family: FontAwesome;
    color: #121212;
  }

  .site-header.search-active .header-container .site-branding,
  .site-header.search-active .site-branding,
  .site-header.search-active .site-logo {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.home .site-header.search-active .mobile-panel .search-form {
    position: fixed !important;
    top: 0 !important;
    left: 52px !important;
    right: 52px !important;
    height: 60px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10002 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
  }

  body.home .site-header.search-active .mobile-panel .search-form__field[type="search"] {
    color: #121212 !important;
    background: transparent !important;
    width: 100% !important;
    height: 40px !important;
    flex: 1 1 auto;
  }

  body.home .main-navigation.mobile-menu {
    background: #131313;
  }

  .home-hero {
    min-height: 0;
    padding: 80px 0 20px;
  }

  .home-hero__copy {
    padding-top: 20px;
  }

  #tm_builder_outer_content .home-hero .home-hero__copy-col {
    padding: 20px 40px 40px;
  }

  .home-hero__eyebrow {
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0.2em;
    font-weight: 600;
  }

  .home-hero__title {
    font-size: 37px;
    line-height: 1;
    letter-spacing: 0.07em;
    font-weight: 600;
  }

  .home-hero__title-rest {
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: 0.1em;
    font-weight: 600;
  }

  .home-hero__subtitle {
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: 0;
    font-weight: 300;
    text-wrap: balance;
  }

  .home-hero__divider {
    margin: 20px 0;
  }

  .home-hero__text {
    font-size: 16px;
    line-height: 1.89;
    letter-spacing: 0;
  }

  .home-stats__item {
    min-height: 280px;
    padding: 85px 24px 75px;
  }

  #tm_builder_outer_content .tm_pb_section.home-quote {
    padding: 100px 0 70px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
  }

  .home-quote .tm_pb_column_1_2 {
    background: transparent;
  }

  #tm_builder_outer_content .home-quote__title {
    margin: 0 0 20px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
  }

  #tm_builder_outer_content .home-quote__text {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.54;
    letter-spacing: 0;
  }

  #tm_builder_outer_content .home-quote__source {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.54;
    letter-spacing: 0;
  }

  .site-footer,
  .footer-area-wrap,
  .footer-area,
  .footer-area .widget,
  .footer-container,
  .site-info,
  .site-info-wrap {
    text-align: center !important;
  }

  .footer-logo,
  .footer-logo_link,
  .footer-logo_img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-area .widget-title {
    font-size: 24px !important;
    font-weight: 300 !important;
    text-align: center !important;
  }

  .footer-subscribe,
  .footer-area .subscribe-block__input-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .site-footer .social-list .social-list__items {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    list-style: none !important;
  }

  .site-footer .social-list .menu-item {
    display: inline-block !important;
    list-style: none !important;
  }

  .home-takeaways,
  .home-ebooks,
  .home-audience,
  .home-reviews,
  .home-contact {
    padding: 70px 0 50px;
  }

  .home-hero__visual {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 28px;
  }
}

/* Mở rộng form đăng ký ở footer để bằng với form phía trên */
.footer-subscribe.subscribe-block__form {
  width: 100% !important;
  max-width: 500px !important; /* Giới hạn độ rộng để thẳng hàng với form liên hệ (rộng khoảng 500px) */
  margin-left: 0;
}

.footer-subscribe .subscribe-block__input-group {
  width: 100%;
}

/* Light inner pages (checkout, profile, …) — header in document flow */
@media (min-width: 768px) {
  body.home .site-header.site-header--light.default {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 0 !important;
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    box-shadow: none !important;
    z-index: 20;
  }

  body.home .site-header.site-header--light .header-container,
  body.home .site-header.site-header--light .header-container.transparent,
  body.home .site-header.site-header--light .header-container.invert {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 0 !important;
    overflow: visible !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  body.home .site-header.site-header--light .main-navigation {
    position: relative !important;
    display: flex !important;
    width: auto !important;
  }

  body.home .site-header.site-header--light .header-container .header-btn {
    display: inline-flex !important;
  }

  body.home .site-header.site-header--light .main-navigation .menu > li > a {
    color: #121212 !important;
  }

  body.home .site-header.site-header--light .main-navigation .menu > li > a:hover,
  body.home .site-header.site-header--light .main-navigation .menu > li > a:focus {
    color: var(--fb-accent) !important;
  }
}

@media (max-width: 767px) {
  body.home .site-header.site-header--light.default,
  body.home .site-header.site-header--light.default.is-sticky {
    position: relative !important;
    top: auto !important;
    margin-top: 60px !important;
    background: #fbf9f6 !important;
    z-index: 1001;
  }

  body.home .site-header.site-header--light .header-container {
    height: auto !important;
    min-height: 0 !important;
  }
}

body.home:has(.checkout-page) #page > :not(.site-header):not(.tm-top-bar),
body.home:has(.checkout-empty) #page > :not(.site-header):not(.tm-top-bar),
body.home:has(.profile-page) #page > :not(.site-header):not(.tm-top-bar) {
  position: relative;
  z-index: 1;
}


