/* Homepage refinements requested on 05/11/2026. */
.tgnt-lifestyle .tgnt-bep .banner-inner {
  isolation: isolate;
}
.tgnt-lifestyle .tgnt-bep .banner-bg {
  z-index: 0;
}
.tgnt-lifestyle .tgnt-bep .banner-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 27, 51, .40), rgba(5, 27, 51, .12) 65%);
  opacity: 0;
  transition: opacity .3s ease;
}
.tgnt-lifestyle .tgnt-bep .banner-layers {
  z-index: 2;
}
.tgnt-lifestyle .tgnt-bep .banner .text-box {
  top: 9% !important;
  left: 50% !important;
  width: 92% !important;
  z-index: 3;
  opacity: 0;
  transform: translate(-50%, 8px) !important;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.tgnt-lifestyle .tgnt-bep .banner .text-box h3 {
  color: #fff !important;
  font-size: clamp(22px, 2.7vw, 44px) !important;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 14, 36, .65);
}
.tgnt-lifestyle .tgnt-bep .banner:hover .banner-inner::after,
.tgnt-lifestyle .tgnt-bep .banner:focus-within .banner-inner::after {
  opacity: 1;
}
.tgnt-lifestyle .tgnt-bep .banner:hover .text-box,
.tgnt-lifestyle .tgnt-bep .banner:focus-within .text-box {
  opacity: 1;
  transform: translate(-50%, 0) !important;
}

/* Zoom the picture without moving its pedestal, name or surrounding layout. */
.tgnt-home-products .img-inner {
  overflow: hidden;
}
.tgnt-home-products .img-inner img,
.tgnt-card .tgnt-card__img,
.tgnt-mega-card .tgnt-card__img,
.tgnt-gallery .product-gallery-slider .slide img:not(.zoomImg) {
  transition: transform .35s ease;
  transform-origin: 50% 65%;
}
.tgnt-home-products .img:hover .img-inner img,
.tgnt-home-products .img:focus-within .img-inner img {
  transform: scale(1.06);
}
body.tgnt-listing .tgnt-card:hover .tgnt-card__img,
body.tgnt-listing .tgnt-card:focus-within .tgnt-card__img,
.tgnt-mega-card:hover .tgnt-card__img,
.tgnt-mega-card:focus-within .tgnt-card__img,
.tgnt-gallery .product-gallery-slider .slide:hover img:not(.zoomImg) {
  transform: scale(1.07);
}

body.home #main .woocommerce-Price-amount,
.tgnt-card__price .woocommerce-Price-amount,
.tgnt-mega-card__price .woocommerce-Price-amount,
.tgnt-product .price-wrapper .woocommerce-Price-amount {
  color: #b90000 !important;
}
body.home #main del .woocommerce-Price-amount,
.tgnt-card__price del .woocommerce-Price-amount,
.tgnt-mega-card__price del .woocommerce-Price-amount,
.tgnt-product .price-wrapper del .woocommerce-Price-amount {
  color: #505050 !important;
}

/* The mountain lake belongs only behind the Why Choose TGNT section. */
.tgnt-why > .section-bg > img.bg {
  object-fit: cover;
  object-position: 50% 50%;
}
.tgnt-brand-partners {
  background-color: #fff;
}
.tgnt-news-big .box-image {
  width: 100%;
  align-self: stretch;
}
.tgnt-news-big .image-cover > a {
  display: block;
  position: absolute;
  inset: 0;
}

/* Lift the wave behind the content while keeping the section filled. */
.tgnt-footer > .section-bg > img.bg {
  top: -95px !important;
  height: calc(100% + 95px) !important;
  object-fit: cover;
  object-position: center top;
}
.tgnt-footer .section-content > .row > .col > .col-inner > p,
.tgnt-footer .section-content h4 {
  text-shadow: 0 1px 3px rgba(0, 20, 55, .2);
}

