/**
 * Footer — khớp reference: nền xanh gần đen, chữ mist, link vàng nhạt,
 * logo căn giữa, padding 46px.
 */

#colophon.site-footer {
  background-color: var(--sl-deeper);
  color: var(--sl-mist);
}
#colophon .site-footer-main { padding-block: 0px; }

#colophon, #colophon p, #colophon li, #colophon span { color: var(--sl-mist); }
#colophon a { color: var(--sl-gold-soft); text-decoration: none; }
#colophon a:hover { color: var(--sl-gold); }

#colophon h1, #colophon h2, #colophon h3, #colophon h4,
#colophon .elementor-heading-title {
  font-family: var(--sl-font-display);
  font-weight: 400;
  color: var(--sl-on-deep);
}

#colophon .widget-title,
#colophon .elementor-widget-heading .elementor-heading-title {
  font-family: var(--sl-font-body);
  font-size: var(--sl-fs-meta);
  font-weight: 700;
  letter-spacing: var(--sl-ls-meta);
  text-transform: uppercase;
  color: var(--sl-gold);
  opacity: 1;
}

#colophon ul { list-style: none; margin: 0; padding: 0; }
#colophon li a {
  display: inline-block;
  padding-block: .4rem;
  font-size: var(--sl-fs-small);
  color: var(--sl-mist);
  transition: color var(--sl-dur-fast) var(--sl-ease);
}
#colophon li a:hover { color: var(--sl-gold-soft); }

/* Dòng bản quyền */
#colophon .site-info,
#colophon .copyright { font-size: .78125rem; color: var(--sl-mist); opacity: .8; }

/**
 * Khối "Stay connected" dùng chữ trắng (class color-white của Elementor)
 * nhưng section không có nền → trắng trên trắng, hỏng từ trước redesign.
 * Trả lại nền tối như thiết kế định.
 */
#colophon .elementor-section:has(.elementor-widget-cs_signup) {
  background-color: var(--sl-deep);
  background-image: none;      /* reference dùng nền đặc, không ảnh */
}
#colophon .elementor-section:has(.elementor-widget-cs_signup) .cs-title,
#colophon .elementor-section:has(.elementor-widget-cs_signup) .cs-subtitle { color: var(--sl-on-deep); }
#colophon .elementor-section:has(.elementor-widget-cs_signup) .cs-title {
  font-family: var(--sl-font-display);
  font-weight: 400;
  font-size: var(--sl-fs-h3);
  max-width: 24ch;
  margin-inline: auto;
}
#colophon .elementor-section:has(.elementor-widget-cs_signup) .cs-subtitle {
  font-family: var(--sl-font-body);
  font-size: var(--sl-fs-meta);
  font-weight: 700;
  letter-spacing: var(--sl-ls-meta);
  text-transform: uppercase;
  color: var(--sl-gold);
}

#colophon .cs-signup input[type="email"],
#colophon .cs-signup input[type="text"] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 243, 233, .3);
  border-radius: 0;
  color: var(--sl-on-deep);
  padding: .75rem 0;
  font-family: var(--sl-font-body);
}
#colophon .cs-signup input::placeholder { color: rgba(247, 243, 233, .5); }
#colophon .cs-signup .fields-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
#colophon .cs-signup .fields-container input[type="email"] {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 48px;
  padding-right: 0;
}
#colophon .cs-signup button,
#colophon .cs-signup input[type="submit"] {
  background-color: var(--sl-gold);
  color: var(--sl-deep);
  border: 0;
  border-radius: var(--sl-radius-button);
  padding: 10px 20px;
  font-family: var(--sl-font-body);
  font-size: var(--sl-fs-small);
  font-weight: 700;
}
#colophon .cs-signup .fields-container button[type="submit"] {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  line-height: 1;
  white-space: nowrap;
  color: var(--sl-deep);
  transition: background-color var(--sl-dur-fast) var(--sl-ease);
}
#colophon .cs-signup .fields-container button[type="submit"]::after {
  margin-left: 0;
  font-size: 14px;
  line-height: 1;
}
#colophon .cs-signup .fields-container button[type="submit"] span {
  color: inherit;
}
#colophon .cs-signup .fields-container button[type="submit"]:is(:hover, :focus-visible) {
  background-color: var(--sl-gold-soft);
}
#colophon .cs-signup .fields-container button[type="submit"]:focus-visible {
  outline: 2px solid var(--sl-on-deep);
  outline-offset: 3px;
}
@media (max-width: 380px) {
  #colophon .cs-signup .fields-container { gap: 8px; }
  #colophon .cs-signup .fields-container button[type="submit"] {
    padding-inline: 12px;
    font-size: 13px;
  }
}

a.to-top {
  background: var(--sl-gold);
  color: var(--sl-deep);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}
a.to-top:hover { background: var(--sl-gold-soft); }
