/* Real Estate Training page — luxury layout matching design mockup */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&display=swap");

body.tmb-training-page {
  --tr-gold: #c9a962;
  --tr-gold-hi: #e4d09a;
  --tr-gold-deep: #a8873f;
  --tr-ink: #07080b;
  --tr-panel: rgba(14, 16, 22, 0.92);
  --tr-border: rgba(201, 169, 98, 0.32);
  --tr-mute: rgba(244, 239, 230, 0.72);
  --tr-serif: "Cormorant Garamond", Georgia, serif;
}

body.tmb-training-page section.tmb-tr-section > .container,
body.tmb-training-page .tmb-tr-section > .container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  max-width: none !important;
  border-radius: 0 !important;
}

body.tmb-training-page .banner-section.two.inner {
  display: none !important;
}

body.tmb-training-page .tmb-tr-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

body.tmb-training-page .tmb-tr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: none !important;
}

body.tmb-training-page .tmb-tr-eyebrow::before,
body.tmb-training-page .tmb-tr-eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--tr-gold);
}

body.tmb-training-page .tmb-tr-eyebrow::after {
  display: none;
}

body.tmb-training-page .tmb-tr-hero .tmb-tr-eyebrow::after {
  display: block;
}

body.tmb-training-page .tmb-tr-title {
  margin: 0 0 1rem;
  font-family: var(--tr-serif) !important;
  font-size: clamp(2rem, 4.2vw, 3.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  text-shadow: none !important;
}

body.tmb-training-page .tmb-tr-title .gold {
  color: var(--tr-gold-hi) !important;
}

body.tmb-training-page .tmb-tr-lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--tr-mute) !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  text-shadow: none !important;
}

body.tmb-training-page .tmb-tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.2s ease, filter 0.2s ease;
}

body.tmb-training-page .tmb-tr-btn:hover {
  transform: translateY(-2px);
}

body.tmb-training-page .tmb-tr-btn--gold {
  background: linear-gradient(180deg, var(--tr-gold-hi), var(--tr-gold-deep));
  color: #1a150c !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 28px rgba(168, 135, 63, 0.3);
}

body.tmb-training-page .tmb-tr-btn--ghost {
  background: transparent;
  color: var(--tr-gold-hi) !important;
  border: 1px solid rgba(201, 169, 98, 0.55);
  white-space: nowrap;
  flex-shrink: 0;
}

body.tmb-training-page .tmb-tr-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--tr-gold-hi) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-shadow: none !important;
}

body.tmb-training-page .tmb-tr-link:hover {
  color: #fff !important;
}

/* ---------- Hero ---------- */
.tmb-tr-hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8.5rem 0 2.5rem;
  overflow: hidden;
  background-color: #08090c !important;
  background-image:
    linear-gradient(90deg, rgba(8, 9, 12, 0.78) 0%, rgba(8, 9, 12, 0.42) 48%, rgba(8, 9, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.5) 0%, rgba(8, 9, 12, 0.22) 42%, rgba(8, 9, 12, 0.9) 100%),
    radial-gradient(ellipse at 28% 42%, rgba(212, 179, 106, 0.16), transparent 58%),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=2200&q=80") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.tmb-tr-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tmb-tr-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0 1.1rem;
  border-right: 1px solid rgba(201, 169, 98, 0.35);
}

.tmb-tr-feature:first-child {
  padding-left: 0;
}

.tmb-tr-feature:last-child {
  border-right: 0;
  padding-right: 0;
}

.tmb-tr-feature svg {
  width: 26px;
  height: 26px;
  fill: var(--tr-gold);
  flex: 0 0 26px;
  margin-top: 0.15rem;
}

.tmb-tr-feature strong {
  display: block;
  color: #fff !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  margin-bottom: 0.2rem;
}

.tmb-tr-feature span {
  display: block;
  color: var(--tr-mute) !important;
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
}

/* ---------- Practical ---------- */
.tmb-tr-practical {
  padding: 5rem 0;
  background: #08090c;
}

.tmb-tr-practical__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.75rem;
  align-items: center;
}

.tmb-tr-practical__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--tr-border);
  min-height: 360px;
  background: #08090c;
}

.tmb-tr-practical__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.tmb-tr-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tmb-tr-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.88);
  border: 1px solid rgba(201, 169, 98, 0.55);
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-shadow: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tmb-tr-chip svg {
  width: 16px;
  height: 16px;
  fill: var(--tr-gold);
}

