/**
 * Cham Museum - Main Stylesheet
 * 
 * Toàn bộ CSS giao diện chính của Bảo tàng Điêu khắc Chăm Đà Nẵng
 * (Chuyển đổi hoàn chỉnh từ thiết kế gốc, độc lập không phụ thuộc thư mục /html)
 * 
 * @package ChamMuseum
 * @version 1.0.0
 */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600;1,700&family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Colors from note.txt */
  --primary-color: #47180D;
  /* Primary, nav, footer */
  --secondary-bg-color: #FEF5EE;
  /* second background color */
  --accent-color: #D29236;
  /* badge, line, sub title text */
  --link-border-color: #B67A2E;
  /* linktext, border */
  --item-title-color: #000000;
  /* item title, main title */
  --white-color: #FFFFFF;
  /* text in primary color background */
  --date-time-color: #79716B;
  /* date text, time text */
  --blog-title-color: #2C2420;
  /* blog item title */
  --blog-desc-color: #6B5B52;
  /* blog item desc */
  --desc-color: #1C1917;
  /* desc */
  --arrow-icon-color: #5E3903;
  /* arrow icon */
  --footer-sublink-color: #A9A29D;
  /* footer sub-link, copy-right, Designed and Maintained by */
  --input-placeholder-color: #7A7373;
  /* input placeholder */
  --body-color: #454141;
  /* body color */

  /* Fonts */
  --font-title: 'Archivo', sans-serif;
  --font-body: 'Be Vietnam Pro', sans-serif;

  /* Font sizes */
  --fs-48: 48px;
  --fs-43: 43.2px;
  --fs-24: 24px;
  --fs-20: 20px;
  --fs-16: 16px;
  --fs-14: 14px;
  --fs-12: 12px;

  /* Container */
  --container-max-width: 1380px;
  --container-padding: 0 10px;
}

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  color: var(--body-color);
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul,
ol {
  list-style: none;
}

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

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Global Container */
.page-container {
  max-width: var(--container-max-width);
  padding: var(--container-padding);
  margin: 0 auto;
  width: 100%;
}

/* Base image container rule as specified in note.txt */
[class*="-img-container"] {
  background-color: #f0f0f0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

[class*="-img-container"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Common Section Heading */
.section-header {
  margin-bottom: 28px;
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.section-eyebrow .line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--accent-color);
}

.section-eyebrow .eyebrow-text {
  font-size: var(--fs-12);
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 1px;
}

.section-main-title {
  font-size: var(--fs-43);
  font-weight: 700;
  color: var(--item-title-color);
  line-height: 1.2;
}

.section-main-title em,
.section-main-title span.italic-title {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 600;
  color: var(--accent-color);
}

/* Category Filter Tabs */
.section-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-tab-btn {
  padding: 6px 16px;
  font-size: var(--fs-12);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 2px;
  background-color: transparent;
  color: #555555;
  border: 1px solid #D9D2CD;
  transition: all 0.25s ease;
}

.filter-tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-tab-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

/* Badges */
.badge-gold {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   1. HEADER
   ========================================================================== */
header {
  width: 100%;
}

.header-top-banner {
  background-color: #FFFFFF;
  padding: 14px 0;
  border-bottom: 1px solid #F0ECE8;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-flex-1 .logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo-img-container {
  height: 52px;
  background-color: transparent;
}

.header-logo-img-container img {
  object-fit: contain;
}

.header-flex-2 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-14);
  font-weight: 600;
}

.header-lang a {
  color: #8C827A;
}

.header-lang a.active,
.header-lang a:hover {
  color: var(--primary-color);
}

.header-lang span {
  color: #D1CAC3;
}

.header-search-btn {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  padding: 4px;
  cursor: pointer;
  border: none;
  transition: color 0.2s ease;
}

.header-search-btn:hover {
  color: var(--accent-color);
}

/* Nút 3 gạch dọc song song mở mobile menu */
.mobile-menu-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid #D6CBC1;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.mobile-menu-toggle-btn svg {
  transform: rotate(90deg);
}

