.longwang-home-s4 {
  --longwang-s4-brand-green: #0b4a3a;
  --longwang-s4-gold-fallback: #d6a85b;
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #FFF7EA;
  background-image: url("../images/BG3dieu.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding: 48px 0;
}

.longwang-home-s4::before {
  content: none;
}

.longwang-home-s4-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

.longwang-home-s4-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.longwang-home-s4-title {
  margin: 0;
  color: #005841;
  font-family: var(--longwang-font-display, "Long Wang VIP-MOLLIE-GLASTON", "Long Wang SVN-Gilroy", sans-serif);
  font-size: 32px;
  line-height: 1.5;
  font-weight: 400;
  text-transform: capitalize;
}

.longwang-home-s4-more {
  display: inline-flex;
  align-items: center;
  color: #005841;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 2px solid #b47f2b;
  padding: 0 10px 5px;
}

.longwang-home-s4-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(0, 88, 65, 0.28);
  margin-bottom: 24px;
}

.longwang-home-s4-tabs-wrap {
  position: relative;
}

.longwang-home-s4-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  text-transform: capitalize;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 36px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.longwang-home-s4-tabs:empty {
  display: none;
  margin-bottom: 0;
}

.longwang-home-s4-tabs::-webkit-scrollbar {
  display: none;
}

.longwang-home-s4-tab {
  border: 0;
  background: transparent;
  color: #005841;
  font-family: var(--longwang-font-display, "Long Wang VIP-MOLLIE-GLASTON", "Long Wang SVN-Gilroy", sans-serif);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  padding: 0;
  white-space: nowrap;
  flex: 0 0 auto;
  cursor: pointer;
  text-transform: capitalize;
  margin-bottom: 32px;
}

.longwang-home-s4-tabs-nav {
  display: none;
  position: absolute;
  top: 50%;
  margin-top: -2px;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--longwang-s4-gold-fallback);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.longwang-home-s4-tabs-nav .longwang-home-s4-heroicon {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.longwang-home-s4-tabs-nav:hover {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.longwang-home-s4-tabs-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.longwang-home-s4-tabs-prev {
  left: 0;
}

.longwang-home-s4-tabs-next {
  right: 0;
}

.longwang-home-s4-tab.is-active {
  color: #a58349;
}

.longwang-home-s4-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  overflow: visible;
}

.longwang-home-s4-carousel {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: visible;
  contain:layout;
  transform: translateZ(0);
}

.longwang-home-s4-carousel .stf__parent {
  width: 100% !important;
  margin: 0 auto;
  overflow: visible !important;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.longwang-home-s4-carousel .stf__wrapper {
  width: 100% !important;
  overflow: visible !important;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.longwang-home-s4-carousel .stf__block {
  overflow: visible !important;
  box-shadow: 0 22px 44px rgba(2, 18, 42, 0.32);
  background: #f4e6ca;
  transition: transform 300ms ease;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.longwang-home-s4-carousel .stf__item {
  background: #f4e6ca;
  contain: paint;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.longwang-home-s4-carousel .stf__outerShadow,
.longwang-home-s4-carousel .stf__innerShadow,
.longwang-home-s4-carousel .stf__hardShadow,
.longwang-home-s4-carousel .stf__hardInnerShadow {
  pointer-events: none;
}

.longwang-home-s4.is-performance-pageflip .longwang-home-s4-carousel .stf__block {
  box-shadow: 0 16px 32px rgba(2, 18, 42, 0.24);
}

.longwang-home-s4.is-performance-pageflip .longwang-home-s4-carousel .stf__outerShadow,
.longwang-home-s4.is-performance-pageflip .longwang-home-s4-carousel .stf__innerShadow,
.longwang-home-s4.is-performance-pageflip .longwang-home-s4-carousel .stf__hardShadow,
.longwang-home-s4.is-performance-pageflip .longwang-home-s4-carousel .stf__hardInnerShadow {
  display: none !important;
}

.longwang-home-s4-carousel-wrap.is-single-cover .longwang-home-s4-carousel .stf__block {
  transform: translateX(-25%);
}

.longwang-home-s4-carousel-wrap.is-single-back-cover .longwang-home-s4-carousel .stf__block {
  transform: translateX(25%);
}

.longwang-home-s4-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
}

.longwang-home-s4-carousel-wrap.is-flip-hint-next::after {
  right: 46px;
  transform: rotate(45deg);
  animation: longwangS4FlipHintPulse 1.2s ease-in-out infinite;
}

.longwang-home-s4-carousel-wrap.is-flip-hint-prev::after {
  left: 46px;
  transform: rotate(-135deg);
  animation: longwangS4FlipHintPulse 1.2s ease-in-out infinite;
}

.longwang-home-s4.is-pageflip-moving .longwang-home-s4-carousel-wrap::after {
  animation-play-state: paused;
  opacity: 0;
}

@keyframes longwangS4FlipHintPulse {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.95;
  }
}

.longwang-home-s4-pageflip-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f4e6ca;
  contain: paint;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.longwang-home-s4-pageflip-page.is-category-active {
  animation: longwangS4CategoryGlow 1000ms ease-out both;
}

@keyframes longwangS4CategoryGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(165, 131, 73, 0);
  }
  32% {
    box-shadow: 0 0 28px 8px rgba(165, 131, 73, 0.55);
  }
  100% {
    box-shadow: 0 0 8px 0 rgba(165, 131, 73, 0);
  }
}

.longwang-home-s4-pageflip-page.has-image-backdrop {
  background-color: #f4e6ca;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.longwang-home-s4-pageflip-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.longwang-home-s4-pageflip-page.is-empty {
  background:
    radial-gradient(circle at 50% 42%, rgba(11, 74, 58, 0.08) 0%, rgba(11, 74, 58, 0) 44%),
    #f4e6ca;
}

.longwang-home-s4-pageflip-empty {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../images/Logo-longwang.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: clamp(140px, 46%, 320px) auto;
}

.longwang-home-s4-book {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  box-shadow: 0 28px 52px rgba(0, 42, 31, 0.34);
  background: #f4e6ca;
  overflow: hidden;
}

.longwang-home-s4-spread {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  z-index: 1;
}

.longwang-home-s4-spread.is-current {
  z-index: 2;
}

.longwang-home-s4-spread.is-prev {
  z-index: 3;
  pointer-events: none;
}

.longwang-home-s4-page {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  background: #f4e6ca;
  cursor: pointer;
  overflow: hidden;
}

.longwang-home-s4-page + .longwang-home-s4-page {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.longwang-home-s4-page::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  pointer-events: none;
  z-index: 1;
}

.longwang-home-s4-page--left::before {
  right: 0;
  background: linear-gradient(90deg, rgba(0, 88, 65, 0) 0%, rgba(0, 42, 31, 0.32) 100%);
}

.longwang-home-s4-page--right::before {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 42, 31, 0.34) 0%, rgba(0, 88, 65, 0) 100%);
}

