/**
 * TAXONOMY DỰ ÁN - CHUẨN ĐỒNG BỘ GIAO DIỆN LIGHT & SEO TOPICAL AUTHORITY
 *
 * Font chuẩn web mẫu:
 * - Tiêu đề & Heading: STIX Two Text, serif (--font-heading)
 * - Thân bài & Bộ lọc: Cabin, sans-serif (--font-family)
 *
 * @package ChauRealtor
 */

/* ==========================================================================
   0. RESET & UNIFIED TYPOGRAPHY
   ========================================================================== */
.duan-breadcrumb-wrap,
.duan-hero-header,
.duan-products-section,
.duan-detailed-content-section,
.duan-filter-bar,
.duan-cards-grid {
  font-family: var(--font-family, 'Cabin', system-ui, -apple-system, sans-serif);
}

.duan-hero-title,
.duan-content-heading,
.duan-cta-title,
.bds-card-title,
.duan-empty-title {
  font-family: var(--font-heading, 'STIX Two Text', Georgia, serif) !important;
}

.filter-pill,
.duan-filter-select,
.btn-duan-reset,
.btn-duan-toggle-content,
.duan-cta-btn {
  font-family: inherit;
}

/* ==========================================================================
   1. BREADCRUMBS WRAPPER (NỀN TRẮNG ĐỒNG BỘ)
   ========================================================================== */
.duan-breadcrumb-wrap {
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 0.85rem 0;
}
.duan-breadcrumb-wrap .container {
  display: flex;
  align-items: center;
}
.duan-breadcrumb-wrap a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.duan-breadcrumb-wrap a:hover {
  color: #ea580c;
}
.duan-breadcrumb-wrap .separator {
  color: #94a3b8;
  margin: 0 0.5rem;
}
.duan-breadcrumb-wrap .last {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.88rem;
}

/* ==========================================================================
   2. HERO HEADER SECTION (NỀN TRẮNG ĐỒNG BỘ VỚI SECTION SHOW DỰ ÁN)
   ========================================================================== */
