@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

.trh-coach-profile-page {
  --brand-primary: #582581;
  --brand-hover: #9A4795;
  --brand-teal: #00A19E;
  --brand-location: #007274;
}

.trh-coaches-page,
.trh-coaches-page * {
  font-family: 'Comfortaa', sans-serif !important;
  box-sizing: border-box;
}

.trh-coaches-page {
  color: #434B49;
  background: #FFFFFF;
  width: 100%;
  overflow-x: hidden;
}

.trh-coaches-page .trh-container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.trh-coaches-page .trh-hero {
  background: linear-gradient(135deg, #F2F8F8 0%, #FFFFFF 100%);
  padding: 90px 0 70px;
}

.trh-coaches-page .trh-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: center;
}

.trh-coaches-page .trh-eyebrow {
  color: #582581;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.trh-coaches-page .trh-hero h1,
.trh-coaches-page .trh-section h2,
.trh-coaches-page .trh-cta h2 {
  color: #00A19E;
  line-height: 1.12;
  margin: 0 0 22px;
  font-weight: 700;
}

.trh-coaches-page .trh-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.trh-coaches-page .trh-section h2,
.trh-coaches-page .trh-cta h2 {
  font-size: clamp(30px, 3.5vw, 44px);
}

.trh-coaches-page .trh-hero-text {
  font-size: 19px;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 30px;
}

.trh-coaches-page .trh-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trh-coaches-page .trh-buttons-centred {
  justify-content: center;
}

.trh-coaches-page .trh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.trh-coaches-page .trh-btn-primary {
  background: #582581;
  color: #FFFFFF;
}

.trh-coaches-page .trh-btn-primary:hover {
  background: #9A4795;
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
}

.trh-coaches-page .trh-btn-secondary {
  background: #FFFFFF;
  color: #434B49;
  border: 1px solid #DDEAEA;
}

.trh-coaches-page .trh-btn-secondary:hover {
  border-color: #00A19E;
  color: #00A19E;
  text-decoration: none;
  transform: translateY(-2px);
}

.trh-coaches-page .trh-hero-image-wrap {
  position: relative;
}

.trh-coaches-page .trh-hero-image {
  width: 100%;
  max-height: 380px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(67, 75, 73, 0.14);
  background: #F2F8F8;
}

.trh-coaches-page .trh-hero-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -24px;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(67, 75, 73, 0.14);
  border-left: 8px solid #582581;
}

.trh-coaches-page .trh-section {
  padding: 78px 0;
}

.trh-coaches-page .trh-section-header {
  max-width: 790px;
  margin-bottom: 36px;
}

.trh-coaches-page .trh-section-header p {
  font-size: 17px;
  line-height: 1.75;
  margin-top: 0;
}

.trh-coaches-page .trh-coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trh-coaches-page .trh-coach-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(67, 75, 73, 0.08);
  border: 1px solid #E6EFEF;
  display: flex;
  flex-direction: column;
}

.trh-coaches-page .trh-coach-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: #F2F8F8;
  margin-bottom: 18px;
}

.trh-coaches-page .trh-coach-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trh-coaches-page .trh-coach-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #582581;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 800;
}

.trh-coaches-page .trh-brand-logo-row {
  width: 100%;
  display: grid;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
}

.trh-coaches-page .trh-brand-count-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.trh-coaches-page .trh-brand-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trh-coaches-page .trh-brand-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trh-coaches-page .trh-brand-count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trh-coaches-page .trh-brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

.trh-coaches-page .trh-brand-logo-item img {
  max-width: 72px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.trh-coaches-page .trh-coach-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trh-coaches-page .trh-coach-content h3 {
  color: #582581;
  font-size: 24px;
  margin: 0 0 10px;
  text-align: center;
}

.trh-coaches-page .trh-coach-location {
  color: #007274;
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  text-align: center;
}

.trh-coaches-page .trh-coach-meta {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 14px;
  text-align: center;
}

.trh-coaches-page .trh-coach-content p {
  line-height: 1.7;
  margin: 0 0 14px;
}

.trh-coaches-page .trh-coach-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 13px 22px;
  border-radius: 999px;
  background: #582581;
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: center;
}