.mobile-menu-toggle-btn:hover {
  background-color: var(--secondary-bg-color);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.mobile-menu-toggle-btn svg {
  display: block;
}

/* Header Container Desktop Nav */
.header-container {
  background-color: var(--primary-color);
  position: relative;
  z-index: 990;
}

.header-container nav {
  display: flex;
  justify-content: center;
}

.header-container nav ul {
  display: flex;
  align-items: center;
  justify-content: left;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-container nav ul>li {
  position: relative;
}

.header-container nav ul>li>a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  color: var(--white-color);
  font-size: var(--fs-14);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.header-container nav ul>li>a:hover,
.header-container nav ul>li.active>a,
.header-container nav ul>li.has-dropdown:hover>a {
  background-color: rgba(0, 0, 0, 0.25);
  color: var(--accent-color);
}

/* Icon mũi tên xoay lật 180 độ khi hover hoặc mở */
.nav-arrow-icon {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform 0.28s ease;
  transform-origin: center;
}

.header-container nav ul>li:hover .nav-arrow-icon,
.header-container nav ul>li.is-open .nav-arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu Desktop (như ảnh) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  border-radius: 0 0 4px 4px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  pointer-events: none;
  border-top: 2px solid var(--accent-color);
}

.header-container nav ul>li.has-dropdown:hover>.dropdown-menu,
.header-container nav ul>li.has-dropdown:focus-within>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu li {
  width: 100%;
  display: block;
}

.dropdown-menu li a {
  display: block !important;
  width: 100%;
  padding: 12px 24px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #1C1917 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  background-color: transparent !important;
  text-decoration: none;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  text-align: left;
  border-bottom: 1px solid #F5F1ED;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  background-color: #FAF6F2 !important;
  color: var(--accent-color) !important;
  padding-left: 28px !important;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (LAYOUT KÉO TỪ BÊN PHẢI)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 86vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 9999;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

/* Mobile Drawer Header */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #EFEAE5;
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-drawer-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-close-btn {
  background: transparent;
  border: 1px solid #E5DED8;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close-btn:hover {
  background-color: var(--secondary-bg-color);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Mobile Drawer Search Box */
.mobile-drawer-search {
  padding: 16px 20px 8px 20px;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  background-color: var(--secondary-bg-color);
  border: 1px solid #E5DED8;
  border-radius: 4px;
  overflow: hidden;
}

.mobile-search-form input {
  flex: 1;
  padding: 10px 14px;
  font-size: var(--fs-14);
  border: none;
  background: transparent;
  outline: none;
  color: var(--body-color);
  font-family: var(--font-body);
}

.mobile-search-form button {
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer Nav List */
.mobile-drawer-body {
  flex: 1;
  padding: 8px 0;
  overflow-y: auto;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item,
.mobile-nav-list>li {
  border-bottom: 1px solid #F4EFEB;
}

.mobile-nav-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 14px;
}

.mobile-nav-link,
.mobile-nav-list>li>a {
  display: block;
  padding: 13px 20px;
  color: var(--primary-color);
  font-size: var(--fs-14);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  flex: 1;
}

.mobile-nav-link:hover,
.mobile-nav-list>li.active>a,
.mobile-nav-item.active>.mobile-nav-link-row>.mobile-nav-link {
  color: var(--accent-color);
  background-color: var(--secondary-bg-color);
}

.mobile-submenu-toggle {
  background: transparent;
  border: 1px solid #E8E0D8;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #79716B;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.mobile-submenu-toggle svg {
  transition: transform 0.3s ease;
}

.mobile-nav-item.is-expanded .mobile-submenu-toggle {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #FFFFFF;
}

.mobile-nav-item.is-expanded .mobile-submenu-toggle svg {
  transform: rotate(180deg);
}

/* Mobile Submenu Accordion */
.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #FAF7F4;
  display: none;
  border-top: 1px solid #EFEAE4;
}

.mobile-nav-item.is-expanded .mobile-submenu {
  display: block;
}

.mobile-submenu li a {
  display: block;
  padding: 11px 20px 11px 32px;
  color: #454141;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #F1ECE6;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-submenu li:last-child a {
  border-bottom: none;
}

.mobile-submenu li a:hover {
  color: var(--accent-color);
  padding-left: 36px;
}

/* Mobile Drawer Footer */
.mobile-drawer-footer {
  padding: 16px 20px 24px 20px;
  border-top: 1px solid #EFEAE5;
  background-color: #FFFFFF;
}

.mobile-drawer-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-14);
  margin-bottom: 12px;
  color: #79716B;
}

.mobile-drawer-lang a {
  color: #79716B;
  font-weight: 600;
  text-decoration: none;
}

.mobile-drawer-lang a.active {
  color: var(--primary-color);
}

.mobile-drawer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  width: 100%;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.mobile-drawer-phone-btn:hover {
  background-color: #5E1F11;
  color: #FFFFFF;
}

/* ==========================================================================
   2. HERO BANNER
   ========================================================================== */
.hero-banner-section {
  width: 100%;
  background-color: #000000;
  position: relative;
}

.hero-banner-img-container {
  width: 100%;
  height: 580px;
  background-color: #111111;
  position: relative;
}

.hero-slider-pagination {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

/* ==========================================================================
   3. SECTION: TIN TỨC & SỰ KIỆN
   ========================================================================== */
.page-news-section {
  background-color: var(--secondary-bg-color);
  padding: 56px 0 64px 0;
}

.news-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
}

/* Featured Large News */
.news-featured-card {
  display: flex;
  flex-direction: column;
}

.news-featured-img-container {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  border-radius: 2px;
  margin-bottom: 16px;
}

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-date {
  font-size: var(--fs-14);
  color: var(--date-time-color);
}

.news-featured-title {
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--item-title-color);
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-featured-title a:hover {
  color: var(--accent-color);
}

.news-featured-desc {
  font-size: var(--fs-14);
  color: var(--desc-color);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right News List */
.news-right-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-horizontal-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(71, 24, 13, 0.08);
}

.news-horizontal-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-thumb-img-container {
  width: 140px;
  aspect-ratio: 16 / 10;
  border-radius: 2px;
}

.news-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-item-title {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--blog-title-color);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-title a:hover {
  color: var(--accent-color);
}

/* ==========================================================================
   4. SECTION: GIÁO DỤC & TRẢI NGHIỆM
   ========================================================================== */
.page-education-section {
  background-color: #FFFFFF;
  padding: 60px 0 70px 0;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.education-card {
  display: flex;
  flex-direction: column;
}

.education-card-img-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}

.education-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.education-card:hover .education-card-img-container img {
  transform: scale(1.04);
}

.education-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--blog-title-color);
  line-height: 1.35;
  margin-bottom: 8px;
}

