/* ===========================================================
   "The Pros" — toptiergolf.com-style listing + profiles
   toptiergolfschools.com — vanilla rebuild
   =========================================================== */

/* ---- Hero ---- */
.pros-hero {
  background: linear-gradient(135deg, #0e3b20 0%, #1a5632 60%, #2a7a48 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px 80px;
}
.pros-hero__eyebrow {
  display: inline-block;
  background: rgba(159,203,62,.18);
  border: 1px solid rgba(159,203,62,.45);
  color: #9fcb3e;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 22px;
}
.pros-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 auto 18px;
  max-width: 720px;
  color: #fff;
}
.pros-hero p {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Sections ---- */
.pros-section {
  padding: 80px 24px;
}
.pros-section--alt {
  background: #f4f4f4;
}
.pros-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pros-section__heading {
  text-align: center;
  margin-bottom: 48px;
}
.pros-section__heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0e3b20;
  margin: 0 0 8px;
}
.pros-section__heading p {
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 540px;
  margin: 0 auto;
}

/* ---- Coach cards ---- */
.pros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.coach-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.coach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0,0,0,.13);
}
.coach-card__photo-wrap {
  position: relative;
  background: #e8f4e8;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.coach-card__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.coach-card__badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.coach-card__badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.coach-card__body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.coach-card__school {
  font-size: 1.0rem;
  font-weight: 700;
  color: #5ba800;
  margin-bottom: 6px;
}
.coach-card__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0e3b20;
  margin: 0 0 4px;
  line-height: 1.25;
}
.coach-card__title {
  font-size: .82rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.coach-card__location {
  font-size: 0.90rem;
  font-weight: 500;
  color: #777;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.coach-card__location svg {
  flex-shrink: 0;
  color: #9fcb3e;
}
.coach-card__bio {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.coach-card__read-more {
  display: inline-block;
  margin-top: 14px;
  align-self: flex-start;
  background: none;
  border: 1.5px solid #9fcb3e;
  color: #1a5632;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 40px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.coach-card__read-more:hover {
  background: #9fcb3e;
  color: #fff;
}

/* ---- No-photo placeholder ---- */
.coach-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a5632, #2a7a48);
}
.coach-card__photo-placeholder span {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.35);
  letter-spacing: -.05em;
}

/* ---- CTA ---- */
.pros-cta {
  background: linear-gradient(135deg, #0e3b20, #1a5632);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.pros-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  max-width: 600px;
}
.pros-cta p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.pros-btn {
  display: inline-block;
  background: linear-gradient(145deg, #adc73e, #007a1f);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 38px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: .04em;
  transition: opacity .2s;
}
.pros-btn:hover { opacity: .88; color: #fff; }

/* ---- Bio Modal ---- */
.coach-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
  backdrop-filter: blur(2px);
}
.coach-modal-overlay.is-open {
  display: flex;
}
.coach-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  position: relative;
}
.coach-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,.9);
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e3b20;
}
.coach-modal__header {
  position: relative;
}
.coach-modal__photo-wrap {
  width: 100%;
  /*aspect-ratio: 16 / 9;*/
  overflow: hidden;
  background: #e8f4e8;
}
.coach-modal__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.coach-modal__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a5632, #2a7a48);
}
.coach-modal__photo-placeholder span {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,.3);
}
.coach-modal__meta {
  padding: 28px 32px 0;
}
.coach-modal__name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0e3b20;
  margin: 0 0 6px;
}
.coach-modal__school {
  font-size: 1rem;
  font-weight: 700;
  color: #5ba800;
  margin: 0 0 4px;
}
.coach-modal__title {
  font-size: .9rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 16px;
}
.coach-modal__location {
  font-size: 0.95rem;
  color: #777;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.coach-modal__location svg {
  flex-shrink: 0;
  color: #9fcb3e;
}
.coach-modal__bio {
  padding: 0 32px 32px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}
.coach-modal__bio p {
  margin-bottom: 16px;
}
.coach-modal__bio p:last-child {
  margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pros-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pros-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pros-section { padding: 56px 18px; }
  .pros-hero { padding: 60px 18px 56px; }
  .coach-modal__meta {
    padding: 20px 20px 0;
  }
  .coach-modal__bio {
    padding: 0 20px 24px;
  }
}

/* ---- Profile page ---- */
.page-hero--pro {
  background: linear-gradient(135deg, #0e3b20 0%, #1a5632 60%, #2a7a48 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px 80px;
}
.page-hero--pro .page-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 auto 18px;
  max-width: 720px;
  color: #fff;
}
.page-hero--pro .page-hero__subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.pro-profile__back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9fcb3e;
  text-decoration: none;
  transition: color .2s;
}
.pro-profile__back:hover {
  color: #fff;
}
.pro-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.pro-profile__photo-wrap {
  position: sticky;
  top: calc(var(--nav-height, 80px) + 24px);
}
.pro-profile__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  background-color: var(--color-light-gray, #e8f4e8);
}
.pro-profile__content {
  padding-top: 8px;
}
.pro-profile__content .coach-card__school {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5ba800;
  margin-bottom: 8px;
}
.pro-profile__content .coach-card__location {
  font-size: 1rem;
  font-weight: 500;
  color: #777;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pro-profile__content .coach-card__location svg {
  flex-shrink: 0;
  color: #9fcb3e;
}
.pro-profile__bio {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #333;
}
.pro-profile__bio p {
  margin-bottom: 20px;
}
.pro-profile__bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .pro-profile {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pro-profile__photo-wrap {
    position: static;
    max-width: 280px;
    margin-inline: auto;
  }
  .pro-profile__photo {
    aspect-ratio: 4 / 5;
  }
}
