/* 대구 홈 보탬 스타일 — 원본 main.css(데스크톱)·custom-m.css(모바일 750px 화면)의 칸을 그대로 쓰고 필요한 것만 더한다.
   home.ts 가 홈에만 붙인다. */

/* 지점 소개 강사 칸: 대구 강사 전원, 카드마다 강사 프로필로 가는 링크 */
a.pc-br-teacher,
a.nb-br-teacher { color: inherit; text-decoration: none; }
a.pc-br-teacher:hover .pc-br-teacher-name,
a.pc-br-teacher:focus-visible .pc-br-teacher-name { color: #16b176; }
a.pc-br-teacher .pc-br-teacher-photo img,
a.nb-br-teacher .nb-br-teacher-photo img { object-position: center top; transition: transform .3s ease; }
a.pc-br-teacher:hover .pc-br-teacher-photo img { transform: scale(1.03); }

/* 데스크톱: 9장을 5칸 격자로 모두 보인다(원본 4칸 한 줄은 4명만 보였다) */
.pc-br-teachers.dg-teacher-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 22px; }
.pc-br-teachers.dg-teacher-strip .pc-br-teacher { min-width: 0; }

/* 모바일(750px 화면): 가로로 넘겨 본다. 다음 카드가 조금 보여 넘길 수 있다는 것을 알린다 */
.nb-br-teachers.dg-teacher-strip {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 22px;
}
.nb-br-teachers.dg-teacher-strip::-webkit-scrollbar { display: none; }
.nb-br-teachers.dg-teacher-strip .nb-br-teacher { flex: 0 0 260px; scroll-snap-align: start; }

/* '수강생들의 진짜 후기': 네이버 플레이스·구글 후기 전체 보기 */
.dg-rv-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 0; }
/* 원본 a 색·크기 규칙을 이기도록 p > a 로 한 단계 높인다 */
p.dg-rv-links > a.dg-rv-link,
p.dg-rv-links > a.dg-rv-link:link,
p.dg-rv-links > a.dg-rv-link:visited { font-size: inherit; font-weight: 600; color: #0e9e68; text-decoration: none; }
p.dg-rv-links > a.dg-rv-link:hover,
p.dg-rv-links > a.dg-rv-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.nb-rv-cards .dg-rv-links { padding-left: 4px; font-size: 15px; }
.nb-rv-list .dg-rv-links,
.dg-rv-links--br { margin-top: 20px; font-size: 26px; }
.dg-br-rv-links { display: inline-flex; gap: 20px; }
