@media (min-width: 1300px) {
    body.home .site-content .container {
        max-width: 1180px;
        margin: 0 auto;
    }
}

/* Header */
.menu-top-header {
    background: #990000;
}
.language-menu .gtranslate_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.main-navigation ul li:hover>ul li.outstanding {
    background-image: linear-gradient(to right, #990000, #ffcc66);
}
.main-navigation ul li:hover>ul li.outstanding a {
    color: #fff;
    font-weight: 600;
}
.footer-widgets-area {
    margin-bottom: 60px;
}

/* Show - hide menu */
body.home .menu-top-header {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 999;
}
.homepage-banner:hover .menu-top-header {
    display: block;
}

.hidden-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.homepage-banner.video.active-video {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.menu-search .btn {
    background: no-repeat;
    border: none;
    margin-left: 30px;
    box-shadow: 0 2px 4px #ffffcc;
}

.home-about-hyh {
    padding: 50px 0 30px 0;
    margin-top: -5px;
    position: relative;
}
.home-about-hyh::before,
.home-brand-history::before,
.home-experience-space::before,
.home-production-process::before,
.home-certification::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../assets/img/bg2.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    z-index: -1;
}
.home-about-hyh .box-content .description {
    color: rgba(255, 255, 204, 0.85);
    font-size: 20px;
    text-align: justify;
}
.home-about-hyh .box-image {
    position: relative;
}
.home-about-hyh .box-image::before {
    /* content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-image: url('../../assets/img/bg-tr.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top; */
}
.home-about-hyh .box-image img {
    width: 100%;
    position: relative;
    z-index: 3;
}

/* Slider */
.home-about-ecosystem {
  padding: 50px 0;
  background-image: url('../../assets/img/bg1.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.home-about-ecosystem .container {
    position: relative;
}
.home-about-ecosystem .hyh-slide {
  display: flex !important; 
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.home-about-ecosystem .slide-image {
  flex: 0 0 55%;
  border-radius: 16px;
  overflow: hidden;
}
.home-about-ecosystem .slide-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.home-about-ecosystem .slide-content {
  flex: 0 0 40%;
}
.home-about-ecosystem .slide-content .heading {
    font-size: 60px !important;
}
.home-about-ecosystem .slide-title {
    font-size: 30px;
    font-weight: bold;
    color: #990000;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: normal;
}
.home-about-ecosystem .slide-desc {
    font-size: 22px;
    color: #990000;
}

.home-about-ecosystem .hyh-prev,
.home-about-ecosystem .hyh-next {
    position: absolute;
    bottom: 0;
    transform: translateY(0%);
    background: transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    color: #ffffcc;
    border: 2px solid #990000;
}
.home-about-ecosystem .hyh-prev { 
    left: 60%; 
    transform: rotate(-180deg);
}
.home-about-ecosystem .hyh-next { 
    right: 32%; 
}

.hyh-prev::before,
.hyh-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 13px solid #990000;
}
.home-about-ecosystem .hyh-prev:hover,
.home-about-ecosystem .hyh-next:hover {
    background: #990000;
}
.home-about-ecosystem .hyh-prev:hover::before,
.home-about-ecosystem .hyh-next:hover::before {
    border-left: 13px solid #ffffcc;
}


/* Dots */
.home-about-ecosystem .hyh-dots {
  text-align: center;
}
.home-about-ecosystem .hyh-dots ul {
    display: inline-flex !important;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    bottom: -60px;
}
.home-about-ecosystem .hyh-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #990000;
    border: none;
    font-size: 0;
    cursor: pointer;
}
.home-about-ecosystem .hyh-dots li button::before {
    display: none;
}
.home-about-ecosystem .hyh-dots li.slick-active button {
    background: transparent;
    border: 2px solid #990000;
    width: 30px;
    border-radius: 5px;
    margin-left: -6px; 
}

.home-brand-history {
    padding: 50px 0;
    position: relative;
}
.home-brand-history .heading {
    text-align: center;
}
.home-brand-history .box-content {
    font-size: 18px;
    color: rgba(255, 255, 204, 0.85);
    text-align: justify;
}

.home-experience-space {
    position: relative;
    padding: 70px 0 30px;
}
.home-experience-space .row.align-items-center,
.home-tea-category .row.align-items-center {
    padding: 0 30px;
}
.home-experience-space .description {
    font-size: 20px;
    color: rgba(255, 255, 204, 0.85);
    font-style: italic;
    margin-bottom: 40px;
}

.experience-space-content {
  display: flex;
  overflow: hidden;
  gap: 2px;
  width: 100%;
  height: 500px;
}
.experience-item {
  flex: 1;
  position: relative;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
  overflow: hidden;
}
.experience-item .thumb {
  width: 100%;
  height: 100%;
}
.experience-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.experience-item:hover img {
  /* transform: scale(1.1); */
}

/* title */
.experience-item .title {
    opacity: 0;
    transition: all 0.5s ease;
    transition-delay: 0s;
}
.experience-item .title-fl {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    z-index: 2;
    width: 100%;
    background-image: linear-gradient(to top, rgb(128 4 4 / 70%), rgb(128 4 4 / 30%), transparent);
    padding: 50px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.experience-item .title-fl h3 {
  font-size: 22px;
  margin: 0;
  text-transform: uppercase;
  color: #ffffcc;
  font-weight: 600;
}
.experience-item .title-fl a {
  background: #ffffcc;
  color: #990000;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}

/* flex control */
.experience-item {
  flex: 0.7;
}
.experience-item.active {
  flex: 1.5;
}
.experience-space-content:hover .experience-item {
  flex: 0.7; 
}
.experience-space-content .experience-item:first-child {
  /* flex: 1.5;  */
}
.experience-space-content:hover .experience-item:hover {
  flex: 1.5; 
}
.experience-item.active .title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.experience-dots {
  text-align: center;
  margin-top: 20px;
}
.experience-dots .dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin: 0 15px;
  border-radius: 50%;
  background: #ffffcc;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 2px solid #ffffcc;
}
.experience-dots .dot.active {
  background: transparent; 
}

.home-raw-material-area .title-des {
    padding: 0 5%;
    text-align: center;
    color: #990000;
    position: relative;
    z-index: 3;
}
.home-raw-material-area .title-des .heading {
    color: #990000;
    background: no-repeat;
    -webkit-text-fill-color: unset;
    font-size: 40px;
}
.home-raw-material-area .title-des .description {
    font-size: 20px;
    font-style: italic;
    line-height: 1.4;
}
.home-raw-material-area .container {
    position: relative;
}
.home-raw-material-area .banner-image {
    margin-top: -12%;
}
.home-raw-material-area {
    padding-bottom: 0;
}

.home-production-process {
    position: relative;
    padding: 60px 0;
}
.home-production-process .row .title {
    text-align: center;
    padding: 0 5%;
}
.home-production-process h2.heading {
    line-height: normal;
    font-size: 40px;
}
.home-production-process .description {
    text-align: justify;
    font-size: 20px;
    color: rgba(255, 255, 204, 0.85);
    margin-bottom: 40px;
}
.production-process-content .item {
    background: #ffffcc;
    text-align: center;
    padding: 15px 10px;
    border-radius: 20px;
    color: #990000;
    margin-bottom: 15px;
}
.production-process-content .item img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}
.production-process-content .item .title {
    padding: 0;
    line-height: normal;
    font-weight: 500;
    height: 80px;    
    overflow-y: auto;
}
.production-process-content .bg-wrapper {
    position: relative;
    width: 100%;
    height: 357px;
    overflow: hidden;
}
.production-process-content .bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.slick-slider .slick-dots li {
    margin: 0 5px !important;
}
.slick-slider .slick-dots li button::before {
    display: none;
}
.slick-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #990000;
    border: none;
    font-size: 0;
    cursor: pointer;
}
.slick-slider .slick-dots li.slick-active button {
    background: transparent;
    border: 2px solid #990000;
}
.home-press .slick-dotted.slick-slider {
    margin-bottom: 0;
}
.home-press .slick-slider .slick-dots {
    bottom: -10px;
}
.home-press .heading {
    text-align: center;
    color: #990000;
    background: none;
    -webkit-text-fill-color: unset
}
.home-certification h2.heading {
    text-align: center;
}