.duan-hero-header {
  padding: 1.15rem 0 0.5rem 0;
  background-color: #ffffff;
}
.duan-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #ea580c;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 15px -2px rgba(0, 0, 0, 0.04);
  position: relative;
}
.duan-hero-card.has-media {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.duan-hero-top-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.duan-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.duan-status-badge {
  display: inline-flex;
  align-items: center;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.duan-hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.65rem 0;
  color: #0f172a;
}
.duan-short-intro {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0;
  max-width: 820px;
}
.duan-short-intro:not(:last-child) {
  margin-bottom: 1.15rem;
}
.duan-short-intro p {
  margin: 0;
}

/* Specs Grid - 2 Hàng 2 Cột Cân Đối */
.duan-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
@media (max-width: 575px) {
  .duan-specs-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
.duan-spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.duan-spec-item .spec-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.duan-spec-item .spec-value {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Media Banner */
.duan-hero-media {
  width: 360px;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.duan-hero-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   3. HORIZONTAL SMART FILTER BAR (NỀN TRẮNG LIỀN MẠCH)
   ========================================================================== */
.duan-products-section {
  padding-top: 0.5rem;
  padding-bottom: 2.25rem;
  background-color: #ffffff;
}

/* Thanh lọc ngang */
.duan-filter-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
}
.duan-filter-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.filter-group-lbl {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}
.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-pill {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}
.filter-pill.is-active {
  background: var(--gradient-brand, linear-gradient(to right, var(--mainColor, #d35400) 0%, #e67e22 50%, #a04000 100%));
  border-color: #d35400;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(211, 84, 0, 0.35);
}
.duan-filter-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 0.48rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.duan-filter-select:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* Đếm số căn đẩy sang phải */
.duan-filter-count {
  margin-left: auto;
}
.count-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-block;
}
.count-badge #js-duan-visible-count {
  color: #ea580c;
  font-weight: 700;
}

.btn-duan-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.48rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-duan-reset:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* ==========================================================================
   4. GRID QUỸ CĂN 3 CỘT (TÊN BĐS LÀ H2)
   ========================================================================== */
.duan-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.duan-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.duan-card-wrapper .bds-card {
  height: 100%;
  width: 100%;
}
.duan-card-wrapper.is-hidden {
  display: none !important;
}

/* Đảm bảo h2.bds-card-title giữ font STIX Two Text và kích thước chuẩn */
h2.bds-card-title,
.bds-card-title {
  font-family: var(--font-heading, 'STIX Two Text', Georgia, serif) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 0 0.85rem 0 !important;
}
h2.bds-card-title a,
.bds-card-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}
h2.bds-card-title a:hover,
.bds-card-title a:hover {
  color: #ea580c;
}

/* Empty State / No Match */
.duan-no-filter-match,
.duan-empty-alert {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  grid-column: 1 / -1;
  color: #475569;
}
.duan-no-filter-match p,
.duan-empty-alert p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #475569;
}
.duan-empty-alert svg {
  color: #94a3b8;
  margin-bottom: 1rem;
}
.duan-empty-title {
  font-family: var(--font-heading, 'STIX Two Text', serif) !important;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}

/* ==========================================================================
   5. NỘI DUNG DÀI CHI TIẾT DỰ ÁN (SEO LONG CONTENT)
   ========================================================================== */
.duan-detailed-content-section {
  padding-top: 0.75rem;
  padding-bottom: 3rem;
  background-color: #ffffff;
}
.duan-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #ea580c;
  border-radius: 18px;
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}
.duan-content-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1.15rem;
  margin-bottom: 1.5rem;
}
.duan-content-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.duan-content-heading .heading-icon {
  color: #ea580c;
  display: inline-flex;
}
.duan-content-wrap {
  position: relative;
  max-height: 280px; /* Tương đương hiển thị khoảng 400 chữ ban đầu */
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.duan-content-wrap.is-expanded {
  max-height: 9999px;
}
.duan-content-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.duan-content-wrap.is-expanded .duan-content-fade {
  opacity: 0;
  visibility: hidden;
}

/* Typography chi tiết */
.duan-content-body.typography {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
}
.duan-content-body.typography h2 {
  font-size: 1.35rem;
  color: #0f172a;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading, 'STIX Two Text', serif) !important;
}
.duan-content-body.typography h3 {
  font-size: 1.15rem;
  color: #c2410c;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading, 'STIX Two Text', serif) !important;
}
.duan-content-body.typography p {
  margin-bottom: 1.15rem;
}
.duan-content-body.typography ul,
.duan-content-body.typography ol {
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
}
.duan-content-body.typography li {
  margin-bottom: 0.5rem;
}
.duan-content-body.typography img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.25rem 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Nút Xem Chi Tiết / Thu Gọn */
.duan-content-toggle-action {
  text-align: center;
  margin-top: 1.25rem;
  position: relative;
  z-index: 2;
}
.btn-duan-toggle-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #ea580c;
  color: #ea580c;
  padding: 0.65rem 1.85rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.12);
  transition: all 0.25s ease;
}
.btn-duan-toggle-content:hover {
  background: var(--gradient-brand, linear-gradient(to right, var(--mainColor, #d35400) 0%, #e67e22 50%, #a04000 100%));
  border-color: #d35400;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(211, 84, 0, 0.35);
  transform: translateY(-1px);
}
.btn-duan-toggle-content .toggle-icon {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}
.btn-duan-toggle-content.is-open .toggle-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   6. CTA CARD TƯ VẤN DỰ ÁN (TIÊU ĐỀ LÀ THẺ DIV CHUẨN SEO)
   ========================================================================== */
.duan-cta-card {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.12);
}
.duan-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.duan-cta-info {
  max-width: 650px;
}
.duan-cta-pill {
  display: inline-block;
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fdba74;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.65rem;
}
.duan-cta-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #7c2d12;
  margin: 0 0 0.5rem 0;
  font-family: var(--font-heading, 'STIX Two Text', serif) !important;
}
.duan-cta-desc {
  font-size: 0.95rem;
  color: #9a3412;
  margin: 0;
  line-height: 1.6;
}
.duan-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.duan-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
}
.duan-btn-hotline {
  background: var(--gradient-brand, linear-gradient(to right, var(--mainColor, #d35400) 0%, #e67e22 50%, #a04000 100%));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(211, 84, 0, 0.35);
}
.duan-btn-hotline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211, 84, 0, 0.5);
  color: #ffffff;
}
.duan-btn-zalo {
  background: #0068ff;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.3);
}
.duan-btn-zalo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 104, 255, 0.45);
  color: #ffffff;
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .duan-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .duan-hero-card.has-media {
    grid-template-columns: 1fr;
  }
  .duan-hero-media {
    width: 100%;
  }
  .duan-hero-media img {
    height: 220px;
  }
  .duan-filter-count {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .duan-hero-title {
    font-size: 1.75rem;
  }
  .duan-hero-card {
    padding: 1.5rem;
  }
  .duan-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
  }
  .duan-filter-group {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .duan-filter-select {
    width: 100%;
  }
  .duan-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .duan-content-card {
    padding: 1.5rem;
  }
  .duan-cta-card {
    padding: 1.5rem;
  }
  .duan-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .duan-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   7. TRANG TỔNG DỰ ÁN (/du-an/) ARCHIVE DIRECTORY STYLING
   ========================================================================== */
.duan-archive-hero {
  padding: 1.5rem 0 1rem 0;
  background-color: #ffffff;
}
.duan-archive-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #ea580c;
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04);
}
.duan-archive-title {
  font-family: var(--font-heading, 'STIX Two Text', Georgia, serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.5rem 0 1rem 0;
  color: #0f172a;
}
.duan-archive-desc {
  font-family: var(--font-family, 'Cabin', sans-serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  max-width: 960px;
  margin: 0 0 1.5rem 0;
}
.duan-archive-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}
.archive-stat-item {
  display: flex;
  flex-direction: column;
}
.archive-stat-item .stat-number {
  font-family: var(--font-heading, 'STIX Two Text', Georgia, serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ea580c;
  line-height: 1.2;
}
.archive-stat-item .stat-label {
  font-size: 0.82rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Main Grid */
.duan-archive-section {
  padding: 1rem 0 3rem 0;
  background-color: #ffffff;
}
.duan-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.duan-archive-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.duan-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(211, 84, 0, 0.15);
  border-color: #d35400;
}
.duan-archive-card:hover .duan-archive-card-title a {
  color: #d35400;
}
.duan-archive-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f1f5f9;
}
.duan-archive-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.duan-archive-card:hover .duan-archive-card-thumb img {
  transform: scale(1.05);
}
.duan-card-badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.duan-card-badge-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ea580c;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}
.duan-archive-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.duan-archive-card-title {
  font-family: var(--font-heading, 'STIX Two Text', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
}
.duan-archive-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.duan-archive-card-title a:hover {
  color: #ea580c;
}
.duan-archive-card-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.85rem;
}
.duan-archive-card-loc svg {
  color: #ea580c;
  flex-shrink: 0;
}
.duan-archive-card-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 1.25rem 0;
}
.duan-archive-card-specs {
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
}
.archive-card-spec-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 0.84rem;
  line-height: 1.45;
  gap: 0.75rem;
  text-align: left;
}
.archive-card-spec-row .spec-k {
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
  width: 80px;
  white-space: nowrap;
}
.archive-card-spec-row .spec-v {
  color: #0f172a;
  font-weight: 600;
  text-align: left;
  flex: 1;
  word-break: break-word;
}
.duan-archive-card-footer {
  margin-top: 0;
}
.btn-duan-explore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-duan-explore:hover {
  background-color: #ea580c;
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-duan-explore svg {
  transition: transform 0.2s ease;
}
.btn-duan-explore:hover svg {
  transform: translateX(4px);
}

/* CTA Box */
.duan-archive-cta-section {
  padding: 1rem 0 4rem 0;
  background-color: #ffffff;
}
.duan-archive-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.2);
}
.cta-box-badge {
  display: inline-block;
  background: rgba(234, 88, 12, 0.2);
  border: 1px solid rgba(234, 88, 12, 0.4);
  color: #fb923c;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 1rem;
}
.cta-box-title {
  font-family: var(--font-heading, 'STIX Two Text', Georgia, serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: #ffffff;
}
.cta-box-desc {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 2rem auto;
}
.cta-box-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.btn-cta-phone,
.btn-cta-zalo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.25s ease;
}
.btn-cta-phone {
  background-color: #ea580c;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}
.btn-cta-phone:hover {
  background-color: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}
.btn-cta-zalo {
  background: #ffffff;
  color: #0f172a;
}
.btn-cta-zalo:hover {
  background: #f1f5f9;
  color: #0284c7;
  transform: translateY(-2px);
}
.btn-cta-zalo svg {
  color: #0284c7;
}

@media (max-width: 1024px) {
  .duan-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .duan-archive-grid {
    grid-template-columns: 1fr;
  }
  .duan-archive-hero-card {
    padding: 1.5rem;
  }
  .duan-archive-title {
    font-size: 1.75rem;
  }
  .cta-box-title {
    font-size: 1.5rem;
  }
  .cta-box-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-cta-phone,
  .btn-cta-zalo {
    width: 100%;
    justify-content: center;
  }
}

