/* NOTE: User-added sections on Tunas Muda pages — sits above the site footer */

.tm-user-sections {
  position: relative;
  z-index: 1;
}

.tm-user-section {
  padding: 72px 0;
}

.tm-user-section--text,
.tm-user-section--cards {
  background: #f7f8fc;
}

.tm-user-section--split {
  background: #ffffff;
}

.tm-user-section__narrow {
  max-width: 760px;
}

.tm-user-section__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2b459c;
}

.tm-user-section__title {
  margin: 0 0 14px;
  font-family: "Plus Jakarta Sans", Poppins, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a1b41;
}

.tm-user-section__title--center {
  text-align: center;
  margin-bottom: 28px;
}

.tm-user-section__body {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #3d4663;
}

.tm-user-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.tm-user-split__media {
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(160deg, #e8eefc 0%, #f7f8fc 100%);
}

.tm-user-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.tm-user-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tm-user-card {
  margin: 0;
  padding: 22px 20px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 27, 65, 0.05);
}

.tm-user-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #1a1b41;
}

.tm-user-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3d4663;
}

.tm-user-section--cta {
  padding: 0;
}

.tm-user-cta {
  padding: 64px 0;
  background: #1a1b41;
  color: #fff;
  text-align: center;
}

.tm-user-cta .tm-user-section__title,
.tm-user-cta .tm-user-section__body {
  color: #fff;
}

.tm-user-cta .tm-user-section__body {
  opacity: 0.86;
}

.tm-user-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #f5c451;
  color: #1a1b41;
  font-weight: 800;
  text-decoration: none;
}

.tm-user-cta__btn:hover {
  background: #ffd36a;
  color: #1a1b41;
}

/* NOTE: Reuse the real Home hero, but do not take a full screen when it is an added section */
.tm-user-sections .tm-user-hero {
  height: auto;
  min-height: 420px;
  max-height: none;
  margin: 0;
}

.tm-user-stats {
  padding: 48px 20px;
  background: #1a1b41;
}

.tm-user-stats .tm-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tm-user-news {
  max-width: 880px;
  margin: 0 auto 8px;
}

.tm-user-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.tm-user-partner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 110px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.tm-user-partner__logo img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.tm-user-partner p {
  margin: 0;
  font-weight: 700;
  color: #1a1b41;
}

@media (max-width: 800px) {
  .tm-user-section {
    padding: 48px 0;
  }

  .tm-user-split,
  .tm-user-cards {
    grid-template-columns: 1fr;
  }
}
