.tm-home-benefits {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 2.6fr);
  gap: 44px;
  align-items: center;
  width: 100%;
  padding: 32px clamp(24px, 3.2vw, 64px);
  box-sizing: border-box;
  background: #f7f8fc;
  color: #235fa5;
}
.tm-home-benefits,
.tm-home-benefits * {
  font-family: inherit;
}
.tm-home-benefits__intro h2 {
  margin: 0 0 38px;
  color: #2f8ee8;
  font-size: clamp(36px, 3.4vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  white-space: pre-line;
}
.tm-home-benefits__intro p {
  margin: 0;
  color: #235fa5;
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 500;
}
.tm-home-benefits__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.tm-home-benefits__card {
  min-height: 252px;
  padding: 28px 18px 22px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
}
.tm-home-benefits__icon {
  display: grid;
  place-items: center;
  height: 88px;
  margin-bottom: 12px;
  color: #2f8ee8;
}
.tm-home-benefits__icon img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.tm-home-benefits__icon span {
  color: #2f8ee8;
  font-size: 11px;
}
.tm-home-benefits__card h3 {
  margin: 0 0 28px;
  color: #2f8ee8;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.tm-home-benefits__card p {
  margin: 0;
  color: #235fa5;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 1200px) {
  .tm-home-benefits {
    grid-template-columns: 1fr;
  }
  .tm-home-benefits__intro {
    text-align: center;
  }
  .tm-home-benefits__intro h2 {
    margin-bottom: 16px;
  }
}
@media (max-width: 767px) {
  .tm-home-benefits {
    display: block;
    padding: 36px 20px;
  }
  .tm-home-benefits__intro {
    text-align: left;
    margin-bottom: 28px;
  }
  .tm-home-benefits__intro h2 {
    font-size: 40px;
  }
  .tm-home-benefits__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .tm-home-benefits__card {
    min-height: 220px;
    padding: 22px 12px 18px;
  }
  .tm-home-benefits__card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 7px);
  }
  .tm-home-benefits__card h3 {
    margin-bottom: 18px;
    font-size: 16px;
  }
  .tm-home-benefits__card p {
    font-size: 14px;
  }
  .tm-home-benefits__icon {
    height: 68px;
  }
}
.tm-home-benefits {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 2.6fr);
  min-height: 0;
  border-radius: 0;
  background: #f7f8fc;
  background-image: none !important;
  overflow: visible;
}
.tm-home-benefits__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.tm-home-benefits__brand,
.tm-home-benefits__buttons {
  display: none;
}
@media (max-width: 1200px) {
  .tm-home-benefits {
    grid-template-columns: 1fr;
  }
  .tm-home-benefits__cards {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
  }
}
@media (max-width: 767px) {
  .tm-home-benefits {
    display: block;
    padding: 36px 20px;
  }
  .tm-home-benefits__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .tm-home-benefits__card:nth-child(5) {
    grid-column: 1/-1;
    justify-self: center;
    width: calc(50% - 7px);
  }
}
.tm-home-benefits {
  position: relative;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-radius: 18px;
  background-color: #eef6ff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.tm-home-benefits__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.tm-home-benefits__brand img {
  display: block;
  width: min(86%, 620px);
  max-height: 260px;
  object-fit: contain;
}
.tm-home-benefits__intro {
  align-self: center;
  max-width: 580px;
}
.tm-home-benefits__intro h2 {
  margin-bottom: 28px;
}
.tm-home-benefits__intro p {
  max-width: 560px;
  line-height: 1.45;
}
.tm-home-benefits__buttons {
  display: flex;
  gap: 20px;
  margin-top: 54px;
}
.tm-home-benefits__buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 22px;
  border: 1px solid #2f8ee8;
  border-radius: 999px;
  color: #2f8ee8;
  text-decoration: none;
  font-weight: 600;
}
.tm-home-benefits__buttons a:first-child {
  background: #2f8ee8;
  color: #fff;
}
@media (max-width: 980px) {
  .tm-home-benefits {
    min-height: 430px;
    gap: 24px;
  }
  .tm-home-benefits__brand img {
    width: min(90%, 420px);
    max-height: 190px;
  }
  .tm-home-benefits__buttons {
    margin-top: 30px;
  }
}
/* Restore the original five-card TM Home Benefits layout. */
.tm-home-benefits {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 2.6fr);
  min-height: 0;
  padding: 32px clamp(24px, 3.2vw, 64px);
  border-radius: 0;
  background: #f7f8fc;
  background-image: none !important;
  overflow: visible;
}
.tm-home-benefits__intro {
  align-self: auto;
  max-width: none;
}
.tm-home-benefits__intro h2 {
  margin: 0 0 38px;
  font-size: clamp(36px, 3.4vw, 64px);
}
.tm-home-benefits__intro p {
  max-width: none;
}
.tm-home-benefits__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.tm-home-benefits__card {
  display: block;
  min-height: 252px;
}
.tm-home-benefits__brand,
.tm-home-benefits__buttons {
  display: none;
}
@media (max-width: 1200px) {
  .tm-home-benefits {
    grid-template-columns: 1fr;
  }
  .tm-home-benefits__intro {
    text-align: center;
  }
  .tm-home-benefits__cards {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
  }
}
@media (max-width: 767px) {
  .tm-home-benefits {
    display: block;
    padding: 36px 20px;
  }
  .tm-home-benefits__intro {
    text-align: left;
    margin-bottom: 28px;
  }
  .tm-home-benefits__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .tm-home-benefits__card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 7px);
  }
}
@media (max-width: 767px) {
  .tm-home-benefits {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 680px;
    padding: 42px 26px;
    background-position: center top;
  }
  .tm-home-benefits__brand {
    flex: 0 0 auto;
    min-height: 210px;
  }
  .tm-home-benefits__brand img {
    width: 90%;
    max-height: 190px;
  }
  .tm-home-benefits__intro {
    max-width: none;
  }
  .tm-home-benefits__intro h2 {
    font-size: 40px;
  }
  .tm-home-benefits__buttons {
    gap: 12px;
    margin-top: 28px;
  }
  .tm-home-benefits__buttons a {
    min-width: 0;
    flex: 1;
    padding: 12px 10px;
  }
}
