@charset "utf-8";
/* [2026-11] 메인 '제품 소개' 카드 (latest_pic_banner). 캠퍼스·영상자료 카드(campus_card.css)와 같은 모양 규칙.
   사이트 머리 CSS(main_header.css)가 span·a·p 에 line-height:1em·굵기 400 을 박으므로 클래스마다 직접 정한다. */
.row_product {
  --pd-teal: #007664;
  --pd-text: #1f2a33;
  --pd-sub: #5b6670;
  --pd-line: #e3e7ea;
}
.main .product_sect2 .board_wrap .swiper.row_product { text-align: left; padding-bottom: 2px; }
.row_product .swiper-slide { height: auto; }
/* 큰 화면에서 캠퍼스·영상자료 줄과 같은 좌우 여백 (예전 이 칸만 70px 이었다) */
@media (min-width: 1025px) {
  .main .product_sect2 .board_wrap { padding: 0 110px; }
}
.row_product .empty_li { padding: 40px 0; font-size: 15px; line-height: 1.5; color: var(--pd-sub); text-align: center; }

.pd-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  background: #fff;
  color: var(--pd-text);
  text-decoration: none;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
a.pd-card:hover { border-color: var(--pd-teal); box-shadow: 0 6px 20px rgba(0, 0, 0, .06); color: var(--pd-text); text-decoration: none; }
a.pd-card:focus-visible { outline: 3px solid var(--pd-teal); outline-offset: -3px; }

/* 제품 사진: 흰 바탕 정사각 사진이라 칸 안에 통째로 */
.pd-img {
  display: block;
  aspect-ratio: 4 / 3;
  padding: 14px;
  border-bottom: 1px solid var(--pd-line);
  background: #fff;
  line-height: 0;
}
.pd-img img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
a.pd-card:hover .pd-img img { transform: scale(1.03); }

.pd-body { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 6px; padding: 14px 16px 16px; line-height: 1.4; }
.pd-cat {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e6f2ef;
  color: var(--pd-teal);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.pd-name { display: block; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--pd-text); word-break: keep-all; overflow-wrap: anywhere; }
.pd-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--pd-sub);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* 세 줄 자르기(line-clamp)는 칸이 늘어나면 넘친 줄이 보이므로 설명은 제 높이대로 두고 '자세히 보기'를 아래로 민다 */
.pd-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--pd-teal); }
.pd-cta svg { flex: none; width: 15px; height: 15px; transition: transform .2s ease; }
a.pd-card:hover .pd-cta svg { transform: translateX(2px); }

/* 좁은 화면에서 'more' 단추가 설명 글자 위에 겹치지 않게 단추 자리만큼 비워 둔다 (캠퍼스·영상자료와 같게) */
@media (max-width: 1024px) {
  .main .product_sect2 .tit_wrap { padding-right: 84px; }
}

/* 휴대폰: 한 장씩, 사진 왼쪽·글자 오른쪽으로 낮게 */
@media (max-width: 479px) {
  .pd-card { flex-direction: row; }
  .pd-img { flex: none; width: 116px; height: auto; aspect-ratio: auto; padding: 10px; border-bottom: 0; border-right: 1px solid var(--pd-line); align-self: stretch; display: flex; align-items: center; }
  .pd-img img { height: auto; aspect-ratio: 1 / 1; transform: scale(1.15); }
  a.pd-card:hover .pd-img img { transform: scale(1.15); }
  .pd-body { gap: 4px; padding: 12px 14px; }
  .pd-name { font-size: 16px; }
  .pd-desc { font-size: 13px; line-height: 1.5; }
  .pd-cta { font-size: 13px; padding-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-card, .pd-img img, .pd-cta svg { transition: none; }
  a.pd-card:hover .pd-img img, a.pd-card:hover .pd-cta svg { transform: none; }
}
