/* Support channel cards + phone CTA (site-wide) */

.ts-support-channels__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.ts-home-faq__support.ts-support-channels {
  gap: 0.625rem;
}

.ts-support-channels__grid {
  display: grid;
  gap: 0.625rem;
  margin-top: 0.25rem;
  width: 100%;
}

.ts-support-channels__grid--compact {
  margin-top: 0.5rem;
}

.ts-support-channel {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  padding: 0.875rem 0.9375rem;
  border-radius: 0.875rem;
  border: 1px solid var(--ts-support-border, rgba(12, 49, 71, 0.1));
  background: rgba(255, 255, 255, 0.92);
}

body.ts-v3-home .ts-support-channel,
body.ts-v3-faq .ts-support-channel,
body.ts-v3-support .ts-support-channel,
body.ts-v3-ambassadors .ts-support-channel {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.ts-support-channel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0.05rem;
  border-radius: 0.65rem;
  background: rgba(12, 49, 71, 0.06);
  color: var(--ts-support-heading, var(--ts-home-ink-strong));
}

.ts-support-channel__icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

body.ts-v3-home .ts-support-channel__icon,
body.ts-v3-faq .ts-support-channel__icon,
body.ts-v3-support .ts-support-channel__icon,
body.ts-v3-ambassadors .ts-support-channel__icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ts-support-channel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  min-width: 0;
}

/* Templates that render these cards through the_content get the action link
   wrapped in a bare wpautop paragraph — drop it out of the flex flow. */
.ts-support-channel__body > p:not([class]),
.ts-v10-footer__contact-copy > p:not([class]) {
  display: contents;
}

.ts-support-channel__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ts-support-heading, var(--ts-home-ink-strong));
}

body.ts-v3-home .ts-support-channel__title,
body.ts-v3-faq .ts-support-channel__title,
body.ts-v3-support .ts-support-channel__title,
body.ts-v3-ambassadors .ts-support-channel__title {
  color: #fff;
}

.ts-support-channel__lead,
.ts-support-channel__meta {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ts-support-muted, var(--ts-home-ink-muted));
}

body.ts-v3-home .ts-support-channel__lead,
body.ts-v3-faq .ts-support-channel__lead,
body.ts-v3-support .ts-support-channel__lead,
body.ts-v3-ambassadors .ts-support-channel__lead,
body.ts-v3-home .ts-support-channel__meta,
body.ts-v3-faq .ts-support-channel__meta,
body.ts-v3-support .ts-support-channel__meta,
body.ts-v3-ambassadors .ts-support-channel__meta {
  color: rgba(255, 255, 255, 0.68);
}

