/* The Dope Cloud TeacHer homepage: authentic photo placement, November 2026.
   Preserve all existing navigation and enrollment workflows. */
body.dct-home .focus-card img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 10;
  object-fit:cover!important;
  background:#193954;
  border-radius:0;
}
body.dct-home .focus-card:nth-child(1) img { object-position:center 38%!important; }
body.dct-home .focus-card:nth-child(2) img { object-position:center 42%!important; }
body.dct-home .focus-card:nth-child(3) img { object-position:center 48%!important; }
body.dct-home .focus-card-body { gap:.8rem; }
body.dct-home .focus-card-body strong { font-size:1.32rem; }
body.dct-home .focus-card:hover img { filter:saturate(1.04); }
body.dct-home .focus-card:focus-visible { outline:3px solid #a8dfff!important;outline-offset:4px; }
body.dct-home .dct-founder-portrait img { object-position:50% 38%; }
body.dct-home .dct-community {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  align-items:center;
  gap:clamp(1.5rem,4vw,3rem);
  margin-top:clamp(.8rem,2vw,1.5rem);
  margin-bottom:clamp(2.25rem,5vw,4rem);
  padding:clamp(1.1rem,3vw,2rem);
  border:1px solid #527993;
  background:linear-gradient(145deg,#183b59,#142f4c);
  border-radius:24px;
  box-shadow:0 18px 42px rgba(2,12,28,.24);
}
body.dct-home .dct-community-copy { min-width:0; }
body.dct-home .dct-community-copy h2 {
  font-size:clamp(1.7rem,3vw,2.5rem);
  line-height:1.18;
  margin:.4rem 0 1rem;
  color:#fff!important;
  letter-spacing:-.02em;
}
body.dct-home .dct-community-copy > p:not(.focus-kicker) {
  color:#e1eefb!important;
  line-height:1.72;
  margin:.9rem 0;
  max-width:60ch;
}
body.dct-home .dct-community-photo {
  margin:0;
  padding:10px;
  background:#0f2944;
  border:1px solid #6389a8;
  border-radius:19px;
  overflow:hidden;
}
body.dct-home .dct-community-photo > img {
  display:block;
  width:100%;
  height:auto;
  max-height:460px;
  object-fit:contain;
  border-radius:12px;
  background:#102743;
}
body.dct-home .dct-community-photo figcaption {
  margin-top:.65rem;
  color:#d5e7f5;
  font-size:.87rem;
  line-height:1.45;
  padding:.2rem .25rem;
  text-align:left;
}
body.dct-home .dct-community-instructor {
  display:flex;
  align-items:center;
  gap:.9rem;
  margin:1.25rem 0;
  padding:.7rem .8rem;
  border:1px solid #507795;
  border-radius:14px;
  background:#214966;
}
body.dct-home .dct-community-instructor img {
  display:block;
  width:66px;
  height:66px;
  flex:none;
  border-radius:50%;
  border:2px solid #c5e4fa;
  object-fit:cover;
  object-position:center 22%;
}
body.dct-home .dct-community-instructor div { display:flex;flex-direction:column;gap:.25rem; }
body.dct-home .dct-community-instructor strong {color:#fff;font-size:1rem;line-height:1.25}
body.dct-home .dct-community-instructor span {color:#cde4f5;font-size:.88rem;line-height:1.35}
body.dct-home .dct-community-actions {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1.4rem}
body.dct-home .dct-community-btn {
  display:inline-flex;justify-content:center;align-items:center;min-height:44px;
  padding:.73rem 1rem;border-radius:10px;font-weight:800;
  text-decoration:none!important;font-size:.93rem;
}
body.dct-home .dct-community-btn.primary {background:#f2bd60;color:#102743!important}
body.dct-home .dct-community-btn.secondary {background:transparent;border:2px solid #a8dfff;color:#fff!important}
body.dct-home .dct-community-btn:hover {filter:brightness(1.07)}
@media(max-width:850px) {
  body.dct-home .dct-community {grid-template-columns:1fr;}
  body.dct-home .dct-community-photo {order:-1;}
}
@media(max-width:760px) {
  body.dct-home .focus-card img {aspect-ratio:16 / 10;max-height:270px;}
  body.dct-home .dct-community {padding:1rem;margin-inline:auto;}
  body.dct-home .dct-community-photo img {max-height:350px;}
  body.dct-home .dct-community-actions {flex-direction:column;align-items:stretch;}
  body.dct-home .dct-community-btn {width:100%}
}
@media(prefers-reduced-motion:reduce){body.dct-home .focus-card:hover img{filter:none}}