.education-card-title a:hover {
  color: var(--accent-color);
}

.education-card-desc {
  font-size: var(--fs-14);
  color: var(--blog-desc-color);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: var(--fs-12);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-detail-link:hover {
  background-color: var(--accent-color);
}

/* ==========================================================================
   5. SECTION: 12 BẢO VẬT QUỐC GIA (SWIPER 2 HÀNG 4 CỘT)
   ========================================================================== */
.page-treasures-section {
  background-color: var(--secondary-bg-color);
  padding: 60px 0 70px 0;
}

/* Swiper Container Custom Styling */
.treasures-swiper-container {
  position: relative;
  width: 100%;
}

.treasures-swiper {
  width: 100%;
  height: 620px;
  overflow: hidden;
}

.treasures-swiper .swiper-wrapper {
  box-sizing: border-box;
}

.treasures-swiper .swiper-slide {
  height: calc((100% - 24px) / 2) !important;
  box-sizing: border-box;
}

/* Card Treasure Item */
.treasure-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.treasure-box-img-container {
  width: 100%;
  aspect-ratio: 167 / 200;
  background-color: var(--primary-color);
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.treasures-swiper .treasure-box-img-container {
  aspect-ratio: auto;
  height: calc(100% - 36px);
}

.treasure-box-img-container img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.treasure-item:hover .treasure-box-img-container {
  transform: translateY(-4px);
}

.treasure-item:hover .treasure-name {
  color: var(--accent-color);
}

.treasure-name {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--item-title-color);
  text-align: center;
  line-height: 1.35;
  padding: 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  transition: color 0.25s ease;
}

/* Swiper pagination dots */
.treasures-pagination {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.treasures-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D6CBC1;
  opacity: 1;
  transition: all 0.25s ease;
  cursor: pointer;
  margin: 0 !important;
}

.treasures-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  transform: scale(1.15);
}

/* ==========================================================================
   6. SECTION: THÔNG BÁO & VĂN BẢN
   ========================================================================== */
.page-documents-section {
  background-color: #FFFFFF;
  padding: 60px 0 70px 0;
}

.documents-table-wrapper {
  position: relative;
  width: 100%;
}

.documents-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #D6CBC1 transparent;
}

.documents-scroll-container::-webkit-scrollbar {
  height: 5px;
}

.documents-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.documents-scroll-container::-webkit-scrollbar-thumb {
  background-color: #D6CBC1;
  border-radius: 4px;
}

.documents-list-table {
  width: 100%;
  min-width: 780px;
  display: flex;
  flex-direction: column;
}

.document-row {
  display: grid;
  grid-template-columns: 100px 140px 1fr 30px;
  gap: 20px;
  align-items: center;
  padding: 16px 12px;
  border-bottom: 1px solid #F1ECE7;
  transition: background-color 0.2s ease;
}

.document-row:hover {
  background-color: var(--secondary-bg-color);
}

.doc-date {
  font-size: var(--fs-14);
  color: var(--date-time-color);
  white-space: nowrap;
}

.doc-badge-col {

  display: flex;
  align-items: center;
}

.doc-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--accent-color);
  background-color: #FFF9F2;
  border: 1px solid #F4DCBA;
  border-radius: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.doc-title {
  min-width: 480px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--blog-title-color);
  line-height: 1.45;
}

.doc-title a:hover {
  color: var(--accent-color);
}

.doc-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--arrow-icon-color);
  font-size: 16px;
  font-weight: bold;
}

/* Fading shadows at left and right */
.doc-scroll-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 5;
}