.ts-support-channel__action {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0.2rem 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ts-blue, #2f80c8);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.ts-v3-home .ts-support-channel__action,
body.ts-v3-faq .ts-support-channel__action,
body.ts-v3-support .ts-support-channel__action,
body.ts-v3-ambassadors .ts-support-channel__action {
  color: var(--ts-blue-light, #7ec0ff);
}

.ts-support-channel--phone .ts-support-channel__action {
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

.ts-support-channel__action:hover,
.ts-support-channel__action:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Light-surface overrides (ticket form, gate card) */
body.ts-v3-support .ts-support-form-contact .ts-support-channel,
body.ts-v3-support .ts-support-gate__phone-card {
  border-color: var(--ts-support-border, rgba(12, 49, 71, 0.1));
  background: var(--ts-support-card-bg, #fff);
}

body.ts-v3-support .ts-support-form-contact .ts-support-channel__title,
body.ts-v3-support .ts-support-gate__phone-card .ts-support-channel__title {
  color: var(--ts-support-heading, var(--ts-home-ink-strong));
}

body.ts-v3-support .ts-support-form-contact .ts-support-channel__lead,
body.ts-v3-support .ts-support-form-contact .ts-support-channel__meta,
body.ts-v3-support .ts-support-gate__phone-card .ts-support-channel__lead,
body.ts-v3-support .ts-support-gate__phone-card .ts-support-channel__meta {
  color: var(--ts-support-muted, var(--ts-home-ink-muted));
}

body.ts-v3-support .ts-support-form-contact .ts-support-channel__action,
body.ts-v3-support .ts-support-gate__phone-card .ts-support-channel__action {
  color: var(--ts-blue, #2f80c8);
}

body.ts-v3-support .ts-support-form-contact .ts-support-channel__icon,
body.ts-v3-support .ts-support-gate__phone-card .ts-support-channel__icon {
  background: rgba(47, 128, 200, 0.1);
  color: var(--ts-blue, #2f80c8);
}

.ts-support-phone-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.875rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(12, 49, 71, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: inherit;
  text-decoration: none;
  text-align: left;
}

.ts-support-phone-cta:hover,
.ts-support-phone-cta:focus-visible {
  border-color: rgba(47, 128, 200, 0.35);
  box-shadow: 0 8px 24px rgba(12, 49, 71, 0.08);
}

.ts-support-phone-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(47, 128, 200, 0.12);
  color: var(--ts-blue, #2f80c8);
}

.ts-support-phone-cta__icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.ts-support-phone-cta__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  min-width: 0;
}

.ts-support-phone-cta__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ts-home-ink-muted, #64748b);
}

.ts-support-phone-cta__number {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ts-home-ink-strong, #0c3147);
}

.ts-support-phone-cta__hours {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ts-home-ink-muted, #64748b);
}

.ts-support-phone-cta--inline {
  display: inline-flex;
  vertical-align: middle;
  width: auto;
  padding: 0.35rem 0.55rem;
  margin-inline: 0.2rem;
  border-radius: 999px;
}

.ts-support-phone-cta--inline .ts-support-phone-cta__icon {
  width: 1.35rem;
  height: 1.35rem;
}

.ts-support-phone-cta--inline .ts-support-phone-cta__icon svg {
  width: 0.85rem;
  height: 0.85rem;
}

.ts-support-phone-cta--inline .ts-support-phone-cta__label,
.ts-support-phone-cta--inline .ts-support-phone-cta__hours {
  display: none;
}

.ts-support-phone-cta--inline .ts-support-phone-cta__number {
  font-size: 0.875rem;
}

.ts-support-phone-cta--bar,
.ts-support-phone-cta--drawer,
.ts-support-phone-cta--account {
  width: 100%;
}

.ts-support-phone-cta--drawer {
  background: rgba(255, 255, 255, 0.92);
}

.ts-home-support-bar__meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.625rem;
  min-width: min(100%, 14.5rem);
}

.ts-home-support-bar__meta .ts-home-support-bar__email {
  align-self: flex-start;
  font-weight: 600;
}

.ts-footer-support-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ts-footer-support-card__email {
  font-weight: 600;
  text-decoration: none;
}

/* Footer support column: phone and email are peers, so they share one row
   treatment where the address itself is the link rather than a label above it. */
.ts-v10-footer__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ts-v10-footer__contact {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-inline: -0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.ts-v10-footer__contact:hover,
.ts-v10-footer__contact:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.ts-v10-footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.ts-v10-footer__contact-icon svg {
  display: block;
  width: 0.9375rem;
  height: 0.9375rem;
}

.ts-v10-footer__contact-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ts-v10-footer__contact-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* 0.8125rem keeps the longest support address on one line inside the narrow
   footer column; anything larger wraps mid-domain. */
.ts-v10-footer__contact-value {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  overflow-wrap: anywhere;
}

.ts-v10-footer__contact:hover .ts-v10-footer__contact-value,
.ts-v10-footer__contact:focus-visible .ts-v10-footer__contact-value {
  color: #ffffff;
}

.ts-v10-footer__contact-hours {
  margin: 0.625rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Outranks the base `.ts-v10-footer__links { margin: 0 }` so the help links
   separate from the contact block above them. */
.ts-v10-footer .ts-v10-footer__column .ts-v10-footer__links--support {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ts-v10-footer__links--support a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ts-v10-footer__links--support a::after {
  content: '→';
  transition: transform 0.2s ease;
}

.ts-v10-footer__links--support a:hover::after {
  transform: translateX(0.15rem);
}

.ts-checkout-support-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.ts-promo-icon-wrap {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-inline: 0.1rem 0.15rem;
}

.ts-promo-icon-wrap svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

@media (min-width: 768px) {
  .ts-home-support-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .ts-home-support-bar__meta {
    flex-shrink: 0;
    align-items: flex-end;
    min-width: 13.5rem;
  }

  .ts-home-support-bar__meta .ts-home-support-bar__email {
    align-self: flex-end;
  }
}

@media (min-width: 1024px) {
  body.ts-v3-support .ts-home-faq__layout {
    grid-template-columns: minmax(17rem, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
  }

  body.ts-v3-support .ts-support-main .ts-support-funnel__shell {
    margin-top: 0;
  }

  /* Matches the aside card's 1.5rem inset so the funnel title and the aside's
     first line share a baseline. Zeroing this instead lined the title up with
     the aside's top border and left the heading touching the panel edge. */
  body.ts-v3-support .ts-support-main .ts-support-panel {
    padding-top: 1.5rem;
  }
}
