/* 담당 B 보정 — 히어로 · 검색 · 왜 프라이데이투어 (메인 전용) */

/* app.css 의 레거시 .hero(height:90vh·flex·padding-top:80px)가 퍼블 .hero 를 덮어쓴다 → 해제 */
.main-body .hero {
  position: static;
  height: auto;
  min-height: 0;
  display: block;
  align-items: normal;
  color: inherit;
  overflow: visible;
}

/* 퍼블 common.css 의 반응형 표시 유틸 (find 제목 줄바꿈용) — 메인에만 */
.main-body .d-block { display: block !important; }
@media (min-width: 768.02px) {
  .main-body .d-md-none { display: none !important; }
}

/* fb-layout.css 의 스코프 리셋(.main-body main h2/button/img, 특이도 0,1,2)이
   퍼블 단일 클래스 규칙(.t28·.hero_cta·.xcard_fig img 등)을 이기는 문제 보정.
   (리셋을 :where() 로 감싸면 아래는 불필요해진다) */
.main-body main .find .t28 { font-weight: 700; line-height: 1.2; } /* 피그마 34719: lh 1.2 */
.main-body main .why .t28 { font-weight: 700; line-height: 1.3; }
.main-body main .hero_cta,
.main-body main .bigsearch button { color: #fff; }
.main-body main .hero_media img,
.main-body main .xcard_fig img { object-fit: cover; }
.main-body main .quick > li:nth-child(7) .quick_ico img { object-fit: cover; }

/* 히어로 확장 시 헤더(.hdr z-index:5000, fb-layout)를 덮는다 — 퍼블은 헤더 1000 / 확장 1100 */
.main-body .hero.is_open .hero_stage { z-index: 5100; }