.doc-scroll-fade.fade-left {
  left: 0;
  background: linear-gradient(to right, #FFFFFF 20%, rgba(255, 255, 255, 0) 100%);
}

.doc-scroll-fade.fade-right {
  right: 0;
  background: linear-gradient(to left, #FFFFFF 20%, rgba(255, 255, 255, 0) 100%);
}

.doc-scroll-fade.is-visible {
  opacity: 1;
}

/* ==========================================================================
   7. SECTION: KIỆT TÁC ĐIÊU KHẮC CHĂM
   ========================================================================== */
.page-masterpieces-section {
  background-color: #FFFFFF;
  padding: 60px 0 80px 0;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: var(--fs-12);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.btn-view-all:hover {
  background-color: var(--accent-color);
}

/* Masterpieces Collage Flex Layout */
.masterpieces-collage-wrapper {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

/* (1) 2 cột ảnh dọc (50%) */
.masterpieces-flex-1 {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  display: flex;
  gap: 20px;
}

.masterpiece-tall-1-img-container,
.masterpiece-tall-2-img-container {
  flex: 1;
  width: calc(50% - 10px);
  aspect-ratio: 1 / 1.5;
  border-radius: 2px;
}

/* (2) 1 ảnh chữ nhật trên và 2 cột ảnh vuông dưới (50%) */
.masterpieces-flex-2 {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.masterpiece-rect-img-container {
  width: 100%;
  aspect-ratio: 16 / 7.6;
  border-radius: 2px;
}

.masterpieces-sq-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.masterpiece-sq-1-img-container,
.masterpiece-sq-2-img-container {
  flex: 1;
  width: calc(50% - 10px);
  aspect-ratio: 1 / 1;
  border-radius: 2px;
}

.masterpieces-collage-wrapper [class*="-img-container"] {
  cursor: pointer;
  text-decoration: none;
}

.masterpieces-collage-wrapper [class*="-img-container"] img {
  transition: transform 0.4s ease;
}

.masterpieces-collage-wrapper [class*="-img-container"]:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 56px 0 0 0;
  font-size: var(--fs-14);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 991px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 575px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-col-1 .footer-logo-img-container {
  width: 172px;
  background-color: transparent;
  margin-bottom: 18px;
}

.footer-col-1 .footer-logo-img-container>a {
  display: block;
  width: 100%;
}

.footer-col-1 .footer-logo-img-container img {
  width: 100%;
}

.footer-desc-text {
  font-size: var(--fs-14);
  line-height: 1.6;
  color: #E2DBD6;
  margin-bottom: 14px;
}

.footer-contact-info p {
  font-size: var(--fs-14);
  color: #E2DBD6;
  line-height: 1.8;
}

.footer-col-title {
  font-size: var(--fs-16);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white-color);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list li a {
  color: var(--footer-sublink-color);
  transition: color 0.25s ease;
}

.footer-links-list li a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

/* Col 4: Social + Newsletter Subscribe */
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 16px;
  transition: all 0.25s ease;
}

.footer-social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Newsletter Subscription Form */
.footer-subscribe-form {
  width: 100%;
}

.footer-input-group {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.footer-input-group input {
  flex: 1;
  padding: 10px 14px;
  background-color: transparent;
  color: var(--body-color);
  font-size: var(--fs-14);
  border: none;
  outline: none;
}

.footer-input-group input::placeholder {
  color: var(--input-placeholder-color);
  /* #7A7373 from note.txt */
}

.footer-input-group button {
  background-color: var(--accent-color);
  color: var(--white-color);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.footer-input-group button:hover {
  background-color: #B67A2E;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  padding: 20px 0;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--fs-14);
  color: var(--footer-sublink-color);
}

.footer-bottom-flex a {
  color: var(--footer-sublink-color);
}

.footer-bottom-flex a:hover {
  color: var(--white-color);
}

/* ==========================================================================
   9. INNER PAGE: ABOUT US (DETAIL & SIDEBAR)
   ========================================================================== */
.nav-arrow-icon {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
}

.page-hero-banner {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: #2C2420;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-banner-img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #2C2420;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 2;
}

.banner-content-container {
  position: relative;
  z-index: 3;
}

.banner-eyebrow {
  display: inline-block;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.banner-main-title {
  font-size: var(--fs-43);
  font-weight: 700;
  color: var(--white-color);
  line-height: 1.25;
}

.banner-desc {
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
  max-width: 680px;
}

/* Detail Section & Layout */
.page-detail-section {
  padding: 60px 0 80px 0;
  background-color: #FFFFFF;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* Detail Main Content */
.detail-main-content {
  color: var(--body-color);
}

.content-block {
  margin-bottom: 36px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-heading {
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--item-title-color);
  margin-bottom: 18px;
  line-height: 1.35;
}

.content-block p {
  font-size: var(--fs-16);
  line-height: 1.8;
  color: #383431;
  margin-bottom: 16px;
  text-align: justify;
}

.content-block p strong {
  color: var(--item-title-color);
  font-weight: 700;
}

.content-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: #47180D;
  margin: 32px 0 14px 0;
  line-height: 1.4;
  border-left: 4px solid var(--accent-color, #D29236);
  padding-left: 12px;
}

.content-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 24px 0 10px 0;
  line-height: 1.4;
}

.content-block ul,
.content-block ol {
  padding-left: 24px;
  margin: 14px 0 20px 0;
  line-height: 1.8;
  color: #383431;
}

.content-block li {
  margin-bottom: 8px;
}

.content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.content-block th {
  background-color: #FEF5EE;
  color: #47180D;
  padding: 14px 16px;
  border: 1px solid #EAE5E1;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-block td {
  padding: 12px 16px;
  border: 1px solid #EAE5E1;
  color: #334155;
  line-height: 1.6;
}

.content-block tr:nth-child(even) td {
  background-color: #faf8f5;
}

.content-block tr:hover td {
  background-color: #f5ede6;
}

.content-block iframe {
  max-width: 100%;
  border-radius: 6px;
  display: block;
}

.content-block img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Detail Sidebar */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  width: 100%;
}

.sidebar-widget-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--item-title-color);
  margin-bottom: 16px;
}

.sidebar-menu-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #EAE5E1;
}

.sidebar-menu-list li {
  border-bottom: 1px solid #EAE5E1;
}

.sidebar-menu-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--body-color);
  transition: all 0.25s ease;
}

.sidebar-menu-list li.active a {
  color: var(--accent-color);
  font-weight: 600;
}

.sidebar-menu-list li a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.sidebar-menu-list .menu-arrow {
  color: #A9A29D;
  font-size: 15px;
  transition: color 0.25s ease;
}

.sidebar-menu-list li.active .menu-arrow,
.sidebar-menu-list li a:hover .menu-arrow {
  color: var(--accent-color);
}

/* Sidebar CTA Card */
.sidebar-cta-card {
  background-color: var(--primary-color);
  padding: 32px 28px;
  border-radius: 2px;
  color: var(--white-color);
}

.cta-card-eyebrow {
  display: block;
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cta-card-title {
  font-family: var(--font-title);
  font-style: italic;
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--white-color);
  line-height: 1.35;
  margin-bottom: 18px;
}

.cta-card-link {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--white-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}

.cta-card-link:hover {
  color: var(--accent-color);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.floating-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
}

.floating-btn.phone-btn {
  background-color: #D29236;
  color: #FFFFFF;
}

.floating-btn.phone-btn:hover {
  background-color: #B67A2E;
  transform: scale(1.08);
}

.floating-btn.scroll-top-btn {
  background-color: #79716B;
  color: #FFFFFF;
  opacity: 0.9;
}

.floating-btn.scroll-top-btn:hover {
  background-color: var(--primary-color);
  opacity: 1;
  transform: scale(1.08);
}

/* ==========================================================================
   10. INNER PAGE: ABOUT US 2 (ORGANIZATIONAL STRUCTURE / CƠ CẤU TỔ CHỨC)
   ========================================================================== */
.org-section {
  margin-bottom: 36px;
}

.org-section:last-child {
  margin-bottom: 0;
}

.org-section-title {
  font-size: var(--fs-20);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--item-title-color);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.org-sub-info {
  margin-bottom: 16px;
  font-size: var(--fs-14);
  color: var(--body-color);
  line-height: 1.6;
}

.org-sub-info p {
  margin-bottom: 4px;
}

.org-sub-info p strong {
  color: var(--item-title-color);
  font-weight: 600;
}

.org-sub-info a {
  color: var(--item-title-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.org-sub-info a:hover {
  color: var(--accent-color);
}

.org-personnel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.personnel-card {
  background-color: var(--secondary-bg-color);
  border-radius: 2px;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.personnel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(71, 24, 13, 0.06);
}

.personnel-avatar-img-container {
  width: 80px;
  height: 96px;
  aspect-ratio: 80 / 96;
  border-radius: 2px;
  flex-shrink: 0;
}

.personnel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body-color);
}

.personnel-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--item-title-color);
  margin-bottom: 4px;
}