.trh-coaches-page .trh-coach-link:hover {
  background: #9A4795;
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
}

.trh-coaches-page .trh-cta {
  background: linear-gradient(135deg, #00A19E 0%, #582581 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 78px 0;
}

.trh-coaches-page .trh-cta h2 {
  color: #FFFFFF;
}

.trh-coaches-page .trh-cta p {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.7;
}

.trh-coaches-page .trh-cta .trh-btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.6);
}

.trh-coaches-page .trh-cta .trh-btn-secondary:hover {
  background: #FFFFFF;
  color: #00A19E;
}

@media (max-width: 980px) {
  .trh-coaches-page .trh-hero-grid,
  .trh-coaches-page .trh-coach-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .trh-coaches-page .trh-hero-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: -16px;
  }
}

@media (max-width: 620px) {
  .trh-coaches-page .trh-hero {
    padding: 60px 0;
  }

  .trh-coaches-page .trh-section {
    padding: 56px 0;
  }

  .trh-coaches-page .trh-hero h1 {
    font-size: 38px;
  }

  .trh-coaches-page .trh-section h2,
  .trh-coaches-page .trh-cta h2 {
    font-size: 30px;
  }

  .trh-coaches-page .trh-hero-text,
  .trh-coaches-page .trh-section-header p,
  .trh-coaches-page .trh-coach-content p {
    font-size: 17px;
    line-height: 1.75;
  }

  .trh-coaches-page .trh-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .trh-coaches-page .trh-buttons-centred {
    align-items: center;
  }

  .trh-coaches-page .trh-btn,
  .trh-coaches-page .trh-coach-link {
    width: fit-content;
    max-width: 100%;
  }

  .trh-coaches-page .trh-coach-card {
    padding: 26px 22px;
  }

  .trh-coaches-page .trh-brand-logo-item img {
    max-width: 64px;
    max-height: 30px;
  }
}

.trh-login-page {
  min-height: 100vh;
  background: #f2f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 18px;
  font-family: Comfortaa, sans-serif;
}

.trh-login-card {
  width: min(760px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 38px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
}

.trh-login-main-logo {
  max-width: 250px;
  margin-bottom: 24px;
}

.trh-login-card h1 {
  color: #582581;
  font-size: 42px;
  margin-bottom: 12px;
}

.trh-login-intro {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.trh-login-brand-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 24px 0 30px;
  align-items: center;
}

.trh-login-brand-logos img {
  max-width: 120px;
  max-height: 58px;
  object-fit: contain;
  margin: 0 auto;
}

.trh-login-card input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #ddd;
  margin-bottom: 14px;
  font-family: Comfortaa, sans-serif;
  font-size: 16px;
}

.trh-password-wrap {
  position: relative;
  width: 100%;
}

.trh-password-wrap input {
  padding-right: 52px;
}

.trh-password-toggle {
  position: absolute;
  right: 16px;
  top: 15px;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: auto;
  height: auto;
  color: #582581;
  cursor: pointer;
  font-size: 18px;
  box-shadow: none;
}

.trh-login-submit {
  width: fit-content;
  max-width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  background: #582581;
  color: #fff;
  font-weight: 700;
  font-family: Comfortaa, sans-serif;
  cursor: pointer;
  margin-top: 12px;
}

.trh-login-submit:hover {
  background: #9A4795;
}

.trh-forgot-password {
  display: block;
  margin: 18px auto 0;
  border: none;
  background: transparent;
  color: #582581;
  font-weight: 700;
  cursor: pointer;
  font-family: Comfortaa, sans-serif;
}

#trh-login-message {
  margin-top: 18px;
  font-weight: 700;
  color: #AC455C;
}

@media (max-width: 640px) {
  .trh-login-card {
    padding: 28px 22px;
  }

  .trh-login-card h1 {
    font-size: 34px;
  }

  .trh-login-brand-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .trh-login-main-logo {
    max-width: 220px;
  }
}
