/**
 * Khôi phục layout bị ZipIt Clean Mode purge khỏi style.css
 */

.main-page {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.mainSwpBox,
.mainSwp {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.main-slide {
  height: 100vh !important;
  position: relative;
  overflow: hidden;
}

/* HOME */
.vbg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/img-bg-frame-1-1.jpg") no-repeat center top;
  background-size: cover;
}

.home-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 20px 80px;
}

.main-slide-home .slogan {
  margin-bottom: 0.4rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.btn-download-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 12px 20px;
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-white);
  cursor: pointer;
  text-align: left;
}

.btn-secondary-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
  margin-top: 0.1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: transparent;
  color: var(--color-white);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: var(--color-white-60);
  cursor: pointer;
}

.scroll-text {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

/* NEWS */
.main-slide-news {
  background: #120f0d;
}

.news-section-bg {
  position: absolute;
  inset: 0;
  background: url("../images/news-bg-1.png") no-repeat center;
  background-size: cover;
  opacity: 0.35;
}

.section-header {
  position: relative;
  z-index: 2;
  padding: 90px 20px 20px;
  text-align: center;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  font-size: 28px;
  color: var(--color-gold);
  letter-spacing: 2px;
}

.title-deco {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--color-gold);
}

.innerbox,
.conbox {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

.news-layout {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(216, 195, 145, 0.25);
  padding: 20px;
}

.newsTabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsTabs .btn-tab {
  padding: 8px 16px;
  color: var(--color-white-60);
  border: 1px solid transparent;
  border-radius: 4px;
}

.newsTabs .btn-tab.on {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background: rgba(216, 195, 145, 0.08);
}

.newsTabs .lookmore {
  margin-left: auto;
  color: var(--color-gold);
  font-size: 14px;
}

.newsList .listItem {
  display: none;
}

.newsList .listItem.on {
  display: block;
}

.newsItem {
  display: block;
  position: relative;
  margin-bottom: 12px;
  padding: 16px 16px 16px 120px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.newsItem:hover {
  border-left-color: var(--color-gold);
}

.newsItem .time {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 90px;
  color: var(--color-gold);
  font-size: 13px;
}

.newsItem .timeLine {
  display: none;
}

.newsItem .newsTitle {
  color: var(--color-white);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.newsItem .newsLabel {
  color: var(--color-gold);
  font-style: normal;
}

.newsItem .newsDesc {
  color: var(--color-white-60);
  font-size: 13px;
  line-height: 1.6;
}

.no-news {
  padding: 24px 16px;
  text-align: center;
  color: var(--color-white-60);
}

/* FOOTER */
.main-slide-footer {
  background: #000;
}

.site-footer {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer > .footer {
  position: absolute;
  inset: 0;
  background: url("../images/footer-bg-5938ee55.png") no-repeat center bottom;
  background-size: cover;
  opacity: 0.85;
}

.footer-info,
.footer-cta {
  text-align: center;
}

.health-warning {
  color: var(--color-white-60);
  font-size: 13px;
}

/* News list & detail pages */
.news-detail-page {
  background: #1a1410;
  min-height: 100vh;
}

.news-detail-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.news-detail-header {
  background: #1a1410;
  padding: 24px 20px 16px;
  text-align: center;
}

.news-detail-title {
  font-family: var(--font-vn-bold);
  font-size: 28px;
  color: var(--color-gold);
  margin: 0 0 12px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.news-detail-meta .news-date {
  color: var(--color-white-60);
  font-size: 14px;
}

.news-detail-content {
  background: #1a1410;
  padding: 30px 20px 60px;
}

.news-page > .footer,
body.news-page-scrollable .footer {
  background: #000;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .home-content {
    padding-top: 70px;
  }

  .btn-download-group,
  .btn-secondary-group {
    width: 100%;
  }

  .btn-cta,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .newsTabs .lookmore {
    margin-left: 0;
    width: 100%;
    text-align: right;
  }

  .newsItem {
    padding-left: 16px;
  }

  .newsItem .time {
    position: static;
    width: auto;
    margin-bottom: 8px;
  }
}