.personnel-info p {
  margin: 0;
}

.personnel-info p strong {
  color: var(--item-title-color);
  font-weight: 600;
}

.personnel-info a {
  color: var(--body-color);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.personnel-info a:hover {
  color: var(--accent-color);
}

/* ==========================================================================
   11. EXHIBITIONS PAGE (TRƯNG BÀY THƯỜNG XUYÊN)
   ========================================================================== */
.page-exhibitions-section {
  padding: 50px 0 80px 0;
  background-color: #FFFFFF;
}

.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 36px;
}

.exhibition-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  group;
}

.exhibition-img-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background-color: #f0f0f0;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.exhibition-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.exhibition-card:hover .exhibition-img-container img {
  transform: scale(1.05);
}

.exhibition-title {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--item-title-color);
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.exhibition-card:hover .exhibition-title {
  color: var(--accent-color);
}

/* ==========================================================================
   12. ONLINE EXHIBITIONS PAGE (TRƯNG BÀY TRỰC TUYẾN - EXHIBITIONS 2)
   ========================================================================== */
.treasures-grid,
.online-exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 36px;
}

.online-exhibit-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.online-exhibit-img-container {
  width: 100%;
  aspect-ratio: 167 / 200;
  background-color: var(--primary-color);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(71, 24, 13, 0.12);
}

.online-exhibit-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.online-exhibit-card:hover .online-exhibit-img-container img {
  transform: scale(1.05);
}

.online-exhibit-title {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--item-title-color);
  text-align: center;
  line-height: 1.4;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.online-exhibit-card:hover .online-exhibit-title {
  color: var(--accent-color);
}

/* Pagination Dots */
.pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #A9A29D;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination-dots .dot:hover {
  background-color: var(--accent-color);
}

.pagination-dots .dot.active {
  background-color: var(--accent-color);
  transform: scale(1.15);
}

/* ==========================================================================
   13. EXHIBITION DETAIL PAGE (DETAIL_EXHIBITION_1)
   ========================================================================== */
.exhibition-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--item-title-color);
  margin-bottom: 22px;
  line-height: 1.25;
}

.exhibition-detail-img-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
}

.exhibition-detail-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exhibits-section-subtitle {
  font-size: var(--fs-20);
  font-weight: 700;
  color: var(--item-title-color);
  margin-top: 36px;
  margin-bottom: 20px;
  line-height: 1.35;
}

