/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/
/* ==========================================================================
   VDG Brand Design Tokens — Gold Luxury on Premium Black
   Astra Child override – namespace riêng, không &#273;&#7909;ng bi&#7871;n --ast-*
   ========================================================================== */
:root{
  /* Brand Accent – Gold */
  --vdg-gold: #C5A059;
  --vdg-gold-hover: #E5C158;
  --vdg-gold-on-light: #8A6D33; /* ch&#7919; vàng dùng cho text c&#7905; l&#7899;n trên n&#7873;n sáng, &#273;&#7841;t AAA-large */

  /* Neutral Dark */
  --vdg-dark-bg: #0F0F0F;      /* Hero / Footer */
  --vdg-dark-surface: #1C1C1E; /* Card/container t&#7889;i */

  /* Neutral Light */
  --vdg-light-bg: #FFFFFF;
  --vdg-light-bg-alt: #F8F9FA;

  /* Text – m&#7863;c &#273;&#7883;nh theo ng&#7919; c&#7843;nh sáng */
  --vdg-text-body: #1C1C1E;
  --vdg-text-heading: #0A0A0A;
  --vdg-text-muted: #636366;
  --vdg-text-muted-aaa: #5B5B5E; /* d&#7921; pḥng: dùng khi muted xu&#7845;t hi&#7879;n &#7903; c&#7905; ch&#7919; th&#432;&#7901;ng, c&#7847;n AAA 7:1 */

  /* Typography – System Font Stack (0ms load, không @font-face) */
  --vdg-font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --vdg-lh-heading: 1.25;
  --vdg-lh-body: 1.6;

  /* Fluid Clamp Typography (m&#7889;c viewport 320px–1280px) */
  --vdg-h1-size: clamp(2rem, 1.58rem + 2.08vw, 3.25rem);     /* 32px &#8594; 52px */
  --vdg-h2-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);   /* 24px &#8594; 36px */
  --vdg-body-size: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);  /* 16px &#8594; 17px */
}

/* Vùng n&#7873;n t&#7889;i: g&#7855;n class này vào wrapper Hero / Footer trong Elementor ho&#7863;c PHP template */
.vdg-dark-section{
  background-color: var(--vdg-dark-bg);
  --vdg-text-body: #E4E4E6;
  --vdg-text-heading: #FFFFFF;
  --vdg-text-muted: #AEAEB2;
}
.vdg-dark-section.is-surface{ background-color: var(--vdg-dark-surface); }

/* Base typography */
body{
  font-family: var(--vdg-font-system);
  font-size: var(--vdg-body-size);
  line-height: var(--vdg-lh-body);
  color: var(--vdg-text-body);
  background-color: var(--vdg-light-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,h5,h6{
  font-family: var(--vdg-font-system);
  color: var(--vdg-text-heading);
  line-height: var(--vdg-lh-heading);
  font-weight: 700;
}
h1{ font-size: var(--vdg-h1-size); }
h2{ font-size: var(--vdg-h2-size); }

.vdg-meta, .entry-meta, small{ color: var(--vdg-text-muted); }

a{ color: var(--vdg-gold); text-underline-offset: 2px; }
a:hover, a:focus{ color: var(--vdg-gold-hover); }

/* Focus indicator – b&#7855;t bu&#7897;c theo WCAG 2.4.7 */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--vdg-gold);
  outline-offset: 2px;
}

::selection{ background-color: var(--vdg-gold); color: #0A0A0A; }

/* ==========================================================================
   FIX: Nút "Xem t&#7845;t c&#7843; >>" (widget Heading Elementor id cba5311) b&#7883; k&#7871; th&#7915;a
   font-size kh&#7893;ng l&#7891; (52px) t&#7915; style Heading m&#7863;c &#273;&#7883;nh, gây to &#273;ùng d&#432;&#7899;i menu.
   Ghi &#273;è tr&#7921;c ti&#7871;p theo ID widget &#273;&#7875; không &#7843;nh h&#432;&#7903;ng heading khác toàn site.
   ========================================================================== */
.elementor-element-cba5311 .elementor-heading-title{
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
.elementor-element-cba5311 .elementor-heading-title a{
  color: var(--vdg-gold) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .3s ease;
}
.elementor-element-cba5311 .elementor-heading-title a:hover{
  color: var(--vdg-gold-hover) !important;
}

/* T&#259;ng &#273;&#7897; &#273;&#7863;c hi&#7879;u &#273;&#7875; th&#7855;ng rule inline "#content h1, #content .elementor-heading-title.elementor-size-default"
   (rule &#273;ó có #content nên specificity cao h&#417;n rule phía trên dù &#273;ă !important) */
#content .elementor-element-cba5311 .elementor-heading-title.elementor-size-default{
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}