/*
 Theme Name:   Astra Child
 Theme URI:    https://usbright.co.kr/
 Description:  Astra 테마의 자식 테마
 Author:       어스비
 Template:     astra
 Version:      1.0.0
*/
/* 자식테마 style.css 맨 아래에 추가 */
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_parent > a,
.main-header-menu .current_page_ancestor > a {
  /* 원하는 기본 색상으로 덮어쓰기 */
  color: #fff !important;
}
/* 메뉴 아이템 텍스트에 그림자 효과 */
.ast-primary-header-bar .main-header-menu > li > a {
  /* x-offset, y-offset, blur, 색상 순서 */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
/* mobile: video 숨기고 이미지 보이기 */
@media screen and (max-width: 768px) {
  .main-video video {
    display: none !important;
  }
  .main-video .mobile-image {
    display: block !important;
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
}

/* desktop: 이미지 숨기기 (선택) */
@media screen and (min-width: 769px) {
  .main-video .mobile-image {
    display: none !important;
  }
}

/* 메뉴 줄바꿈 방지 & 가로 스크롤 허용 */
.main-header-menu {
  white-space: nowrap;
  overflow-x: auto;
}

/* 메뉴 항목을 인라인 블록으로 */
.main-header-menu > li {
  display: inline-block;
}
/* 상단 메뉴의 마지막 버튼(회사소개서 다운로드) 텍스트 줄바꿈 방지 */
.main-header-menu > li:last-child > a {
  white-space: nowrap !important;
}

/* 모바일에서 오른쪽 여백 숨기기 */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
  }
  /* 혹시 100vw 로 설정된 섹션이 있을 때 */
  .elementor-section,
  .elementor-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}