.tmb-tr-chip--1 { top: 12%; left: 6%; }
.tmb-tr-chip--2 { top: 18%; right: 7%; }
.tmb-tr-chip--3 { bottom: 22%; left: 8%; }
.tmb-tr-chip--4 { bottom: 14%; right: 6%; }

/* ---------- Programs ---------- */
.tmb-tr-programs {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, #08090c, #08090c);
}

.tmb-tr-programs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tmb-tr-programs__head-copy {
  max-width: 40rem;
}

.tmb-tr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tmb-tr-card {
  display: flex;
  flex-direction: column;
  background: var(--tr-panel);
  border: 1px solid var(--tr-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tmb-tr-card:hover {
  border-color: rgba(201, 169, 98, 0.55);
  transform: translateY(-3px);
}

.tmb-tr-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.tmb-tr-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tmb-tr-card__body {
  padding: 1.1rem 1.05rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.tmb-tr-card h3 {
  margin: 0;
  color: #fff !important;
  font-family: var(--tr-serif) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-shadow: none !important;
}

.tmb-tr-card p {
  margin: 0;
  color: var(--tr-mute) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  text-shadow: none !important;
  flex: 1;
}

.tmb-tr-card .tmb-tr-link {
  margin-top: 0.35rem;
}

/* ---------- Audience / Who it's for ---------- */
.tmb-tr-audience {
  padding: 4.5rem 0;
  background: #08090c;
}

.tmb-tr-audience__panel {
  border: 1px solid var(--tr-border);
  border-radius: 22px;
  background: rgba(12, 14, 18, 0.85);
  padding: 2rem 1.75rem 1.5rem;
}

.tmb-tr-audience__top {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.tmb-tr-audience__roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tmb-tr-role {
  text-align: center;
  padding: 0.5rem 0.35rem;
}

.tmb-tr-role svg {
  width: 36px;
  height: 36px;
  fill: var(--tr-gold);
  margin-bottom: 0.65rem;
}

.tmb-tr-role strong {
  display: block;
  color: #fff !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  margin-bottom: 0.25rem;
}

.tmb-tr-role span {
  display: block;
  color: var(--tr-mute) !important;
  font-size: 0.75rem !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
}

.tmb-tr-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(201, 169, 98, 0.28);
  padding-top: 1.35rem;
}

.tmb-tr-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(201, 169, 98, 0.28);
}

.tmb-tr-stat:first-child { padding-left: 0; }
.tmb-tr-stat:last-child { border-right: 0; padding-right: 0; }

.tmb-tr-stat svg {
  width: 22px;
  height: 22px;
  fill: var(--tr-gold);
  flex: 0 0 22px;
}

.tmb-tr-stat strong {
  display: block;
  color: var(--tr-gold-hi) !important;
  font-family: var(--tr-serif) !important;
  font-size: 1.55rem !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  text-shadow: none !important;
}

.tmb-tr-stat span {
  display: block;
  color: var(--tr-mute) !important;
  font-size: 0.78rem !important;
  text-shadow: none !important;
}

/* ---------- CTA ---------- */
.tmb-tr-cta {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.88), rgba(7, 8, 11, 0.55)),
    url("https://images.unsplash.com/photo-1518684079-3c830dcef090?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}

.tmb-tr-cta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.tmb-tr-cta .tmb-tr-title {
  max-width: 18ch;
  margin-bottom: 0;
}

.tmb-tr-cta .tmb-tr-btn {
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .tmb-tr-features,
  .tmb-tr-grid,
  .tmb-tr-audience__roles,
  .tmb-tr-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmb-tr-feature,
  .tmb-tr-stat {
    border-right: 0;
    padding: 0.75rem 0;
  }

  .tmb-tr-practical__grid,
  .tmb-tr-audience__top {
    grid-template-columns: 1fr;
  }

  .tmb-tr-programs__head,
  .tmb-tr-cta__row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .tmb-tr-hero {
    min-height: min(62vh, 560px);
    padding-top: 7rem;
  }

  .tmb-tr-features,
  .tmb-tr-grid,
  .tmb-tr-audience__roles,
  .tmb-tr-stats {
    grid-template-columns: 1fr;
  }

  .tmb-tr-chip--2,
  .tmb-tr-chip--4 {
    display: none;
  }

  .tmb-tr-btn {
    width: 100%;
  }

  .tmb-tr-practical__media,
  .tmb-tr-practical__media img {
    min-height: 260px;
  }
}