.detail-exhibits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-exhibit-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.detail-exhibit-img-container {
  width: 100%;
  aspect-ratio: 167 / 200;
  background-color: var(--primary-color);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(71, 24, 13, 0.12);
}

.detail-exhibit-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.detail-exhibit-card:hover .detail-exhibit-img-container img {
  transform: scale(1.05);
}

.detail-exhibit-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--item-title-color);
  text-align: center;
  line-height: 1.4;
  margin: 0;
  transition: color 0.25s ease;
}

.detail-exhibit-card:hover .detail-exhibit-title {
  color: var(--accent-color);
}

/* ==========================================================================
   14. ARTIFACT DETAIL PAGE (DETAIL_EXHIBITION_2)
   ========================================================================== */
.artifact-showcase-container {
  width: 100%;
  aspect-ratio: 16 / 7;
  background-color: var(--primary-color);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(71, 24, 13, 0.15);
}

.artifact-showcase-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.artifact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0 20px 0;
  font-size: var(--fs-14);
  color: var(--body-color);
}

.artifact-meta-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.artifact-meta-item strong {
  color: var(--item-title-color);
  font-weight: 700;
  min-width: 75px;
}

.artifact-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.artifact-gallery-item {
  width: 100%;
  aspect-ratio: 167 / 200;
  background-color: var(--primary-color);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(71, 24, 13, 0.12);
  transition: transform 0.35s ease;
}

.artifact-gallery-item:hover {
  transform: translateY(-3px);
}

.artifact-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   15. RESEARCH / PUBLICATIONS PAGE (RESEARCHS)
   ========================================================================== */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.publication-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-decoration: none;
  padding-bottom: 22px;
  border-bottom: 1px solid #F0ECE8;
}

.publication-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.publication-img-container {
  width: 170px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  background-color: #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
}

.publication-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.publication-card:hover .publication-img-container img {
  transform: scale(1.05);
}

.publication-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.publication-date {
  font-size: var(--fs-12);
  color: var(--date-time-color);
  font-weight: 500;
}

.publication-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--item-title-color);
  line-height: 1.35;
  transition: color 0.25s ease;
}

.publication-card:hover .publication-title {
  color: var(--accent-color);
}

.publication-desc {
  font-size: 13.5px;
  color: var(--blog-desc-color);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publication-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: 2px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.publication-card:hover .publication-readmore {
  color: var(--link-border-color);
  transform: translateX(4px);
}

/* Numbered Pagination & WordPress the_posts_pagination */
.pagination-nav,
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  padding-top: 10px;
}

.navigation.pagination .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.page-nav-btn,
.navigation.pagination .page-numbers {
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #EAE5E1;
  border-radius: 2px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--body-color);
  background-color: #FFFFFF;
  transition: all 0.25s ease;
  text-decoration: none;
}

.page-nav-btn:hover,
.navigation.pagination .page-numbers:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.page-nav-btn.active,
.navigation.pagination .page-numbers.current {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.page-nav-btn.prev,
.page-nav-btn.next,
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  color: #79716B;
}

.page-nav-btn.prev:hover,
.page-nav-btn.next:hover,
.navigation.pagination .page-numbers.prev:hover,
.navigation.pagination .page-numbers.next:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}


/* ==========================================================================
   16. RESEARCH DETAIL PAGE (DETAIL_RESEARCH)
   ========================================================================== */
.article-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--item-title-color);
  line-height: 1.35;
  margin-bottom: 14px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 16px 0;
  margin-bottom: 22px;
  border-bottom: 1px solid #F0ECE8;
  font-size: 13px;
  color: var(--date-time-color);
  flex-wrap: wrap;
}

.article-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--date-time-color);
}

.article-share-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-share-label {
  font-size: 13px;
  color: var(--body-color);
  font-weight: 500;
}

.share-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #FFFFFF;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-btn:hover {
  opacity: 0.85;
  transform: scale(1.1);
}

.share-btn.fb {
  background-color: #1877F2;
}

.share-btn.gmail {
  background-color: #EA4335;
}

.share-btn.link {
  background-color: #79716B;
}

.article-detail-img-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  margin: 24px 0;
}

.article-detail-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-poem-block {
  margin: 20px 0;
  padding: 14px 20px;
  font-style: italic;
  color: #454141;
  line-height: 1.85;
  border-left: 2px solid var(--accent-color);
  background-color: #FAF8F5;
  border-radius: 0 2px 2px 0;
}

.article-credits {
  margin-top: 32px;
  text-align: right;
  font-size: var(--fs-14);
  color: var(--body-color);
  line-height: 1.6;
}

.article-credits p {
  margin: 2px 0;
  font-style: italic;
}

/* Related Articles List in Sidebar */
.related-articles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-article-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  padding-bottom: 14px;
  border-bottom: 1px solid #F0ECE8;
}

.related-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-thumb-img-container {
  width: 100px;
  aspect-ratio: 16 / 11;
  flex-shrink: 0;
  background-color: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.related-thumb-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.related-article-item:hover .related-thumb-img-container img {
  transform: scale(1.06);
}

.related-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--date-time-color);
}

