/* MILCOMPASS RC10.132 — Coaching, Mentoring & Development of Others final polish */

/* Keep long Leadership/NCO topic titles readable on phones without crowding the Lesson control. */
#studyV2TopicPage .rc1082-topic-header{
  align-items:flex-start;
  gap:14px;
}
#studyV2TopicPage .rc1082-topic-header>div{
  min-width:0;
  flex:1 1 auto;
}
#studyV2TopicPage #rc1082Category{
  display:block;
  overflow-wrap:anywhere;
  line-height:1.35;
}
#studyV2TopicPage #rc1082Title{
  overflow-wrap:anywhere;
  text-wrap:balance;
  line-height:1.04;
}
#studyV2TopicPage #rc1082Back{
  flex:0 0 auto;
  min-width:88px;
  min-height:48px;
  white-space:nowrap;
}

/* Final image treatment: predictable crop, no layout jump, and clean caption/source presentation. */
#studyV2TopicPage .rc10103-photo{
  position:relative;
  isolation:isolate;
}
#studyV2TopicPage .rc10103-photo img{
  width:100%;
  aspect-ratio:16 / 10;
  min-height:0;
  object-fit:cover;
  object-position:center;
  background:#071a10;
}
#studyV2TopicPage .rc10103-photo figcaption{
  line-height:1.4;
}
#studyV2TopicPage .rc10103-photo figcaption a{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  width:max-content;
  max-width:100%;
}

/* Improve scanability and tap comfort across the finished lesson. */
#studyV2TopicPage .rc10100-card,
#studyV2TopicPage .rc10100-reference,
#studyV2TopicPage .rc10127-memory{
  scroll-margin-top:92px;
}
#studyV2TopicPage .rc10100-check details summary{
  min-height:48px;
  display:flex;
  align-items:center;
  cursor:pointer;
}
#studyV2TopicPage .rc10100-nav button{
  min-height:52px;
}
#studyV2TopicPage button:focus-visible,
#studyV2TopicPage a:focus-visible,
#studyV2TopicPage summary:focus-visible{
  outline:2px solid #e2c85d;
  outline-offset:3px;
}

/* Coaching/Mentoring overview polish. */
.rc10100-topic-list button{
  min-height:72px;
}
.rc10100-topic-list button div{
  min-width:0;
}
.rc10100-topic-list button b,
.rc10100-topic-list button span{
  overflow-wrap:anywhere;
}

@media (max-width:560px){
  #studyV2TopicPage .rc1082-topic-header{
    gap:10px;
  }
  #studyV2TopicPage #rc1082Back{
    min-width:76px;
    min-height:44px;
    padding-left:12px;
    padding-right:12px;
  }
  #studyV2TopicPage #rc1082Category{
    font-size:.72rem;
    letter-spacing:.08em;
  }
  #studyV2TopicPage #rc1082Title{
    font-size:clamp(1.7rem,8vw,2.2rem);
  }
  #studyV2TopicPage .rc10100-topic-head{
    padding:18px;
  }
  #studyV2TopicPage .rc10103-photo img{
    aspect-ratio:4 / 3;
  }
}

@media (max-width:390px){
  #studyV2TopicPage .rc1082-topic-header{
    grid-template-columns:auto minmax(0,1fr);
  }
  #studyV2TopicPage #rc1082Title{
    font-size:1.72rem;
  }
}
