/* ==========================================================================
   Theme Festival Thăng Long 2026 - Exact Home-1.jpg Design System
   ========================================================================== */

:root {
  --ftl-blue: #0067b1;
  --ftl-blue-dark: #004b82;
  --ftl-blue-header: #005596;
  --ftl-gold: #f8d568;
  --ftl-gold-btn: #d4b574;
  --ftl-gold-text: #93743c;
  --ftl-bg-body: #ebdcc0;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ebdcc0;
  color: #1a1a1a;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Master Background Layer Elements Matching Home-1.jpg */
body {
  position: relative;
  background-color: #ebdcc0;
  overflow-x: clip;
  background-image: url('../images/layer-21.webp?v=1.0');
  background-position: center top;
  background-size: cover;
}

.bg {
  max-width: 100%;
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Header Background Pattern (Top Page) */
.bg-1 {
  width: 100%;
  height: 1200px;
  max-height: 100vw;
  top: 0;
  left: 0;
  right: 0;
  background-image: url('../images/pattern-header-bg.webp');
  background-position: top center;
  background-size: cover;
}

/* Footer Background Pattern (Bottom Page) */
.bg-2 {
  width: 100%;
  height: 2000px;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url('../images/pattern-footer-bg.webp');
  background-position: bottom center;
  background-size: cover;
}

/* Central Dragon/Festival Pattern (Body Texture) */
/* .bg-3 {
  width: 100%;
  height: 3476px;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  
  
  opacity: 0.7;
} */

/* Left Floating Cloud */
.bg-4 {
  width: 580px;
  height: 530px;
  left: 0;
  top: 10%;
  background-image: url('../images/cloud-bg.webp');
  background-position: left top;
  background-size: contain;
  opacity: 0.9;
}

/* Right Floating Cloud */
.bg-5 {
  width: 580px;
  height: 530px;
  right: 0;
  top: 10%;
  background-image: url('../images/cloud-bg.webp');
  background-position: right top;
  background-size: contain;
  transform: scaleX(-1);
  opacity: 0.9;
}

/* Top Left Building (Chùa Một Cột / Cổng Thăng Long) */
.bg-6 {
  width: 392px;
  height: 333px;
  max-width: 26vw;
  left: 0;
  bottom: 23%;
  background-image: url('../images/house-left-1.webp');
  background-position: left top;
  background-size: contain;
}

/* Top Right Building (Hoàng Thành Thăng Long) */
.bg-7 {
  width: 600px;
  height: 300px;
  max-width: 36vw;
  right: 0;
  bottom: 23%;
  background-image: url('../images/house-right-1.webp');
  background-position: right top;
  background-size: contain;
}

/* Bottom Left Heritage Building */
.bg-8 {
  width: 420px;
  height: 450px;
  max-width: 26vw;
  left: 10%;
  bottom: 21%;
  background-image: url('../images/layer-18.webp');
  background-position: left bottom;
  background-size: contain;
}

/* Bottom Right Heritage Building */
.bg-9 {
  width: 420px;
  height: 380px;
  max-width: 26vw;
  right: 10%;
  bottom: 21%;
  background-image: url('../images/house-right-2.webp');
  background-position: right bottom;
  background-size: contain;
}

header.site-header,
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
}

.article-header {
  position: static;
}

.article-title {
  font-size: 20px;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .article-title {
    font-size: 23px;
  }
}

@media (min-width: 768px) {
  .article-title {
    font-size: 26px !important;
  }
}

.site-nav.primary-nav {
  display: none;
}

#ftlMobileMenuBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .site-nav.primary-nav {
    display: flex;
  }
  #ftlMobileMenuBtn {
    display: none;
  }
}

main,
.site-main,
.content-wrapper {
  position: relative;
}

footer,
.site-footer,
.ftl-footer-bg {
  position: relative;
  z-index: 10;
}
.introduce-banner, .post-card-item{
  background: url('../images/bg-footer.webp');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}

.post-card-item{
  background-position: left center;
}

.all-day-activities-grid{
  border: 8px solid #cabaa1;
  gap: 4px;
}

.all-day-activity-card{
  position: relative;
}
.all-day-activity-card .card-footer-bar{
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, #0067b100 0%, #004B82 100%);
}

/* Section Title with Flourishes matching Home-1.jpg */
.ftl-title-wrap {
  text-align: center;
  margin-bottom: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ftl-section-title {
  color: #0067b1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .ftl-section-title {
    font-size: 1.95rem;
  }
}

.ftl-title-flourish {
  width: 32px;
  height: 10px;
  background: radial-gradient(circle, #0067b1 2px, transparent 2.5px);
  background-size: 8px 8px;
  opacity: 0.85;
  display: none !important;
}

/* Royal Blue Table Styling Matching Home-1.jpg exactly */
.ftl-table-blue {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0px;
  overflow: hidden;
  background-color: #0067b1;
  color: #ffffff;
  font-size: 13.5px;
}

.ftl-table-blue th {
  background-color: #004b82;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 11px 16px;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ftl-table-blue th:last-child {
  border-right: none;
}

.ftl-table-blue td {
  padding: 10px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  vertical-align: middle;
}

.ftl-table-blue td:last-child {
  border-right: none;
}

.ftl-table-blue tbody tr:last-child td {
  border-bottom: none;
}

.ftl-table-blue tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

/* Golden Button Pill matching Home-1.jpg */
.ftl-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #d4b574;
  color: #4a340e !important;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 28px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ftl-btn-gold:hover {
  background-color: #e2c68a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* Header Background */
.ftl-header-bg {
  background-color: #005596;
  background-image: url('../images/bg-header.webp');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

/* Footer Background with dragon-bg-pattern.webp */
.ftl-footer-bg {
  background-color: #004b82;
  background-image: url('../images/bg-footer.webp');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
}
.top-video-header{display: none;}

.article-content h1,
.ftl-article-body h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: #0067b1;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content h2,
.ftl-article-body h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  color: #0067b1;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content h3,
.ftl-article-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.article-content h4,
.ftl-article-body h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #1e293b;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.article-content h5,
.ftl-article-body h5 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #334155;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.article-content h6,
.ftl-article-body h6 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #475569;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .article-content h1,
  .ftl-article-body h1 {
    font-size: 26px;
  }
  .article-content h2,
  .ftl-article-body h2 {
    font-size: 22px;
  }
  .article-content h3,
  .ftl-article-body h3 {
    font-size: 19px;
  }
  .article-content h4,
  .ftl-article-body h4 {
    font-size: 17px;
  }
}

.article-content p,
.ftl-article-body p {
  margin-bottom: 1rem;
}

.article-content ul,
.ftl-article-body ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-content ol,
.ftl-article-body ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-content li,
.ftl-article-body li {
  margin-bottom: 0.35rem;
}

.article-content blockquote,
.ftl-article-body blockquote {
  border-left: 4px solid #0067b1;
  padding-left: 1rem;
  margin: 1.25rem 0;
  font-style: italic;
  color: #475569;
}

.article-content img,
.ftl-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1rem auto;
}