.home-achievements h2.heading {
    text-align: left;
    color: #990000;
    background: none;
    -webkit-text-fill-color: unset;
    line-height: normal;
}
.home-achievements .description {
    text-align: right;
    color: #990000;
    font-size: 24px;
    font-style: italic;
}

.achievements-content {
    margin-top: 40px;
}
.achievements-content .videos-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
    height: 500px; 
}
.achievements-content .first-element {
    flex: 2;
    display: flex;
}
.achievements-content .first-element .video-item {
    flex: 1;
    height: 100%;
}
.achievements-content .first-element iframe,
.achievements-content .first-element video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.achievements-content iframe {
    border-radius: 15px;
}

.achievements-content .second-element {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto; 
    padding-right: 15px;
}
.achievements-content .second-element .video-item {
    flex: 0 0 50%;
}
.achievements-content .second-element iframe,
.achievements-content .second-element video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* ---------- Responsive ---------- */



/*  */
@media (max-width: 991px) {
    .home-about-ecosystem .hyh-prev, .home-about-ecosystem .hyh-next {
        display: none;
    }
}





/*  */
@media (max-width: 991px) and (min-width: 768px) {
    .experience-space-content {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    .experience-item {
        flex: 0 0 48%;
        transition: transform 0.3s ease;
    }
    .experience-item.active {
        transform: scale(1.05);
    }
}


/* --- Responsive ----- */
@media (max-width: 850px) {
    .footer-widgets-area {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    section#sangiaodienptvn-contact-footer-outer {
        display: none !important;
    }

}

@media (max-width: 767px) {
    section#sangiaodienptvn-contact-footer-outer {
        display: block !important;
    }
    .social-toggle-wrapper {
        display: none !important;
    }
    .menu-top-header {
        display: block !important;
        position: relative;
    }
    .homepage-banner.banner-image .waiting-image img {
        height: 500px;
        object-fit: cover;
    }
    .homepage-banner .banner-content .content-editor {
        font-size: 14px;
    }
    .homepage-banner .banner-content .content-editor h1, 
    .homepage-banner .banner-content .content-editor h2, 
    .homepage-banner .banner-content .content-editor h3, 
    .homepage-banner .banner-content .content-editor h4 {
        margin: 10px 0 20px;
    }
    .homepage-banner .banner-content .logo-content {
        display: none;
    }
    .home-about-hyh .box-content .description {
        font-size: 16px;
    }
    .home-about-ecosystem .hyh-slide {
        display: block !important;
    }
    .home-about-ecosystem .slide-content .heading {
        font-size: 48px !important;
        margin: 0;
    }
    .home-about-ecosystem .slide-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .home-about-ecosystem .slide-desc {
        font-size: 16px;
    }
    .home-about-ecosystem .hyh-prev, .home-about-ecosystem .hyh-next {
        display: none !important;
    }
    .home-about-ecosystem .hyh-dots ul {
        display: block !important;
    }
    .home-brand-history .box-content {
        font-size: 16px;
    }
    .home-experience-space .row.align-items-center, 
    .home-tea-category .row.align-items-center {
        padding: unset;
    }
    .home-tea-category .description,
    .home-experience-space .description,
    .home-production-process .description {
        font-size: 16px;
    }
    .product-category .product-card img {
        height: auto;
        border-radius: 50px;
    }
    .experience-space-content {
        height: auto;
    }

    .experience-space-content {
        display: block;
    }
    .experience-item {
        width: 100%;
        margin-bottom: 15px;
    }
    .experience-item.active {
        flex: none;
        transform: none; 
    }
    .experience-item .title-fl h3 {
        font-size: 18px;
    }
    .experience-item .title-fl {
        padding: 20px 10px;
    }
    .experience-item .title-fl a {
        padding: 4px 10px;
        font-size: 13px;
    }
    .home-raw-material-area .title-des .description {
        font-size: 16px;
        text-align: justify;
    }
    .home-production-process .row .title {
        padding: 0 10px;
    }
    .home-production-process h2.heading {
        font-size: 22px !important;
    }
    .home-raw-material-area,
    .home-achievements {
        padding-top: 30px;
    }
    .production-process-content .item img {
        height: 35px;
    }
    .home-achievements .description {
        font-size: 20px;
        line-height: normal;
    }
    .achievements-content {
        margin-top: 25px;
    }
    
    .slick-carousel.achievements-mb-item {
        margin: 30px 0 0 !important;
    }
    .experience-item .title {
        opacity: 1;
    }
    


}

/* --- Responsive ----- */
@media (max-width: 576px) {
    .second-element .video-item {
        flex: 0 0 100%; 
    }

    .homepage-banner .mouse-scroll {
        bottom: 5%;
    }
    .homepage-banner .mouse {
        width: 22px;
        height: 40px;
    }
    .homepage-banner .arrow {
        margin: 0px auto 0;
        width: 10px;
        height: 10px;
    }

}