/* Community panel */
.auth__snippet {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;xchange-welcome__resource
  padding: clamp(32px, 5vw, 72px);
  background: #0b4043;
  color: #ffffff;
}

/* Decorative background shapes */
.auth__snippet::before,
.auth__snippet::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: #105457;
  border-radius: 50%;
}

.auth__snippet::before {
  width: 580px;
  height: 380px;
  top: -285px;
  right: -220px;
  transform: rotate(30deg);
}

.auth__snippet::after {
  width: 680px;
  height: 420px;
  bottom: -290px;
  right: -240px;
  transform: rotate(-25deg);
}

.xchange-welcome,
.xchange-welcome * {
  box-sizing: border-box;
}

.xchange-welcome {
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
  font-family: inherit;
  color: #ffffff;
}

/* Heading and introductory copy */
.xchange-welcome__header {
  text-align: center;
}

.xchange-welcome__header h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.xchange-welcome__header h2 > .xchange-welcome__heading-line {
  display: block;
  color: #ffffff;
}

.xchange-welcome__heading-line > span {
  color: #38efc3;
}

.xchange-welcome__header p {
  max-width: 410px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
}

/* Request-to-join button */
.xchange-welcome .xchange-welcome__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin-top: 26px;
  padding: 13px 18px;
  border: 1px solid #38efc3;
  border-radius: 5px;
  background: transparent;
  color: #38efc3;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.xchange-welcome__button svg {
  flex-shrink: 0;
}

.xchange-welcome .xchange-welcome__button:hover {
  background: #38efc3;
  color: #0b4043;
  text-decoration: none;
}

.xchange-welcome .xchange-welcome__button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Testimonials: two columns */
.xchange-welcome__testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 40px;
  text-align: left;
}

.xchange-welcome__testimonials h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.xchange-welcome__quote {
  position: relative;
  min-width: 0;
  margin: 0;
  padding-left: 26px;
}

.xchange-welcome__quote::before {
  content: "“";
  position: absolute;
  top: -9px;
  left: 0;
  color: #38efc3;
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
}

.xchange-welcome__quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
}

.xchange-welcome__quote blockquote p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
}

.xchange-welcome__quote figcaption {
  margin-top: 12px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.6;
}

.xchange-welcome__quote figcaption strong,
.xchange-welcome__quote figcaption span {
  display: block;
}

.xchange-welcome__quote figcaption strong {
  color: #38efc3;
  font-weight: 600;
}

/* Desktop: equal-width panels and a two-line heading */
@media (min-width: 1150px) {
  .auth__main--snippet {
    width: 50%;
    flex: 0 0 50%;
  }

  .auth__snippet {
    width: 50%;
    flex: 0 0 50%;
  }

  .xchange-welcome__heading-line {
    white-space: nowrap;
  }
}

/* Mobile: stack testimonials and allow heading wrapping */
@media (max-width: 600px) {
  .auth__snippet {
    padding: 36px 24px;
  }

  .xchange-welcome__testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .xchange-welcome__quote + .xchange-welcome__quote {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .xchange-welcome__quote + .xchange-welcome__quote::before {
    top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xchange-welcome .xchange-welcome__button {
    transition: none;
  }
}

/* Wider, left-aligned testimonials */
.xchange-welcome__testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: left;
}

.xchange-welcome__quote {
  width: 100%;
  padding-left: 28px;
}

.xchange-welcome__quote + .xchange-welcome__quote {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.xchange-welcome__quote + .xchange-welcome__quote::before {
  top: 15px;
}

/*@media (min-width: 1150px) {
  .xchange-welcome__testimonials {
    width: calc(100% + 80px);
    margin-left: -40px;
  }
}*/

@media (max-width: 1149px) {
  .xchange-welcome__testimonials {
    width: 100%;
    margin-left: 0;
  }
}

/* Community content preview */
.xchange-welcome__resources,
.xchange-welcome__resources * {
  box-sizing: border-box;
}

.xchange-welcome__resources {
  width: 100%;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.xchange-welcome__resources-header {
  margin-bottom: 18px;
  text-align: left;
}

.xchange-welcome__resources-header h3 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.xchange-welcome__resources-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.6;
}

/* Resource list */
.xchange-welcome__resource-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Individual resource card */
.xchange-welcome__resource {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.xchange-welcome__resource:hover {
  border-color: #38efc3;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  text-decoration: none;
}

.xchange-welcome__resource:focus-visible,
.xchange-welcome__resources-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Thumbnail placeholders */
.xchange-welcome__resource-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
  padding: 10px;
  overflow: hidden;
  border-radius: 3px;
  background: #105457;
}

.xchange-welcome__resource-image--webinar {
  align-items: center;
  background:
    radial-gradient(
      ellipse at 75% 20%,
      rgba(56, 239, 195, 0.2),
      transparent 60%
    ),
    #123f43;
}

.xchange-welcome__resource-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding-left: 3px;
  border: 1px solid #38efc3;
  border-radius: 50%;
  color: #38efc3;
  font-size: 12px;
}

/* Guide thumbnail */
.xchange-welcome__resource-image--guide {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  background:
    linear-gradient(
      145deg,
      #176b68 0%,
      #105457 55%,
      #0b4043 100%
    );
}

.xchange-welcome__resource-guide-label {
  color: #38efc3;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.xchange-welcome__resource-guide-title {
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

/* Resource text */
.xchange-welcome__resource-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 2px 12px 2px 0;
}

.xchange-welcome__resource-tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(56, 239, 195, 0.14);
  color: #38efc3;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.xchange-welcome__resource-tag--guide {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.xchange-welcome__resource-content h4 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.xchange-welcome__resource-date {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.5;
}

/* Arrow indicator */
.xchange-welcome__resource-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #38efc3;
  font-size: 13px;
  opacity: 0;
  transition: opacity 160ms ease;
}

.xchange-welcome__resource:hover
.xchange-welcome__resource-arrow,
.xchange-welcome__resource:focus-visible
.xchange-welcome__resource-arrow {
  opacity: 1;
}

/* Explore more link */
.xchange-welcome__resources-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #38efc3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.xchange-welcome__resources-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .xchange-welcome__resources {
    margin-top: 30px;
    padding-top: 24px;
  }

  .xchange-welcome__resource {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 8px;
  }

  .xchange-welcome__resource-image {
    min-height: 100px;
    padding: 8px;
  }

  .xchange-welcome__resource-content h4 {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xchange-welcome__resource,
  .xchange-welcome__resource-arrow {
    transition: none;
  }
}