/* ==========================================================================
   VnLuxury 2026 Theme — High-End Editorial Luxury Magazine
   Zero-Radius Clean Modern Editorial Aesthetic
   ========================================================================== */

:root {
  --lux-gold: #C5A059;
  --lux-gold-light: #F4E8C1;
  --lux-gold-dark: #9A7B38;
  --lux-gold-metallic: #B8973E;
  --lux-black: #000;
  --lux-dark: #121316;
  --lux-charcoal: #1C1D21;
  --lux-body: #1f1f1f;
  --lux-body-muted: #6B7280;
  --lux-bg: #F4F5F8;
  --lux-white: #FFFFFF;
  --lux-border: #E5E7EB;
}

/* ==========================================================================
   Zero Border-Radius & Strict No-Border Policy
   ========================================================================== */
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--lux-bg);
  color: var(--lux-body);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', Georgia, Cambria, serif;
  color: var(--lux-black);
  line-height: 1.5;
  letter-spacing: normal;
  font-feature-settings: "pnum" 1, "lnum" 1;
}

/* Section Headings Font Size 20px */
.editorial-section-head .head-title,
.editorial-section-head .head-title a,
h2.head-title,
h2.head-title a,
.lux-section-title,
.lux-section-title a {
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

/* Item Titles Font Size Exactly 18px */
h3,
h3 a,
h3 > a,
.card-title,
.card-title a,
.card-title > a,
.post-title,
.post-title a,
.post-title > a,
.story-title,
.story-title a,
.story-title > a,
article h3,
article h3 a,
article h3 > a,
.lux-card-title,
.lux-card-title a,
.lux-card-title > a,
.youtube-video-watch-page h3,
.youtube-video-watch-page h3 a {
  font-size: 18px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--lux-gold-metallic);
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Strict Body, Excerpt, and Description Text Color (#1f1f1f / var(--lux-body))
   ========================================================================== */
p.lux-card-excerpt,
p.lux-card-desc,
.lux-card-excerpt,
.lux-card-desc,
.blog-details-wrap .post-detail p,
.blog-details-wrap .post-detail div,
.blog-details-wrap .sapo,
.blog-details-wrap p,
.post-excerpt {
  color: var(--lux-body) !important; /* #1f1f1f */
}

/* ==========================================================================
   E-Magazine Dynamic & Inherited Color Rules (Editor CMS priority)
   ========================================================================== */
.emagazine-article,
.emagazine-article p,
.emagazine-article div,
.emagazine-article span,
.emagazine-article .sapo,
.emagazine-article .post-detail,
.emagazine-article .post-detail p,
.emagazine-article .ema-content,
.emagazine-article .ema-content p {
  color: inherit !important;
}

/* ==========================================================================
   Dark Backgrounds, Footer & YouTube Video Page Color Overrides
   ========================================================================== */
footer,
footer p,
footer span,
footer div,
footer li,
footer a,
.youtube-video-watch-page,
.youtube-video-watch-page p,
.youtube-video-watch-page span,
.youtube-video-watch-page div,
.youtube-video-watch-page .sapo,
.youtube-video-watch-page .post-detail,
.youtube-video-watch-page .post-detail p,
.lux-featured-video,
.lux-featured-video p,
.lux-featured-video span,
.lux-emagazine-section,
.lux-emagazine-section p,
.lux-offcanvas,
.lux-offcanvas p,
.lux-offcanvas span,
.lux-offcanvas a,
.dark p,
.dark span,
.dark div {
  color: #e5e7eb !important;
}

footer strong,
footer b,
footer h4,
.youtube-video-watch-page h1,
.youtube-video-watch-page h2,
.youtube-video-watch-page h3,
.youtube-video-watch-page h4,
.youtube-video-watch-page strong,
.lux-featured-video h2,
.lux-featured-video strong {
  color: #ffffff !important;
}

footer .text-lux-gold,
footer a:hover,
.youtube-video-watch-page .text-lux-gold,
.youtube-video-watch-page .text-lux-goldLight,
.lux-featured-video .text-lux-gold {
  color: #d4af37 !important;
}

footer .text-gray-400,
footer .text-white\/50,
footer .text-white\/60,
.youtube-video-watch-page .text-gray-400 {
  color: #9ca3af !important;
}

/* ==========================================================================
   Strict Font Size Policy
   ========================================================================== */
html, body, p, span, a, time, div, figcaption, input, button, select, textarea {
  font-size: 14px;
}

.text-xs,
[class*="text-xs"],
.text-\[11px\],
.text-\[12px\],
.text-\[13px\] {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.text-sm {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Container */
.container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Breadcrumb Wrapper */
.lux-breadcrumb-wrapper {
  padding-top: 1.25rem;
  padding-bottom: 0.75rem;
}

/* Card Tag (Replacing author/date) */
.lux-card-tag {
  display: inline-block;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lux-gold-dark);
  margin-bottom: 0.35rem;
}

.lux-card-tag:hover {
  color: var(--lux-black);
}

/* Reading Progress Bar */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #C5A059, #F4E8C1, #9A7B38);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Sticky Header */
.lux-sticky-header {
  transition: all 0.25s ease;
}

.lux-sticky-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

/* Navigation Links & Dropdowns — Centered (Desktop only >= 1024px) */
@media (max-width: 1023px) {
  .lux-nav-menu {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .lux-nav-menu {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}

.lux-nav-menu .main-navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.lux-nav-menu .main-navbar > li {
  position: relative;
  white-space: nowrap;
}

.lux-nav-menu .main-navbar > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  text-transform: uppercase;
  color: #111827;
  padding: 0.75rem 0.6rem;
  position: relative;
  transition: color 0.2s ease;
}

.lux-nav-menu .main-navbar > li > a::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: var(--lux-gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.lux-nav-menu .main-navbar > li > a:hover::after,
.lux-nav-menu .main-navbar > li.active > a::after {
  transform: scaleX(1);
}

.lux-nav-menu .main-navbar > li > a:hover,
.lux-nav-menu .main-navbar > li.active > a {
  color: var(--lux-gold-dark);
}

/* Submenu Dropdown */
.lux-nav-menu .main-navbar .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid var(--lux-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  z-index: 50;
  list-style: none;
  margin: 0;
}

.lux-nav-menu .main-navbar li.dropdown:hover > .dropdown-menu,
.lux-nav-menu .main-navbar li.dropdown.open > .dropdown-menu {
  display: flex;
}

.lux-nav-menu .main-navbar .dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 14px !important;
  text-transform: uppercase;
  color: #374151;
  font-weight: 600;
  border-bottom: 1px solid #F3F4F6;
  white-space: nowrap;
}

.lux-nav-menu .main-navbar .dropdown-menu li a:hover {
  background: #F9FAFB;
  color: var(--lux-gold-dark);
}

/* Section Header Editorial Style */
.editorial-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #111827;
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
}

.editorial-section-head .head-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px !important;
  font-weight: 800;
  text-transform: uppercase;
  color: #0B0C0E;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.editorial-section-head .head-title a {
  font-size: 20px !important;
  color: #0B0C0E;
}

.editorial-section-head .head-title a:hover {
  color: var(--lux-gold-dark);
}

.editorial-section-head .head-title::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 3px;
  background: var(--lux-gold);
  margin-left: 0.5rem;
}

.editorial-section-head .head-link {
  font-size: 13px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.editorial-section-head .head-link:hover {
  color: var(--lux-gold-dark);
}

/* Modal Search Overlay */
.lux-search-overlay {
  display: none !important;
}

.lux-search-overlay.active {
  display: flex !important;
  position: fixed;
  inset: 0;
  background: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9990;
  align-items: center;
  justify-content: center;
}

/* Offcanvas Drawer (Right Side) */
.lux-offcanvas {
  display: none !important;
}

.lux-offcanvas.active {
  display: flex !important;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #0B0C0E;
  color: #FFFFFF;
  z-index: 9995;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.lux-offcanvas-backdrop {
  display: none !important;
}

.lux-offcanvas-backdrop.active {
  display: block !important;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9994;
}

/* Post Detail Content */
.post-detail {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #1F2937;
}

.post-detail p {
  margin-bottom: 1.25rem;
}

.post-detail img,
.article-content img,
.post-gallery-trigger {
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  display: block;
  cursor: pointer !important;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.post-detail img:hover,
.article-content img:hover,
.post-gallery-trigger:hover {
  opacity: 0.95;
  filter: brightness(1.03);
}

.post-detail figure {
  margin: 1.75rem 0;
  text-align: center;
}

.post-detail figcaption {
  font-size: 14px !important;
  color: var(--lux-body-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

.post-detail blockquote {
  padding: 1.25rem 1.75rem;
  margin: 1.75rem 0;
  background: #F9FAFB;
  border-left: 3px solid var(--lux-gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--lux-black);
}

.post-detail h2, .post-detail h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
  color: var(--lux-black);
}

/* Floating Back To Top Button */
.lux-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  background: var(--lux-black);
  color: var(--lux-gold);
  border: 1px solid rgba(197, 160, 89, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 90;
}

.lux-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.lux-back-to-top:hover {
  background: var(--lux-gold);
  color: var(--lux-black);
  transform: translateY(-2px);
}

/* Overlay Titles Strict White */
.overlay-title, .lead-story-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Pagination Styling (Zero Radius, Clean Gold Accent)
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  background: #FFFFFF;
  border: 1px solid var(--lux-border);
  color: #374151;
  font-weight: 600;
  font-size: 14px !important;
  transition: all 0.2s ease;
}

.pagination li a:hover {
  background: #0B0C0E;
  color: var(--lux-gold);
  border-color: #0B0C0E;
}

.pagination li.active span,
.pagination li.active a {
  background: #0B0C0E !important;
  color: var(--lux-gold) !important;
  border-color: #0B0C0E !important;
}

.pagination li.disabled span {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   Drawer Navigation Styling
   ========================================================================== */
.drawer-categories-menu,
.lux-drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.drawer-categories-menu > li,
.lux-drawer-nav-list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-categories-menu > li > a,
.lux-drawer-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  color: #FFFFFF !important;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.drawer-categories-menu > li > a:hover,
.lux-drawer-nav-list > li > a:hover {
  color: var(--lux-gold) !important;
  padding-left: 0.35rem;
}

.drawer-categories-menu .dropdown-menu {
  list-style: none;
  padding: 0.25rem 0 0.5rem 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  border: none;
}

.drawer-categories-menu .dropdown-menu li a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important;
  text-transform: uppercase;
  padding: 0.25rem 0;
  display: block;
}

.drawer-categories-menu .dropdown-menu li a:hover {
  color: var(--lux-gold) !important;
}
