/* Home support section. Keep channel layout independent of loader display values. */
#contact {
  color: #f4f7fc;
  scroll-margin-top: 110px;
}

#contact .contact-station {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(28px, 3vw, 42px);
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid #344151;
  border-radius: 20px;
  background: #151c24;
}

#contact .contact-intro {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 14px;
  align-content: start;
  align-items: center;
  min-width: 0;
}

#contact .contact-intro-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  color: #25f4ee;
  background: #1b3037;
  border: 1px solid #2d5158;
  border-radius: 12px;
}

#contact .section-heading {
  margin: 0;
  max-width: 360px;
  color: #f4f7fc;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.8px;
  text-wrap: balance;
}

#contact .section-subtitle {
  grid-column: 1 / -1;
  max-width: 42ch;
  margin: 20px 0 22px;
  color: #aab8ca;
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

#contact .contact-studio-entry {
  grid-column: 1 / -1;
  margin: 0;
}

#contact .contact-studio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid #25f4ee;
  border-radius: 9px;
  background: #25f4ee;
  color: #102023;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

#contact .contact-studio-link:hover {
  background: #8af9f4;
  border-color: #8af9f4;
  transform: none;
  box-shadow: none;
}

#contact .contact-studio-entry > p {
  margin: 10px 0 0;
  color: #aab8ca;
  font-size: 12px;
  line-height: 1.6;
}

#contact .contact-channels {
  min-width: 0;
  padding-left: clamp(24px, 2.4vw, 34px);
  border-left: 1px solid #ffffff14;
}

#contact .contact-channel-heading {
  margin: 0 0 18px;
}

#contact .contact-channel-heading h3 {
  margin: 0 0 7px;
  color: #f4f7fc;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

#contact .contact-channel-heading p {
  margin: 0;
  color: #aab8ca;
  font-size: 13px;
  line-height: 1.6;
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

#contact .contact-card-item {
  display: block;
  min-width: 0;
  padding: 17px 14px;
  border: 1px solid #343b49;
  border-radius: 11px;
  background: #1b202b;
  color: #f4f7fc;
  text-decoration: none;
}

#contact #ctZaloCard {
  background: #1a2c33;
  border-color: #38616a;
}

#contact .contact-channel-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: start;
}

#contact .contact-card-icon {
  display: grid;
  grid-row: auto;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  border: 1px solid #405063;
  border-radius: 9px;
  background: #252d3b;
}

#contact .contact-card-icon svg {
  width: 19px;
  height: 19px;
}

#contact #ctZaloCard .contact-card-icon {
  background: #25464e;
  border-color: #3b6870;
}

#contact .contact-channel-copy {
  min-width: 0;
}

#contact .contact-item-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

#contact .contact-channel-purpose {
  margin: 3px 0 0;
  color: #aab8ca;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#contact .contact-item-val {
  margin-top: 5px;
  color: #c3d1e0;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#contact #ctZaloCard .contact-item-val {
  color: #83e5df;
}

#contact .contact-channel-arrow {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: #aab8ca;
}

#contact .contact-card-item:hover {
  border-color: #25f4ee;
  background: #22313b;
}

#contact .contact-card-item:hover .contact-channel-arrow {
  color: #25f4ee;
}

#contact a:focus-visible {
  outline: 3px solid #25f4ee;
  outline-offset: 5px;
}

#contact .contact-empty {
  display: none;
  margin: 0;
  padding: 24px;
  border: 1px dashed #344151;
  border-radius: 11px;
  color: #aab8ca;
  font-size: 14px;
  line-height: 1.8;
}

#contact .contact-grid:not(:has(> a:not([style*="display:none"]):not([style*="display: none"]))) + .contact-empty {
  display: block;
}

@media (max-width: 960px) {
  #contact .contact-station {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 780px;
    margin-inline: auto;
  }

  #contact .section-subtitle {
    max-width: 500px;
    margin-bottom: 22px;
  }

  #contact .contact-channels {
    border-top: 1px solid #344151;
    border-left: 0;
    padding: 24px 0 0;
  }
}

@media (max-width: 600px) {
  #contact .contact-station {
    padding: 26px 20px;
    border-radius: 15px;
    gap: 28px;
  }

  #contact .contact-intro-icon {
    width: 40px;
    height: 40px;
  }

  #contact .section-heading {
    font-size: 24px;
    letter-spacing: -0.6px;
  }

  #contact .contact-intro {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
  }

  #contact .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #contact .section-subtitle {
    margin-top: 16px;
    font-size: 13px;
  }

  #contact .contact-studio-entry,
  #contact .contact-studio-link {
    width: 100%;
  }

  #contact .contact-studio-entry > p {
    text-align: center;
  }

  #contact .contact-card-item {
    padding: 16px 14px;
  }

  #contact .contact-channel-row {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    gap: 11px;
  }

  #contact .contact-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

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