.related-title {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--item-title-color);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.related-article-item:hover .related-title {
  color: var(--accent-color);
}

/* ==========================================================================
   17. DOCUMENTS PAGE (DOCUMENTS.HTML)
   ========================================================================== */
.page-documents-section .documents-list-table .document-row:nth-child(even) {
  background-color: var(--secondary-bg-color);
}

.documents-list-table .document-row:hover {
  background-color: #F8ECE1;
}

.documents-list-table .doc-badge {
  text-transform: none;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--link-border-color);
  background-color: #FFFFFF;
  border: 1px solid var(--accent-color);
  border-radius: 3px;
  padding: 3px 14px;
  width: 100%;
  text-align: center;
}

.documents-filter-tabs .filter-tab-btn {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background-color: #FFFFFF;
}

.documents-filter-tabs .filter-tab-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.documents-filter-tabs .filter-tab-btn:hover:not(.active) {
  background-color: rgba(71, 24, 13, 0.06);
}

.documents-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 6px;
  flex-wrap: wrap;
  gap: 16px;
}

.documents-per-page-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: #FFFFFF;
  border: 1px solid #D6CBC1;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body-color);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s ease;
}

.documents-per-page-select:hover {
  border-color: var(--primary-color);
}

.documents-per-page-select svg {
  color: #79716B;
}

.documents-bottom-bar .pagination-nav {
  margin-top: 0;
  padding-top: 0;
}

/* ==========================================================================
   18. NEWS LISTING PAGE (NEWS.HTML)
   ========================================================================== */
.page-news-listing-section {
  padding: 48px 0 72px 0;
  background-color: #FFFFFF;
}

.news-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 28px;
  row-gap: 38px;
}

.news-item-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-item-img-container {
  width: 100%;
  aspect-ratio: 16 / 10.3;
  background-color: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  display: block;
}

.news-item-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item-card:hover .news-item-img-container img {
  transform: scale(1.04);
}

.news-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.news-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: var(--fs-12);
  font-weight: 600;
  padding: 2.5px 10px;
  border-radius: 2px;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.news-item-date {
  font-size: var(--fs-12);
  color: var(--date-time-color);
  font-weight: 400;
}

.news-item-heading {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--blog-title-color);
  line-height: 1.35;
  margin-bottom: 8px;
}

.news-item-heading a {
  color: var(--blog-title-color);
  text-decoration: none;
  transition: color 0.25s ease;
}

.news-item-heading a:hover {
  color: var(--accent-color);
}

.news-item-desc {
  font-size: 13.5px;
  color: var(--blog-desc-color);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--link-border-color);
  text-decoration: none;
  margin-top: auto;
  transition: transform 0.25s ease, color 0.25s ease;
}

.news-item-more:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.news-pagination-wrapper {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   19. EDUCATIONS & EXPERIENCES LISTING PAGE (EDUCATIONS_AND _EXPERIENCES.HTML)
   ========================================================================== */
.page-education-listing-section {
  padding: 50px 0 80px 0;
  background-color: var(--secondary-bg-color);
  /* #FEF5EE from note.txt */
}

.page-education-listing-section .education-grid,
.education-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 36px;
}

