#coaches.body_page section#banner .container_big h1 {font-size: 60px; line-height: 64px;}
/* same reason as .coach-card__body: the hero text follows the reading direction
   instead of being nailed to the right by body{text-align:right} */
#coaches.body_page section#banner .data {text-align: start;}
/* Veil rotated 180deg from the previous state: opaque white on the RIGHT,
   fading out towards the left. app.css's 80%-wide box is dropped so the veil
   spans the full width and leaves no vertical seam; the gradient alone carries
   the fade — solid white over the right fifth, gone by 70%.
   Every declaration is !important because app.css sets the width, the anchor and
   the angle on this very same pseudo-element.
   Kept physical (not direction-aware) on purpose: the white stays on the right in
   English too. Mobile overrides this below — its veil is vertical. */
#coaches.body_page section#banner:not(.without_title)::before {right: 0 !important; left: auto !important; width: 100% !important; background: linear-gradient(270deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 20%, rgba(255, 255, 255, 0) 70%) !important;}


#coaches .coach {padding: 60px 0 80px;}

/* ---- כותרת הסקשן / section heading (page WYSIWYG body) ---- */
#coaches .coach__head {max-width: 900px; padding: 0 16px; margin: 0 auto 40px; color: #243d44; text-align: center;}
#coaches .coach__head h2 {font-size: 60px; font-weight: 700; font-family: 'Almoni Bold', sans-serif; }
#coaches .coach__head h3 {margin: 0 0 12px; line-height: 1.2;}
#coaches .coach__head p {margin: 0; font-family: 'Almoni Medium', sans-serif; font-size: 24px; line-height: 26px;}

/* ---- קוביות המדריכים / the instructor cards ---- */
#coaches .coach__grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch;}
#coaches .coach-card {display: flex; flex-direction: column; height: 100%; padding: 15px; background: #fff; border-radius: 10px; box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);}

#coaches .coach-card__media {width: 100%; aspect-ratio: 224 / 100; background: #fff; border-radius: 10px; overflow: hidden;}
#coaches .coach-card__media img {width: 100%; height: 100%; object-fit: cover; object-position: center;}

/* text-align: start, not right — body{text-align:right} in app.css is physical and
   stays put in English, so the name and the bio would keep hugging the right edge
   on the LTR site. "start" follows the direction on its own. */
#coaches .coach-card__body {display: flex; flex: 1 0 0; flex-direction: column; gap: 15px; width: 100%; padding: 20px 5px 5px; text-align: start;}
#coaches .coach-card__head {display: flex; flex-direction: column; gap: 10px;}
#coaches .coach-card__name {color: #243d44; font-family: 'Almoni Bold', sans-serif; font-size: 24px; line-height: 26px;}

#coaches .coach-card__tags {display: flex; flex-wrap: wrap; gap: 5px; align-items: center; justify-content: flex-start;}
#coaches .coach-card__tag {display: flex; align-items: center; justify-content: center; padding: 5px 15px; color: #243d44; font-family: 'Almoni Medium', sans-serif; font-size: 14px; line-height: 18px; white-space: nowrap; background: #c2eaea; border-radius: 30px;}

/* Cards in a row are stretched to the tallest one. flex: 1 0 auto puts that spare
   height here rather than on the Fun Fact box, so the grey boxes and the CTAs stay
   the same size across the row and the slack falls under the bio instead.
   basis auto, not 0: the box never shrinks below its own text. */
#coaches .coach-card__desc {flex: 1 0 auto; width: 100%; color: #243d44; font-family: 'Almoni Medium', sans-serif; font-size: 16px; line-height: 20px;}
#coaches .coach-card__desc p {margin: 0;}

#coaches .coach-card__fun {display: flex; flex: 0 0 auto; flex-direction: column; gap: 5px; align-items: center; width: 100%; padding: 10px; background: #f7f7f7; border-radius: 10px;}
#coaches .coach-card__fun-title {display: flex; gap: 5px; align-items: center; justify-content: center; color: #243d44; font-family: 'Almoni Bold', sans-serif; font-size: 16px; line-height: 18px;}
#coaches .coach-card__fun-icon {display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding-bottom: 5px;}
#coaches .coach-card__fun-icon img {display: block; width: 12.28px; height: 14.73px;}
#coaches .coach-card__fun-text {width: 100%; color: #243d44; font-family: 'Almoni Medium', sans-serif; font-size: 16px; line-height: 18px; text-align: center;}
#coaches .coach-card__fun-text p {margin: 0;}

#coaches .coach-card__btn {display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px 20px; margin-top: auto; color: #fff; font-family: 'Almoni Medium', sans-serif; font-size: 18px; line-height: 22px; text-align: center; background: #243d44; border-radius: 100px;}
#coaches .coach-card__btn:hover {color: #fff; background: #34565f;}

@media (max-width: 1200px) {
    #coaches .coach__grid {grid-template-columns: repeat(3, 1fr);}
}

@media (max-width: 900px) {
    #coaches .coach__grid {grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 768px) {
    /* hero is a fixed 320px band, image cropped to fill it, content centred */
    #coaches.body_page section#banner {height: 320px;}
    #coaches.body_page section#banner img {width: 100%; height: 100%; object-fit: cover; object-position: center;}
    #coaches.body_page section#banner:not(.without_title)::before {background: linear-gradient(0deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.80) 65%, rgba(255, 255, 255, 0.00) 100%) !important;}
    #coaches.body_page section#banner .data {align-items: center; gap: 20px;}
    /* app.css forces 42px/50px with !important at this width, hence the !important */
    #coaches.body_page section#banner .container_big h1 {font-size: 40px !important; line-height: 40px !important; text-align: center;}
    #coaches.body_page section#banner .subtitle {font-size: 18px; line-height: 22px; text-align: center;}

    #coaches .coach {padding: 50px 0 60px;}
    #coaches .coach__head {padding: 0; margin-bottom: 30px;}
    #coaches .coach__head h2 {margin-bottom: 20px; font-size: 30px; line-height: 34px;}
    #coaches .coach__head p {font-size: 18px; line-height: 22px;}

    #coaches .coach__grid {grid-template-columns: 1fr; gap: 10px;}
    /* single column: no sibling to align the CTA with, so nothing has to absorb
       spare height — the card just ends under its own content */
    #coaches .coach-card__desc {flex: 0 0 auto;}
    #coaches .coach-card__fun {align-items: flex-start; padding: 15px;}
    #coaches .coach-card__fun-text {text-align: right;}
    #coaches .coach-card__head {gap: 15px;}
    #coaches .coach-card__name {line-height: 28px;}
    #coaches .coach-card__btn {font-size: 16px; line-height: 20px;}
}


