/* D123: CSS goc khoi phuc tu D/nguon/311.html dong 21-36 (inline <style> block cs-related-*) — nguyen van */
.cs-related-section { margin: 48px auto 32px; max-width: 1080px; padding: 0 20px; }
.cs-related-eyebrow { font-size: 0.75rem; letter-spacing: 0.1em; font-weight: 600; color: #c44d3d; text-transform: uppercase; display: block; margin-bottom: 8px; }
.cs-related-heading { font-family: 'Playfair Display', Georgia, serif; font-size: 1.75rem; color: #0a1628; margin: 0 0 24px; line-height: 1.3; }
.cs-related-heading em { font-style: italic; color: #c44d3d; }
.cs-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cs-related-card { text-decoration: none; color: inherit; background: #fff; border-radius: 6px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.cs-related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.cs-related-card__thumb { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #0a1628 0%, #1a2742 100%); position: relative; }
.cs-related-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; color: transparent; font-size: 0; text-indent: -9999px; }
a.cs-related-card .cs-related-card__thumb-placeholder { width: 100% !important; height: 100% !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; background: linear-gradient(135deg, #0a1628 0%, #1a2742 100%) !important; color: #d4af37 !important; font-family: 'Playfair Display', Georgia, serif !important; padding: 12px !important; text-align: center !important; gap: 4px !important; }
a.cs-related-card .cs-related-card__brand { font-size: 1.5rem !important; font-weight: 700 !important; color: #d4af37 !important; letter-spacing: 0.05em !important; display: block !important; }
a.cs-related-card .cs-related-card__brand-sub { font-size: 0.75rem !important; font-weight: 400 !important; color: #d4af37 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; opacity: 0.8 !important; display: block !important; }
.cs-related-card__body { padding: 16px; }
.cs-related-card__meta { font-size: 0.7188rem; letter-spacing: 0.05em; font-weight: 600; color: #c44d3d; text-transform: uppercase; margin: 0 0 6px; }
.cs-related-card__title { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; font-weight: 600; color: #0a1628; margin: 0; line-height: 1.4; }
@media (max-width: 768px) { .cs-related-grid { grid-template-columns: 1fr; gap: 16px; } .cs-related-heading { font-size: 1.5rem; } }

/* D124: khối <style> chung của trang dự án gốc (style-chuan.css, nguyên văn) */

:root {
  --cream:#F5F0E8; --cream-darker:#EDE6D9; --cream-deeper:#E5DCC9;
  --navy:#1A2332; --terracotta:#8B3A2F; --terracotta-darker:#7A2F26; --terracotta-light:#E8B4A8;
  --gray-700:#2D3748; --gray-600:#4A5568; --gray-500:#718096;
  --border-soft:rgba(26,35,50,0.08); --border-med:rgba(26,35,50,0.14);
  --fs-display:clamp(34px,4.5vw,52px);
  --fs-h2:clamp(24px,3.2vw,34px);
  --fs-h3:clamp(20px,2.6vw,24px);
  --fs-h4:18px;
  --fs-stat-medium:clamp(28px,3.5vw,40px);
  --fs-body-lg:16px; --fs-body:15px; --fs-body-sm:14px; --fs-caption:13px; --fs-eyebrow:12px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Inter',sans-serif; background:var(--cream); color:var(--gray-700); font-size:var(--fs-body); line-height:1.65; margin:0; }
h1,h2,h3,h4 { font-family:'Playfair Display',serif; color:var(--navy); font-weight:600; line-height:1.2; margin:0; }
a { color:inherit; text-decoration:none; }
.container-narrow { max-width:1080px; margin:0 auto; padding:0 24px; }
.container-wide { max-width:1240px; margin:0 auto; padding:0 24px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-darker); }

.btn-secondary { background: var(--terracotta); color: var(--cream); }
.btn-secondary:hover { background: var(--terracotta-darker); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--cream); }

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 246, 240, 0.5);
}
.btn-ghost-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

/* ============ NAVIGATION (Wave 2) ============ */
@media (max-width: 768px) { .nav__logo-sub { display: none; } }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none !important; }
}

@media (max-width: 768px) {
  .nav__hamburger { display: inline-flex; }
}

/* Breadcrumb */
.breadcrumb { background:var(--cream-darker); border-bottom:1px solid var(--border-soft); }
.breadcrumb-inner { padding:14px 0; font-size:13px; color:var(--gray-500); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.breadcrumb-inner a:hover { color:var(--terracotta); }
.breadcrumb-sep { color:var(--gray-500); opacity:.5; }
.breadcrumb-current { color:var(--navy); font-weight:500; }

/* Hero */
.case-hero { position:relative; min-height:480px; background:linear-gradient(135deg,#1A2332 0%,#0f1620 100%); color:#fff; padding:88px 0 96px; overflow:hidden; display:flex; align-items:center; }
.case-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 25% 30%,rgba(139,58,47,0.18),transparent 55%),radial-gradient(circle at 80% 70%,rgba(232,180,168,0.08),transparent 50%); pointer-events:none; }
.case-hero::after { content:''; position:absolute; right:-15%; bottom:-30%; width:60%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(232,180,168,0.05),transparent 65%); pointer-events:none; }
.case-hero-inner { position:relative; z-index:2; max-width:880px; }
.case-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:var(--fs-eyebrow); font-weight:600; letter-spacing:0.16em; text-transform:uppercase; color:var(--terracotta-light); margin-bottom:18px; }
.case-eyebrow svg { width:14px; height:14px; }
.case-h1 { font-size:var(--fs-display); color:#fff; line-height:1.08; margin-bottom:18px; max-width:780px; }
.case-subtitle { font-size:13px; font-weight:600; letter-spacing:0.18em; text-transform:uppercase; color:rgba(255,255,255,0.65); }

/* Stats */
.stats-bar { background:#fff; border-bottom:1px solid var(--border-soft); }
.stats-grid-wrap { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.stats-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:0; flex:1; min-width:280px; }
.stat-cell { padding:24px 16px; text-align:center; border-right:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); }
.stat-cell:nth-child(2n) { border-right:none; }
.stat-cell:nth-child(n+3) { border-bottom:none; }
.stat-value { font-family:'Playfair Display',serif; font-size:22px; font-weight:600; color:var(--navy); line-height:1.2; margin-bottom:6px; }
.stat-label { font-size:11px; color:var(--gray-500); letter-spacing:0.1em; text-transform:uppercase; }
.save-btn { padding:12px 18px; font-size:13px; }
@media(min-width:768px) {
  .stats-grid { grid-template-columns:repeat(4,1fr); }
  .stat-cell { padding:28px 20px; border-bottom:none; }
  .stat-cell:not(:last-child) { border-right:1px solid var(--border-soft); }
  .stat-cell:nth-child(2n) { border-right:1px solid var(--border-soft); }
  .stat-cell:last-child { border-right:none; }
  .stat-value { font-size:var(--fs-stat-medium); }
}

/* Sections */
.section { padding:64px 0; }
.section-eyebrow { font-size:var(--fs-eyebrow); font-weight:600; letter-spacing:0.18em; text-transform:uppercase; color:var(--terracotta); margin-bottom:14px; display:inline-block; }
.section-h2 { font-size:var(--fs-h2); margin-bottom:24px; line-height:1.2; }
.section-h3 { font-size:var(--fs-h3); margin-bottom:14px; }
.prose p { margin:0 0 18px; color:var(--gray-700); font-size:var(--fs-body-lg); line-height:1.78; }
.prose p:last-child { margin-bottom:0; }
.prose strong { color:var(--navy); font-weight:600; }

/* Intro italic */
.intro-quote { font-family:'Playfair Display',serif; font-style:italic; font-size:clamp(18px,2.2vw,22px); color:var(--navy); line-height:1.55; padding:8px 0 8px 24px; border-left:3px solid var(--terracotta); margin:0 0 40px; max-width:820px; }

/* Highlights card */
.highlights-card { background:var(--cream-darker); border:1px solid var(--border-soft); border-radius:8px; padding:36px 32px; }
.highlights-card-title { display:flex; align-items:center; gap:10px; font-family:'Playfair Display',serif; font-size:18px; font-weight:600; color:var(--navy); margin-bottom:20px; }
.highlights-card-title svg { width:18px; height:18px; color:var(--terracotta); }
.highlights-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.highlights-list li { display:flex; gap:14px; align-items:flex-start; font-size:var(--fs-body-lg); color:var(--gray-700); line-height:1.65; }
.highlights-list li::before { content:''; flex-shrink:0; width:6px; height:6px; border-radius:50%; background:var(--terracotta); margin-top:9px; }

/* Gallery */
.gallery-main { aspect-ratio:16/9; background:linear-gradient(135deg,var(--cream-darker),var(--cream-deeper)); border-radius:8px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; overflow:hidden; }
.gallery-thumbs { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media(min-width:768px) { .gallery-thumbs { grid-template-columns:repeat(6,1fr); } }
.gallery-thumb { aspect-ratio:1; background:linear-gradient(135deg,var(--cream-darker),var(--cream-deeper)); border-radius:6px; cursor:pointer; transition:transform .25s, box-shadow .25s; display:flex; align-items:center; justify-content:center; }
.gallery-thumb:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(26,35,50,0.08); }
.gallery-placeholder { font-family:'Playfair Display',serif; color:var(--gray-500); font-style:italic; font-size:14px; padding:0 16px; text-align:center; }
.gallery-thumb-label { font-size:11px; color:var(--gray-500); letter-spacing:0.05em; }

/* Products in project */
.products-list { display:grid; grid-template-columns:1fr; gap:18px; }
@media(min-width:768px) { .products-list { grid-template-columns:repeat(2,1fr); } }
.product-row { display:flex; align-items:center; gap:18px; padding:18px; background:#fff; border:1px solid var(--border-soft); border-radius:6px; transition:all .25s; }
.product-row:hover { border-color:var(--border-med); transform:translateY(-2px); box-shadow:0 8px 20px rgba(26,35,50,0.06); }
.product-thumb { flex-shrink:0; width:96px; aspect-ratio:1; background:linear-gradient(135deg,var(--cream-darker),var(--cream-deeper)); border-radius:4px; display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--gray-500); font-style:italic; padding:0 8px; text-align:center; }
.product-row-info { flex:1; }
.product-row-brand { font-size:11px; color:var(--gray-500); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:4px; font-weight:500; }
.product-row-name { font-family:'Playfair Display',serif; font-size:18px; font-weight:600; color:var(--navy); margin-bottom:6px; }
.product-row-meta { font-size:13px; color:var(--gray-600); }
.product-row-arrow { flex-shrink:0; color:var(--gray-500); }

/* Related */
.related-grid { display:grid; grid-template-columns:1fr; gap:18px; }
@media(min-width:768px) { .related-grid { grid-template-columns:repeat(3,1fr); gap:22px; } }
.case-card { background:#fff; border:1px solid var(--border-soft); border-radius:6px; overflow:hidden; transition:all .25s; }
.case-card:hover { border-color:var(--border-med); transform:translateY(-3px); box-shadow:0 12px 28px rgba(26,35,50,0.08); }
.case-card-img { aspect-ratio:4/3; background:linear-gradient(135deg,var(--cream-darker),var(--cream-deeper)); display:flex; align-items:center; justify-content:center; }
.case-card-img-text { font-family:'Playfair Display',serif; color:var(--gray-500); font-style:italic; font-size:13px; padding:0 16px; text-align:center; }
.case-card-info { padding:18px 20px 22px; }
.case-card-meta { display:flex; gap:8px; align-items:center; font-size:11px; color:var(--gray-500); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:8px; font-weight:500; }
.case-card-meta-dot { width:3px; height:3px; border-radius:50%; background:var(--gray-500); }
.case-card-title { font-family:'Playfair Display',serif; font-size:17px; font-weight:600; color:var(--navy); margin-bottom:8px; line-height:1.35; }
.case-card-loc { font-size:13px; color:var(--gray-600); display:flex; align-items:center; gap:5px; }
.case-card-loc svg { width:13px; height:13px; }

/* CTA navy */
.cta-navy { background:linear-gradient(135deg,#1A2332,#0f1620); color:#fff; border-radius:10px; padding:52px 32px; text-align:center; position:relative; overflow:hidden; }
.cta-navy::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 20% 30%,rgba(139,58,47,0.18),transparent 55%); pointer-events:none; }
.cta-navy-inner { position:relative; z-index:2; }
.cta-navy-eyebrow { font-size:var(--fs-eyebrow); font-weight:600; letter-spacing:0.18em; text-transform:uppercase; color:var(--terracotta-light); margin-bottom:14px; }
.cta-navy-h { font-family:'Playfair Display',serif; font-size:var(--fs-h2); color:#fff; margin-bottom:14px; line-height:1.2; }
.cta-navy-text { color:rgba(255,255,255,0.78); font-size:16px; max-width:600px; margin:0 auto 28px; line-height:1.65; }
.cta-navy-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Back link */
.back-link-wrap { padding:24px 0 56px; }
.back-link { display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--gray-600); transition:color .2s; }
.back-link:hover { color:var(--terracotta); }

/* Footer */
.site-footer { background:var(--navy); color:rgba(255,255,255,0.7); padding:64px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1fr; gap:36px; margin-bottom:40px; }
@media(min-width:768px) { .footer-grid { grid-template-columns:2fr 1fr 1fr 1.2fr; gap:48px; } }
.footer-brand { font-family:'Playfair Display',serif; font-size:22px; color:#fff; font-weight:700; margin-bottom:8px; }
.footer-tagline { font-size:13px; color:rgba(255,255,255,0.5); margin-bottom:16px; font-style:italic; }
.footer-text { font-size:13px; line-height:1.7; color:rgba(255,255,255,0.6); }
.footer-h { font-family:'Playfair Display',serif; font-size:15px; color:#fff; font-weight:600; margin-bottom:14px; }
.footer-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; }
.footer-list a { font-size:13px; color:rgba(255,255,255,0.65); transition:color .2s; }
.footer-list a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12px; color:rgba(255,255,255,0.45); }

@media (max-width: 767px) {
  .mobile-toggle {
    cursor: pointer !important;
    user-select: none;
    position: relative;
    z-index: 1001;
    pointer-events: auto !important;
  }
  .mobile-toggle * {
    pointer-events: none;
  }
  html body nav.nav-main.is-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #F5F0E8 !important;
    z-index: 1000 !important;
    padding: 80px 24px 24px !important;
    overflow-y: auto !important;
    gap: 16px !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body nav.nav-main.is-open a {
    font-size: 18px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(26,35,50,0.1) !important;
    color: #1A2332 !important;
    text-decoration: none !important;
    display: block !important;
  }
  body.menu-open {
    overflow: hidden;
  }
}

/* === CASE STUDY PILOT — Gallery + Body === */

.cs-article__body {
  background: #fff;
  padding: 56px 24px 40px;
}
.cs-article__body-container {
  max-width: 720px;
  margin: 0 auto;
}
.cs-article__body p {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--navy-darker, #0f1620);
  margin: 0 0 20px;
}
.cs-article__body p:last-child { margin-bottom: 0; }

.cs-gallery {
  background: var(--cream, #faf6f0);
  padding: 64px 24px;
}
.cs-gallery__container {
  max-width: 1200px;
  margin: 0 auto;
}
.cs-gallery__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy, #1A2332);
  text-align: center;
  margin: 0 0 12px;
}
.cs-gallery__lead {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600, #5e6470);
  text-align: center;
  margin: 0 auto 40px;
  max-width: 600px;
}
.cs-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.cs-gallery__item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.cs-gallery__item picture,
.cs-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* First image spans 2 cols when 4+ images present */
.cs-gallery__grid:has(.cs-gallery__item:nth-child(5)) .cs-gallery__item:first-child {
  grid-column: span 2;
}

.cs-cta {
  background: var(--navy, #1A2332);
  padding: 72px 24px;
}
.cs-cta__container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cs-cta__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: #fff;
  margin: 0 0 16px;
}
.cs-cta__lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 32px;
  max-width: 580px;
}
.cs-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cs-article__body { padding: 40px 20px 32px; }
  .cs-gallery { padding: 48px 20px; }
  .cs-gallery__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cs-gallery__grid:has(.cs-gallery__item:nth-child(5)) .cs-gallery__item:first-child {
    grid-column: span 1;
  }
  .cs-cta { padding: 56px 20px; }
  .cs-cta__actions { flex-direction: column; }
  .cs-cta__actions .btn { width: 100%; }
}

/* === ADAPTIVE GALLERY CLASSES === */
.cs-gallery__grid--small {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.cs-gallery__grid--medium {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.cs-gallery__grid--large {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}


/* === Floating CTA — call + zalo === */
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.floating-cta__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.floating-cta__btn:hover { transform: translateY(-2px); }
.floating-cta__btn--call { background: #B85742; }
.floating-cta__btn--zalo { background: #0068FF; }
@media (max-width: 768px) {
  .floating-cta { right: 12px; bottom: 12px; }
  .floating-cta__btn { width: 52px; height: 52px; }
}



/* === Pattern D case-hero safety net (Wave 4 design intent) — L124 === */
.case-hero { 
  position: relative !important; 
  overflow: hidden !important; 
  background: linear-gradient(135deg, #1A2332 0%, #0f1620 100%) !important;
  min-height: 480px !important;
}
.case-hero::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 20% 30%, rgba(184, 87, 66, 0.18), transparent 55%) !important;
  pointer-events: none !important;
}
.case-hero-inner { 
  position: relative !important; 
  z-index: 2 !important; 
}
.case-eyebrow { 
  color: rgba(250, 246, 240, 0.85) !important; 
}
.case-h1 { 
  color: #faf6f0 !important; 
  font-family: 'Playfair Display', serif !important;
}
.case-h1 em { 
  color: #B85742 !important; 
  font-style: italic !important; 
}
.case-subtitle { 
  color: rgba(250, 246, 240, 0.85) !important; 
}

/* D124: luật cs-product lấy nguyên văn từ <style> trang 311 hiện tại */
.cs-products-section { margin: 48px auto 32px; max-width: 880px; padding: 0 20px; }
.cs-products-title { font-size: 1.5rem; font-weight: 700; color: #0a1628; margin-bottom: 6px; font-family: Georgia, "Times New Roman", serif; }
.cs-products-subtitle { font-size: 0.9375rem; color: #5e6470; margin-bottom: 24px; }
.cs-products-list { display: flex; flex-direction: column; gap: 10px; }
.cs-product-row { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #f8f6f1; border-radius: 8px; text-decoration: none; color: inherit; transition: all 0.2s; border: 1px solid transparent; }
.cs-product-row:hover { background: #fff; border-color: #c44d3d; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.cs-product-info { flex: 1; min-width: 0; }
.cs-product-brand { font-size: 0.7188rem; letter-spacing: 0.1em; font-weight: 600; color: #c44d3d; text-transform: uppercase; display: block; margin-bottom: 4px; }
.cs-product-name { font-size: 1rem; font-weight: 600; color: #0a1628; margin: 0; line-height: 1.4; }
.cs-product-arrow { flex-shrink: 0; font-size: 1.375rem; color: #c44d3d; font-weight: 600; }
@media (max-width: 640px) { .cs-products-section { padding: 0 16px; } .cs-product-row { padding: 14px 16px; } .cs-product-name { font-size: 0.9375rem; } }

/* D124-D: thư viện ảnh trang dự án — tự xếp theo số ảnh, không ô trống (lớp do page-du-an.php gắn) */
.cs-gallery .cs-gallery__container .cs-gallery__grid.cs-gallery__grid--d124 { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: row dense; gap: 16px; max-width: 1200px; margin: 0 auto; }
.cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item.cs-gallery__item { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; margin: 0; }
.cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item.is-half { grid-column: span 3; }
.cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item.is-full { grid-column: span 6; aspect-ratio: 16 / 9; }
.cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item.is-feature { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item picture,
.cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .cs-gallery .cs-gallery__container .cs-gallery__grid.cs-gallery__grid--d124 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item.cs-gallery__item { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item.is-feature,
  .cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item.is-full,
  .cs-gallery .cs-gallery__container .cs-gallery__grid--d124 > .cs-gallery__item.is-m-full { grid-column: span 2; aspect-ratio: 4 / 3; }
}
