.tn-image-text-section {
  --tn-image-text-width: 1144px;
  box-sizing: border-box;
  width: 100%;
  padding: 90px 10px;
  background: #ffffff;
}

.tn-image-text-section *,
.tn-image-text-section *::before,
.tn-image-text-section *::after {
  box-sizing: border-box;
}

.tn-image-text-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 30px;
  width: min(var(--tn-image-text-width), 100%);
  margin: 0 auto;
}

.tn-image-text-section--image-right .tn-image-text-section__grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
}

.tn-image-text-section--image-right .tn-image-text-section__media {
  order: 2;
}

.tn-image-text-section--image-right .tn-image-text-section__content {
  order: 1;
}

.tn-image-text-section__media,
.tn-image-text-section__content {
  min-width: 0;
}

.tn-image-text-section__image {
  display: block;
  margin: 0;
}

.tn-image-text-section__image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0 14px 14px 0;
}

.tn-image-text-section__content {
  max-width: 580px;
}

.tn-image-text-section__top-logo {
  display: block;
  margin: 0 0 18px;
}

.tn-image-text-section__top-logo img {
  display: inline-block;
  width: 32px;
  max-width: 100%;
  height: auto;
  padding: 0 0 10px;
  object-fit: contain;
  vertical-align: top;
}

.tn-image-text-section__eyebrow {
  margin: 0 0 28px;
  color: #8795aa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 6px;
  line-height: 1;
  text-transform: uppercase;
}

.tn-image-text-section__title {
  margin: 0;
  color: #0f1729;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 0.96;
}

.tn-image-text-section__body {
  margin-top: 45px;
  color: #8291a7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.tn-image-text-section__body p {
  margin: 0 0 1em;
}

.tn-image-text-section__body p:last-child {
  margin-bottom: 0;
}

.tn-image-text-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 30px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #00a0cc;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.tn-image-text-section__button:hover,
.tn-image-text-section__button:focus {
  color: #ffffff;
  filter: brightness(0.95);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .tn-image-text-section {
    padding: 76px 10px;
  }

  .tn-image-text-section__grid,
  .tn-image-text-section--image-right .tn-image-text-section__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .tn-image-text-section--image-right .tn-image-text-section__media,
  .tn-image-text-section--image-right .tn-image-text-section__content {
    order: initial;
  }

  .tn-image-text-section__content {
    max-width: 680px;
  }

  .tn-image-text-section__title {
    font-size: 42px;
  }

  .tn-image-text-section__body {
    margin-top: 34px;
  }
}

@media (max-width: 767px) {
  .tn-image-text-section {
    padding: 60px 10px;
  }

  .tn-image-text-section__grid,
  .tn-image-text-section--image-right .tn-image-text-section__grid {
    gap: 30px;
  }

  .tn-image-text-section__image img {
    height: 240px;
  }

  .tn-image-text-section__eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 4px;
  }

  .tn-image-text-section__title {
    font-size: 34px;
    line-height: 1.04;
  }

  .tn-image-text-section__body {
    margin-top: 24px;
    font-size: 15px;
  }
}