.education-pagination-wrapper {
  margin-top: 42px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   20. LIBRARY / MASTERPIECES COLLECTION PAGE (LIBRARY.HTML)
   ========================================================================== */
.page-library-section {
  padding: 48px 0 80px 0;
  background-color: #FFFFFF;
}

.library-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.gallery-item:not(.span-2) {
  aspect-ratio: 1 / 1;
}

.gallery-item.span-2 {
  grid-column: span 2;
  height: 100%;
  aspect-ratio: 670/324;
}

.gallery-img-container {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  background-color: #f0f0f0;
  cursor: pointer;
  position: relative;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-img-container img {
  transform: scale(1.05);
}

.gallery-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(71, 24, 13, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-img-container::after {
  opacity: 1;
}

/* ==========================================================================
   21. CONTACT & SUPPORT PAGE (PAGE-CONTACT.PHP / CONTACT.HTML)
   ========================================================================== */
.page-contact-section {
  padding: 56px 0 80px 0;
  background-color: #FFFFFF;
}

.contact-main-heading {
  font-family: var(--font-primary, 'Archivo', sans-serif);
  font-size: 38px;
  font-weight: 600;
  color: #1C1917;
  line-height: 1.25;
  margin: 0 0 10px 0;
}

.contact-sub-heading {
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: #454141;
  margin: 0 0 32px 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.contact-info-card {
  background-color: #FEF5EE;
  border-radius: 4px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(71, 24, 13, 0.06);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-color: #D29236;
  color: #FFFFFF;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-box svg {
  width: 20px;
  height: 20px;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-info-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #D29236;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 14.5px;
  font-weight: 500;
  color: #1C1917;
  text-decoration: none;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

a.contact-info-value:hover {
  color: #B67A2E;
}

.contact-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-map-wrapper {
  background-color: #f5f5f5;
  border: 1px solid #EAE6E1;
  border-radius: 4px;
  overflow: hidden;
  min-height: 440px;
  height: 100%;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}

.contact-form-card {
  background-color: #FFFFFF;
  border: 1px solid #EAE6E1;
  border-radius: 4px;
  padding: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 500;
  color: #1C1917;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: #1C1917;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7A7373;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #D29236;
  box-shadow: 0 0 0 3px rgba(210, 146, 54, 0.12);
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-submit-btn {
  align-self: flex-start;
  background-color: #47180D;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.contact-submit-btn:hover {
  background-color: #5e1f11;
  transform: translateY(-1px);
}

.contact-submit-btn svg {
  transition: transform 0.2s ease;
}

.contact-submit-btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   EMPTY STATE / NO DATA MESSAGE
   ========================================================================== */
.no-data-msg {
  padding: 36px 24px;
  background-color: #FAF8F5;
  border: 1px dashed #D6CBC1;
  border-radius: 4px;
  color: #79716B;
  font-size: 15px;
  text-align: center;
  margin: 24px 0;
  font-style: italic;
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   FLOATING ACTIONS (FLOATING CONTACT & SCROLL TO TOP)
   ========================================================================== */
.cm-floating-actions {
  position: fixed;
  right: 28px;
  bottom: 13%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cm-floating-contact-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-floating-btn {
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  padding: 0;
  user-select: none;
}

/* Nút Contact Nổi Chính (Vàng mù tạt / Hổ phách với 2 vòng hào quang đồng tâm như thiết kế) */
.cm-btn-contact {
  position: relative;
  width: 42px;
  height: 42px;
  background-color: #D29236;
  color: #ffffff;
  box-shadow: 0 0 0 7px rgba(210, 146, 54, 0.45), 0 0 0 14px rgba(210, 146, 54, 0.16);
  animation: cmGoldenPulse 2.4s ease-in-out infinite;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cm-btn-contact:hover {
  background-color: #B87B28;
  transform: scale(1.05);
}

.cm-btn-contact.is-active {
  background-color: #B87B28;
}

@keyframes cmGoldenPulse {

  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(210, 146, 54, 0.45), 0 0 0 13px rgba(210, 146, 54, 0.16);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(210, 146, 54, 0.52), 0 0 0 17px rgba(210, 146, 54, 0.22);
  }
}

.cm-icon-box {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-icon-box svg {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cm-icon-box .cm-icon-open {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.cm-icon-box .cm-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.cm-btn-contact.is-active .cm-icon-box .cm-icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.cm-btn-contact.is-active .cm-icon-box .cm-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Nút Cuộn Lên Đầu Trang (Hình tròn màu xám #9E9E9E với chevron trắng như thiết kế) */
.cm-btn-scroll-top {
  width: 42px;
  height: 42px;
  background-color: #9E9E9E;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.cm-btn-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cm-btn-scroll-top:hover {
  background-color: #79716B;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Layout Popup Bên Trái */
.cm-floating-popup {
  position: absolute;
  right: calc(100% + 22px);
  top: 50%;
  transform: translateY(-50%) translateX(16px);
  width: 295px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.18), 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(210, 146, 54, 0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: right center;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 10000;
}

.cm-floating-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* Popup Header */
.cm-floating-popup-header {
  padding: 13px 16px;
  background: #FAF8F5;
  border-bottom: 1px solid #EFEAE4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cm-floating-popup-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2D2926;
  letter-spacing: 0.2px;
}

.cm-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: cmStatusBlink 1.8s ease-in-out infinite;
}

@keyframes cmStatusBlink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

.cm-floating-popup-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #79716B;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cm-floating-popup-close:hover {
  color: #2D2926;
  background-color: rgba(0, 0, 0, 0.05);
}

/* Popup Body & Contact Items */
.cm-floating-popup-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cm-floating-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  background-color: transparent;
  transition: background-color 0.2s ease, transform 0.15s ease;
  position: relative;
}

.cm-floating-item:hover {
  background-color: #F8F6F2;
  transform: translateX(2px);
}

.cm-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.cm-floating-item:hover .cm-floating-icon {
  transform: scale(1.08);
}

.cm-icon-phone {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
}

.cm-icon-zalo {
  background: linear-gradient(135deg, #0088FF 0%, #0068FF 100%);
  color: #ffffff;
}

.cm-icon-messenger {
  background: linear-gradient(135deg, #00B2FE 0%, #006AFF 50%, #9B51E0 100%);
  color: #ffffff;
}

.cm-floating-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cm-floating-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #2D2926;
  line-height: 1.3;
}

.cm-floating-desc {
  font-size: 12px;
  color: #79716B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.cm-floating-arrow {
  color: #C1B7AD;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cm-floating-item:hover .cm-floating-arrow {
  color: #D29236;
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .cm-floating-actions {
    right: 18px;
    bottom: 20px;
    gap: 14px;
  }

  .cm-btn-contact,
  .cm-btn-scroll-top {
    width: 38px;
    height: 38px;
  }

  .cm-floating-popup {
    right: 0;
    top: auto;
    bottom: calc(100% + 18px);
    width: 280px;
    max-width: calc(100vw - 32px);
    transform-origin: bottom right;
    transform: translateY(12px) scale(0.96);
  }

  .cm-floating-popup.is-open {
    transform: translateY(0) scale(1);
  }
}