@media (max-width: 849px) {
  .tgnt-footer > .section-bg > img.bg {
    top: -65px !important;
    height: calc(100% + 65px) !important;
  }
}
@media (hover: none) {
  .tgnt-lifestyle .tgnt-bep .banner-inner::after {
    opacity: .8;
  }
  .tgnt-lifestyle .tgnt-bep .banner .text-box {
    opacity: 1;
    transform: translate(-50%, 0) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tgnt-home-products .img:hover .img-inner img,
  body.tgnt-listing .tgnt-card:hover .tgnt-card__img,
  .tgnt-mega-card:hover .tgnt-card__img,
  .tgnt-gallery .product-gallery-slider .slide:hover img:not(.zoomImg) {
    transform: none;
  }
}

/* Follow-up: align the technology controls with the full-width artwork. */
.tgnt-technology .banner { background-color: #fff; }
.tgnt-technology .banner-layers {
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: visible;
}
.tgnt-technology .tgnt-technology-title {
  top: 7% !important;
  left: 50% !important;
  width: 94% !important;
  transform: translateX(-50%) !important;
}
.tgnt-technology .tgnt-technology-title .text-inner {
  text-align: center;
}
.tgnt-technology .tgnt-technology-title h2 {
  font-size: clamp(22px, 2.2vw, 44px) !important;
  color: #123b70 !important;
  line-height: 1.15;
}
.tgnt-technology .tgnt-technology-title h2 span {
  color: #1670e8 !important;
}
.tgnt-technology .tgnt-technology-title p {
  font-size: clamp(14px, 1.4vw, 25px) !important;
  color: #1670e8 !important;
}
.tgnt-technology .tgnt-technology-play {
  left: 72% !important;
  top: 44% !important;
  width: auto !important;
  transform: translate(-50%, -50%) !important;
}
.tgnt-technology .video-button-wrapper,
.tgnt-technology .open-video {
  margin: 0;
}
.tgnt-technology .open-video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 4.2vw, 76px);
  height: clamp(44px, 4.2vw, 76px);
  min-height: 0;
  padding: 0;
}
.tgnt-steps > span {
  padding-inline: 20px !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* The photograph occupies the right half; fade its edge into the navy. */
.tgnt-dealer-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #07142e;
  padding: clamp(40px, 6vw, 90px) 7%;
  color: #fff;
}
.tgnt-dealer-banner::before,
.tgnt-dealer-banner::after {
  content: "";
  position: absolute;
  inset: 0 0 0 50%;
  z-index: -1;
  pointer-events: none;
}
.tgnt-dealer-banner::before {
  background: url('/wp-content/uploads/2026/10/tgnt-home-34c-nen-dai-ly.jpg') center center / cover no-repeat;
}
.tgnt-dealer-banner::after {
  background: linear-gradient(90deg, #07142e 0%, rgba(7, 20, 46, .96) 6%, rgba(7, 20, 46, .55) 24%, rgba(7, 20, 46, .12) 43%, transparent 65%);
}
.tgnt-dealer-banner__content {
  position: relative;
  width: 50%;
  max-width: 820px;
  padding-right: clamp(16px, 2vw, 36px);
}
.tgnt-dealer-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
  margin-bottom: 30px;
}
.tgnt-dealer-benefits img {
  width: min(92px, 100%);
  height: auto;
}
.tgnt-dealer-benefits > div {
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.5;
}

.tgnt-header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
}
.tgnt-header-actions .tgnt-search-toggle,
.tgnt-cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 44px;
  padding: 7px;
  color: #123b70;
}
.tgnt-header-actions .tgnt-search-toggle { order: 0; }
.tgnt-cart-link:hover {
  color: #1670e8;
}
@media (max-width: 999px) {
  .tgnt-header-actions { order: 3; }
}
@media (max-width: 849px) {
  .tgnt-dealer-banner {
    padding: 40px 6% 360px;
  }
  .tgnt-dealer-banner__content {
    width: 100%;
    padding-right: 0;
  }
  .tgnt-dealer-banner::before,
  .tgnt-dealer-banner::after {
    inset: auto 0 0;
    height: 340px;
  }
  .tgnt-dealer-banner::after {
    background: linear-gradient(180deg, #07142e, rgba(7, 20, 46, .7) 12%, transparent 60%);
  }
}
@media (max-width: 549px) {
  .tgnt-header-main { gap: 6px; }
  .tgnt-header-actions { gap: 2px; }
  .tgnt-logo { min-width: 0; }
  .tgnt-logo img { max-width: 100%; }
  .tgnt-technology .banner {
    padding-top: calc(33.3333% + 112px) !important;
  }
  .tgnt-technology .banner-bg {
    top: 112px;
    height: calc(100% - 112px);
  }
  .tgnt-technology .banner-layers {
    top: 112px;
    height: calc(100% - 112px);
  }
  .tgnt-technology .tgnt-technology-title {
    top: -92px !important;
  }
  .tgnt-technology .tgnt-technology-title h2 { font-size: 23px !important; }
  .tgnt-technology .tgnt-technology-title p { font-size: 15px !important; }
  .tgnt-technology .open-video { width: 40px; height: 40px; }
  body.home .tgnt-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Decorative headings can extend beyond the content column without clipping. */
body.home .tgnt-watermark {
  left: 50% !important;
  right: auto !important;
  width: calc(100vw - 32px);
  max-width: none;
  transform: translateX(-50%);
  overflow: visible;
}
.tgnt-watermark--solutions { font-size: clamp(40px, 13vw, 250px); }
.tgnt-watermark--products { font-size: clamp(40px, 12vw, 230px); }
.tgnt-watermark--brand { font-size: clamp(24px, 9vw, 170px); }
