/* Maxener goal finder — photographic artwork with responsive HTML cards.
   Scoped to this section; no slider, header or global style overrides. */
.hp-goal-section.mx-goal-feature{
  position:relative;isolation:isolate;box-sizing:border-box;width:100%;
  min-height:clamp(540px,33.333vw,780px);padding:clamp(68px,7.15vw,148px) 0;
  background:#041020;color:#fff;
}
.mx-goal-feature *{box-sizing:border-box}
.mx-goal-feature .mx-goal-art{position:absolute;inset:0;z-index:-2;display:block;overflow:hidden;pointer-events:none}
.mx-goal-feature .mx-goal-art img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:left center}
.mx-goal-feature .hp-goal-layout{
  position:relative;width:min(1316px,64.2%);margin:0 0 0 22%;
  display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  align-items:stretch;gap:14px;
}
.mx-goal-feature .hp-goal-intro{
  min-width:0;padding:clamp(24px,1.65vw,34px);border:1px solid #8292a8;
  border-radius:26px;background:rgba(7,26,61,.96);color:#fff;
  box-shadow:0 14px 40px #00000020;
}
.mx-goal-feature .hp-eyebrow{display:block;color:#dce6f3;font:700 13px/1.5 'Manrope',Arial,sans-serif;letter-spacing:.16em}
.mx-goal-feature .hp-goal-intro h2{
  margin:10px 0 20px;color:#fff;font-family:'Manrope',Arial,sans-serif;
  font-size:clamp(34px,2.5vw,50px);font-weight:800;line-height:1.14;letter-spacing:-.035em;
}
.mx-goal-feature .hp-goal-intro p{margin:0 0 22px;color:#d4dfed;font-size:clamp(14px,.88vw,18px);line-height:1.65}
.mx-goal-feature .hp-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:auto;min-height:50px;padding:12px 22px;border:1px solid #d8b26a;
  border-radius:11px;background:#d8b26a;color:#112644;text-decoration:none;
  font-size:15px;font-weight:600;line-height:1.4;
}
.mx-goal-feature .hp-btn:hover{background:#e6c17b;border-color:#e6c17b}
.mx-goal-feature .hp-goals{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  min-width:0;overflow:visible;scroll-snap-type:none;
}
.mx-goal-feature .hp-goals>a{
  display:flex;flex-direction:column;align-items:flex-start;min-width:0;
  min-height:180px;padding:20px;border:1px solid #dfe5ed;border-radius:20px;
  background:#fff;color:#112644;text-decoration:none;
  box-shadow:0 8px 24px #00000012;transition:border-color .18s ease,box-shadow .18s ease;
}
.mx-goal-feature .hp-goals>a:hover{border-color:#d8b26a;box-shadow:0 10px 28px #00000026}
.mx-goal-feature .hp-goals b{
  display:inline-grid;place-items:center;flex-shrink:0;width:34px;height:34px;
  border-radius:11px;background:#edf3f8;color:#174b8c;font-size:13px;line-height:1;font-weight:700;
}
.mx-goal-feature .hp-goals h3{margin:20px 0 8px;color:#142b48;font:800 clamp(20px,1.25vw,26px)/1.25 'Manrope',Arial,sans-serif;letter-spacing:-.025em}
.mx-goal-feature .hp-goals p{margin:0;color:#64748b;font-size:14px;line-height:1.6;overflow-wrap:break-word}
.mx-goal-feature a:focus-visible{outline:3px solid #edc67c;outline-offset:4px}
/* Tablet: show the athlete above the cards instead of squeezing their text. */
@media(max-width:1150px){
  .hp-goal-section.mx-goal-feature{min-height:0;padding:270px 24px 40px}
  .mx-goal-feature .mx-goal-art{height:360px;bottom:auto}
  .mx-goal-feature .mx-goal-art img{object-position:left top}
  .mx-goal-feature .mx-goal-art::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 62%,#041020)}
  .mx-goal-feature .hp-goal-layout{width:min(920px,100%);margin:0 auto;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
  .mx-goal-feature .hp-goal-intro{padding:26px;border-radius:22px}
  .mx-goal-feature .hp-goal-intro h2{font-size:36px}
  .mx-goal-feature .hp-goal-intro p{font-size:15px}
  .mx-goal-feature .hp-goals>a{padding:18px;min-height:176px}
  .mx-goal-feature .hp-goals h3{font-size:21px}
}
/* Phone: real text, two goal cards per row, no horizontal overflow. */
@media(max-width:680px){
  .hp-goal-section.mx-goal-feature{padding:230px 16px 32px}
  .mx-goal-feature .mx-goal-art{height:285px}
  .mx-goal-feature .hp-goal-layout{grid-template-columns:minmax(0,1fr);gap:14px}
  .mx-goal-feature .hp-goal-intro{padding:24px;border-radius:22px}
  .mx-goal-feature .hp-goal-intro h2{font-size:34px;margin:10px 0 16px}
  .mx-goal-feature .hp-goal-intro p{font-size:15px;margin-bottom:20px}
  .mx-goal-feature .hp-btn{min-height:48px;font-size:14px;padding:12px 18px}
  .mx-goal-feature .hp-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible}
  .mx-goal-feature .hp-goals>a{min-width:0;min-height:190px;padding:16px 14px;border-radius:17px}
  .mx-goal-feature .hp-goals b{width:31px;height:31px;font-size:12px}
  .mx-goal-feature .hp-goals h3{font-size:20px;margin:16px 0 8px;line-height:1.25}
  .mx-goal-feature .hp-goals p{font-size:13px;line-height:1.55}
}
@media(max-width:359px){
  .hp-goal-section.mx-goal-feature{padding-right:12px;padding-left:12px}
  .mx-goal-feature .hp-goal-intro{padding:20px}
  .mx-goal-feature .hp-goal-intro h2{font-size:32px}
  .mx-goal-feature .hp-goals>a{padding:14px 12px}
  .mx-goal-feature .hp-goals h3{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.mx-goal-feature .hp-goals>a{transition:none}}