.longwang-home-s4-page.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(11, 74, 58, 0.08) 0%, rgba(11, 74, 58, 0) 44%),
    #f4e6ca;
  cursor: default;
}

.longwang-home-s4-page-empty-label {
  color: rgba(255, 238, 214, 0.84);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  text-align: center;
  padding: 12px;
}

.longwang-home-s4-page img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.longwang-home-s4-spread.is-prev.is-forward .longwang-home-s4-page--right {
  transform-origin: left center;
  animation: longwangS4SpreadFlipOutForward 620ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

.longwang-home-s4-spread.is-prev.is-backward .longwang-home-s4-page--left {
  transform-origin: right center;
  animation: longwangS4SpreadFlipOutBackward 620ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

.longwang-home-s4-spread.is-current.is-animating.is-forward .longwang-home-s4-page--left {
  animation: longwangS4SpreadFlipInForward 620ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

.longwang-home-s4-spread.is-current.is-animating.is-backward .longwang-home-s4-page--right {
  animation: longwangS4SpreadFlipInBackward 620ms cubic-bezier(0.2, 0.78, 0.18, 1) both;
}

@keyframes longwangS4SpreadFlipOutForward {
  0% {
    transform: rotateY(0deg);
    filter: brightness(1);
  }
  100% {
    transform: rotateY(-108deg);
    filter: brightness(0.76);
  }
}

@keyframes longwangS4SpreadFlipOutBackward {
  0% {
    transform: rotateY(0deg);
    filter: brightness(1);
  }
  100% {
    transform: rotateY(108deg);
    filter: brightness(0.76);
  }
}

@keyframes longwangS4SpreadFlipInForward {
  0% {
    transform: translateX(-8px) scale(0.992);
    filter: brightness(0.92);
  }
  100% {
    transform: translateX(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes longwangS4SpreadFlipInBackward {
  0% {
    transform: translateX(8px) scale(0.992);
    filter: brightness(0.92);
  }
  100% {
    transform: translateX(0) scale(1);
    filter: brightness(1);
  }
}

.longwang-home-s4-card {
  position: relative;
  padding: 0;
  margin: 0;
}

.longwang-home-s4-card::after {
  content: none;
}

.longwang-home-s4-card img {
  border-radius: 0;
}

.longwang-home-s4-card-title {
  display: none;
}

.longwang-home-s4-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--longwang-s4-gold-fallback);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.longwang-home-s4-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.longwang-home-s4-nav:hover {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.longwang-home-s4-prev {
  left: -12px;
}

.longwang-home-s4-next {
  right: -12px;
}

.longwang-home-s4-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 80px;
}

.longwang-home-s4-inner .longwang-home-s4-dots {
  margin: 0 0 80px;
}

.longwang-home-s4-dot {
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16.8px;
  height: 16.8px;
}

.longwang-home-s4-dot-icon {
  width: 16.8px;
  height: 16.8px;
  display: block;
}

.longwang-home-s4-empty {
  margin: 0;
  color: #005841;
  font-size: 16px;
}

.longwang-home-s4-nav .longwang-home-s4-heroicon {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.longwang-home-s4-open-lightbox {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: #ffffff;
  color: var(--longwang-s4-gold-fallback);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.longwang-home-s4-open-lightbox:hover {
  background: rgba(255, 255, 255, 0.74);
}

.longwang-home-s4-open-lightbox .longwang-home-s4-heroicon {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.longwang-home-s4-tabs-nav .longwang-home-s4-heroicon,
.longwang-home-s4-nav .longwang-home-s4-heroicon,
.longwang-home-s4-open-lightbox .longwang-home-s4-heroicon {
  color: var(--longwang-s4-gold-fallback);
}

@media (max-width: 1024px) {
  .longwang-home-s4-tabs {
    padding: 0 44px;
  }

  .longwang-home-s4-tabs-nav {
    display: inline-flex;
  }

  .longwang-home-s4-tab {
    font-size: 18px;
  }

  .longwang-home-s4-nav {
    width: 38px;
    height: 38px;
  }

  .longwang-home-s4-prev {
    left: 6px;
  }

  .longwang-home-s4-next {
    right: 6px;
  }

}

@media (max-width: 767px) {
  .longwang-home-s4 {
    padding: 36px 0;
  }

  .longwang-home-s4-head {
    margin-bottom: 24px;
  }

  .longwang-home-s4-title {
    font-size: 28px;
  }

  .longwang-home-s4-tab {
    font-size: 17px;
  }

  .longwang-home-s4-carousel {
    aspect-ratio: 2 / 1;
  }

  .longwang-home-s4-tabs {
    padding: 0 40px;
  }

  .longwang-home-s4-open-lightbox {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -45px;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    z-index: 5;
  }

  .longwang-home-s4-open-lightbox .longwang-home-s4-heroicon {
    width: 18px;
    height: 18px;
  }

  .longwang-home-s4-dots {
    visibility: hidden;
  }

  .longwang-home-s4-card-title {
    font-size: 15px;
  }

}

.longwang-home-s4 {
  background-color: #f4e6ca !important;
  background-image: none !important;
  padding: 0 0 180px;
}

.longwang-home-s4::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: min(56.46vw, 813px);
  min-height: 560px;
  background-image: url("../images/frame-eng-s2.svg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  pointer-events: none;
}

.longwang-home-s4-inner {
  max-width: 1320px;
  padding: 0;
}

.longwang-home-s4-head {
  min-height: 82px;
  margin-bottom: 12px;
}

.longwang-home-s4-heading-stack {
  display: flex;
  width: 307px;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.longwang-home-s4-eyebrow {
  margin: 0;
  color: #0b4a3a;
  font-family: "SVN-Gilroy", "Long Wang SVN-Gilroy", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  text-transform: uppercase;
}

.longwang-home-s4-title {
  color: #0b4a3a;
  font-family: "1FTV VIP Mollie Glaston", "Long Wang VIP-MOLLIE-GLASTON", "Long Wang SVN-Gilroy", sans-serif;
  font-size: 42px;
  line-height: 53px;
  font-weight: 400;
  text-transform: none;
}

.longwang-home-s4-more-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.longwang-home-s4-more {
  display: inline-flex;
  align-items: center;
  width: 117px;
  min-width: 117px;
  height: 26px;
  justify-content: center;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: url("../images/framebutton.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #ffffff;
  font-family: "SVN-Gilroy", "Long Wang SVN-Gilroy", sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 200ms ease, transform 200ms ease;
}

.longwang-home-s4-more-note {
  display: inline-flex;
  width: auto;
  min-width: 132px;
  align-items: center;
  justify-content: center;
  color: #0b4a3a;
  font-family: "SVN-Gilroy", "Long Wang SVN-Gilroy", sans-serif;
  font-size: 14px;
  line-height: 15px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease, text-decoration-color 200ms ease, transform 200ms ease;
}

.longwang-home-s4-more:hover,
.longwang-home-s4-more:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.longwang-home-s4-more-note:hover,
.longwang-home-s4-more-note:focus-visible {
  color: #b47f2b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transform: translateY(-1px);
}

.longwang-home-s4-more:focus-visible,
.longwang-home-s4-more-note:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.longwang-home-s4-divider {
  --longwang-s4-divider-color: #0b4a3a;
  position: relative;
  display: flex;
  width: 100%;
  height: 23.76px;
  align-items: center;
  justify-content: center;
  gap: 11.41px;
  margin: 0 0 24px;
  padding: 0;
  background: transparent;
}

.longwang-home-s4-divider-line {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  height: 2.56px;
  min-width: 0;
  max-width: 630px;
}

.longwang-home-s4-divider-line::before {
  content: "";
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  height: 0.5px;
  border-top: 0.51243px solid var(--longwang-s4-divider-color);
}

.longwang-home-s4-divider-line::after {
  content: "";
  display: block;
  width: 2.56px;
  height: 2.56px;
  flex: 0 0 2.56px;
  border-radius: 999px;
  background: var(--longwang-s4-divider-color);
}

.longwang-home-s4-divider-line--left {
  justify-content: flex-end;
}

.longwang-home-s4-divider-line--right {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.longwang-home-s4-divider-mark {
  position: relative;
  display: block;
  width: 23.76px;
  height: 23.76px;
  flex: 0 0 23.76px;
  background-image: url("../images/union-4.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 23.76px 23.76px;
}

.longwang-home-s4-divider-mark::before,
.longwang-home-s4-divider-mark::after {
  content: none;
}

.longwang-home-s4-tabs {
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.longwang-home-s4-tab {
  padding: 4px 12px;
  color: #0b4a3a;
  font-family: "SVN-Gilroy", "Long Wang SVN-Gilroy", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase ;
  transition: color 180ms ease;
}

.longwang-home-s4-tab.is-active {
  background: transparent;
  color: #a58349;
  box-shadow: none;
}

.longwang-home-s4-tab:not(.is-active):hover {
  background: transparent;
  color: #a58349;
}

.longwang-home-s4-carousel {
  aspect-ratio: 2 / 1;
}


@media (max-width: 1399px) {
  .longwang-home-s4-inner {
    max-width: none;
    padding: 0 clamp(32px, 4.1vw, 60px);
  }
}

@media (max-width: 1024px) {
  .longwang-home-s4 {
    padding-bottom: 56px;
  }

  .longwang-home-s4::before {
    height: min(58vw, 520px);
    min-height: 420px;
    background-size: auto 100%;
  }

  .longwang-home-s4-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .longwang-home-s4-head {
    align-items: center;
  }
  .longwang-home-s4-tab{
    margin-bottom: 0;
  }

  .longwang-home-s4-tabs {
    justify-content: flex-start;
  }

  .longwang-home-s4-carousel {
    aspect-ratio: 2 / 1;
  }
  .longwang-home-s4-inner .longwang-home-s4-dots{
    margin: 48px 0 0px;
  }
}

@media (max-width: 767px) {
  .longwang-home-s4 {
    padding: 0 0 80px;
  }

  .longwang-home-s4::before {
    height: 360px;
    min-height: 360px;
    background-size: auto 100%;
  }

  .longwang-home-s4-inner {
    padding: 0 16px;
  }

  .longwang-home-s4-head {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .longwang-home-s4-heading-stack {
    width: auto;
    min-width: 0;
    gap: 2px;
  }

  .longwang-home-s4-more-stack {
    justify-self: end;
    gap: 8px;
  }

  .longwang-home-s4-more {
    position: relative;
    isolation: isolate;
    width: max-content;
    min-width: 60px;
    height: 26px;
    margin-inline: 6px;
    padding: 0 12px;
    background-color: #005841;
    background-image: none;
    color: #ffffff;
    font-size: 0.8rem;
  }

  .longwang-home-s4-more::before,
  .longwang-home-s4-more::after {
    content: "";
    position: absolute;
    top: 0;
    width: 6px;
    height: 100%;
    background: url("../images/framebutton-xemthem.svg") center / 100% 100% no-repeat;
    pointer-events: none;
  }

  .longwang-home-s4-more::before {
    right: 99%;
  }

  .longwang-home-s4-more::after {
    left: 99%;
    transform: scaleX(-1);
  }

  .longwang-home-s4-eyebrow {
    font-size: 12px;
    line-height: 16px;
  }

  .longwang-home-s4-title {
    font-size: 30px;
    line-height: 1.4;
  }

  .longwang-home-s4-more-note {
    min-width: 118px;
    font-size: 11px;
    line-height: 13px;
  }

  .longwang-home-s4-divider {
    margin-bottom: 18px;
  }

  .longwang-home-s4-divider-line {
    display: block;
    height: 3px;
    background: url("../images/line-menuhome.svg") center / 100% 3px no-repeat;
  }

  .longwang-home-s4-divider-line::before,
  .longwang-home-s4-divider-line::after {
    content: none;
  }

  .longwang-home-s4-divider-line--right {
    transform: scaleX(-1);
  }

  .longwang-home-s4-tabs {
    padding: 0 38px;
  }

  .longwang-home-s4-tab {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .longwang-home-s4-dots {
    margin-top: 32px;
  }
}

.longwang-home-s4-view-mode {
  position: absolute;
  top: 14px;
  right: 62px;
  z-index: 4;
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  background: #ffffff;
  color: var(--longwang-s4-gold-fallback);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.longwang-home-s4-view-mode:hover,
.longwang-home-s4-view-mode:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.longwang-home-s4-view-mode:focus-visible {
  outline: 1px solid rgba(180, 127, 43, 0.72);
  outline-offset: 3px;
}

.longwang-home-s4-view-mode-icon {
  display: none;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.longwang-home-s4-view-mode-icon--single,
.longwang-home-s4.is-single-page-view .longwang-home-s4-view-mode-icon--spread {
  display: inline-flex;
}

.longwang-home-s4.is-single-page-view .longwang-home-s4-view-mode-icon--single {
  display: none;
}

.longwang-home-s4-view-mode .longwang-home-s4-heroicon {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--longwang-s4-gold-fallback);
}

@media (max-width: 1024px) {
  .longwang-home-s4-view-mode {
    display: inline-flex;
  }

  .longwang-home-s4.is-single-page-view .longwang-home-s4-carousel {
    aspect-ratio: 1 / 1;
    width: min(100%, 720px);
    margin-right: auto;
    margin-left: auto;
  }

  .longwang-home-s4.is-single-page-view .longwang-home-s4-carousel-wrap.is-single-cover .longwang-home-s4-carousel .stf__block,
  .longwang-home-s4.is-single-page-view .longwang-home-s4-carousel-wrap.is-single-back-cover .longwang-home-s4-carousel .stf__block {
    transform: none;
  }

  .longwang-home-s4.is-single-page-view .longwang-home-s4-carousel-wrap::after {
    display: none;
  }

  .longwang-home-s4.is-single-page-view .longwang-home-s4-prev {
    left: max(6px, calc(50% - 378px));
  }

  .longwang-home-s4.is-single-page-view .longwang-home-s4-next {
    right: max(6px, calc(50% - 378px));
  }
}

@media (max-width: 767px) {
  .longwang-home-s4.is-single-page-view .longwang-home-s4-carousel {
    width: 100%;
  }

  .longwang-home-s4-open-lightbox {
    transform: translateX(-44px);
  }

  .longwang-home-s4-view-mode {
    top: auto;
    right: auto;
    bottom: -45px;
    left: 50%;
    width: 36px;
    height: 36px;
    transform: translateX(8px);
    z-index: 5;
  }

  .longwang-home-s4-view-mode:hover,
  .longwang-home-s4-view-mode:focus-visible {
    transform: translateX(8px) translateY(-1px);
  }

  .longwang-home-s4-view-mode .longwang-home-s4-heroicon {
    width: 18px;
    height: 18px;
  }
}
