/* OUR PATH — страницы наставников */
.ourpath-team,.ourpath-mentor-profile{padding:56px 0 80px;color:#263a32}
.ourpath-team__intro{max-width:850px;margin-bottom:40px}
.ourpath-team__intro h1,.ourpath-mentor-profile__heading h1{font-size:clamp(2.4rem,5vw,4.5rem);line-height:1.08;margin:14px 0 18px;color:#263a32}
.ourpath-team__intro>p{font-size:1.15rem;line-height:1.7;max-width:720px}
.ourpath-team__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.ourpath-team-card{background:#fff;border:1px solid #e5dfd4;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(38,58,50,.06);transition:transform .2s,box-shadow .2s}
.ourpath-team-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(38,58,50,.12)}
.ourpath-team-card__photo{display:block;aspect-ratio:4/4.5;background:#e6e8e1;overflow:hidden}
.ourpath-team-card__photo img{width:100%;height:100%;object-fit:cover;display:block}
.ourpath-team-card__placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:230px;background:#d9e0d8;color:#526b5d;font-size:3rem;font-weight:700}
.ourpath-team-card__body{padding:22px 24px 26px}
.ourpath-team-card__body h2{font-size:1.35rem;line-height:1.25;margin:0 0 12px}
.ourpath-team-card__body h2 a{color:#263a32;text-decoration:none}
.ourpath-team-card__body p{line-height:1.6;margin:0 0 18px;color:#56645c}
.ourpath-team-card__more,.ourpath-mentor-profile__back{color:#795c45;text-decoration:none;font-weight:700}
.ourpath-team__pagination{margin-top:38px}
.ourpath-mentor-profile__back{display:inline-block;margin-bottom:28px}
.ourpath-mentor-profile__hero{display:grid;grid-template-columns:minmax(240px,380px) 1fr;gap:clamp(24px,5vw,70px);align-items:center;margin-bottom:45px}
.ourpath-mentor-profile__photo{border-radius:18px;overflow:hidden;background:#e6e8e1}
.ourpath-mentor-profile__photo img{display:block;width:100%;height:auto;max-height:510px;object-fit:cover}
.ourpath-mentor-profile__heading p{font-size:1.15rem;line-height:1.7}
.ourpath-mentor-profile__content{max-width:900px;line-height:1.8;font-size:1.06rem}
.ourpath-mentor-profile__content h2{margin-top:30px;color:#263a32}
.ourpath-mentor-profile__content .wp-block-gallery{margin:30px 0}
.ourpath-mentor-profile__reviews{max-width:900px;margin-top:60px;padding-top:35px;border-top:1px solid #d9d4c9}
.ourpath-mentor-profile__reviews h2{font-size:1.9rem;margin:0 0 24px}
.ourpath-mentor-profile__reviews .comment-list{list-style:none;padding:0}
.ourpath-mentor-profile__reviews .comment-body{padding:20px;margin-bottom:14px;background:#fff;border:1px solid #e5dfd4;border-radius:12px}
.ourpath-mentor-profile__reviews textarea,.ourpath-mentor-profile__reviews input:not([type=checkbox]):not([type=submit]){display:block;width:100%;max-width:640px;padding:12px;border:1px solid #b8c1b9;border-radius:8px}
.ourpath-mentor-profile__reviews input[type=submit]{background:#263a32;color:#fff;border:0;border-radius:8px;padding:12px 22px;cursor:pointer}
@media(max-width:900px){.ourpath-team__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ourpath-team,.ourpath-mentor-profile{padding:30px 0 55px}.ourpath-team__grid{grid-template-columns:1fr}.ourpath-mentor-profile__hero{grid-template-columns:1fr}.ourpath-mentor-profile__photo{max-width:430px}}
