/* Features */
.features-icons {padding-top: 5rem; padding-bottom: 5rem;}
.features-icons-icon {font-size: 3rem;}
.feature h3 {font-size: 1.4rem;}
.feature p {font-size: 1rem;}

/* Article List */
.intro h2 {font-size: 1.4rem;}
.articles {text-align: center;}
.articles h4 {font-size: 2rem; padding-top: 15px; color: #000; font-weight: 600;}
.action {font-size: 0.9rem; color: #4f86c3;}
.articles .item {margin-bottom: 20px; text-align: center;}

/* showcase */
.showcase .item {background-color: #fff; margin-right: 0; margin-left: 0;}
.showcase .showcase-img {min-height: 30rem; background-size: cover;}
.showcase-text {padding: 10rem 8rem;}
.showcase h2 {font-size: 1.2rem;padding-bottom: 1.6rem;}
.showcase p {font-size: .9rem;}

/* Testimonial */
.testimonial-item img {max-width: 12rem; box-shadow: 0 5px 5px 0 #adb5bd;}
.testimonials h2 {font-size: 1.4rem;}
.testimonial-item h5 {font-size: 1.1rem; font-weight: 600;}
.testimonial-pad {padding: 3rem;}

/* call-to-action */
.call-to-action {position: relative; background-color: #343a40; background-size: cover; padding-top: 7rem; padding-bottom: 7rem;}
.call-to-action .overlay { position: absolute; background-color: #212529; height: 100%; width: 100%; top: 0; left: 0; opacity: .3;}
.call-to-action h2 {font-size: 1.4rem;}

/* Responsive for showcase */
@media (max-width: 978px) {
	.showcase-text {padding: 3rem;}	
	.showcase .text-end {padding-bottom: 0;}
}

/* 1. 모바일 기본 스타일 (모든 기기 적용) */
/* @media (max-width: 768px) { */
@media screen and (min-width: 300px) and (max-width: 768px){
  
     
	header.masthead {text-align: center; color: #fff; background-repeat: no-repeat; background-attachment: scroll; background-position: 50%; background-size: cover;min-height: 250px; max-height: 380px;} 
	/* header.masthead .intro-text {padding-top: 105px; padding-bottom: 40px; padding-left: 2%;  padding-right: 2%; } */
	header.masthead .intro-text {padding-top: 70px; padding-bottom: 20px; padding-left: 2%;  padding-right: 2%;  border:0px solid white; }
	header.masthead .intro-text .h4_custom {padding-bottom: 20px; font-family: 'Noto Sans KR', sans-serif !important; font-size: 11px !important; line-height: 1.4; color: #ffffff !important; font-style: normal !important; width: 99%; max-width:768px;text-align:left; border:0px solid red; }
	header.masthead .intro-text .intro-lead-in {margin-left: 10px; width: 99%; max-width:768px;text-align:left;}
	header.masthead .intro-text .intro-lead-in .h2_custom {font-family: 'Noto Sans KR', sans-serif !important; font-size: 12px !important; line-height: 1.4; color: #ffffff !important; font-style: normal !important; width: 99%; max-width:768px;text-align:left; border:0px solid red; }
	header.masthead .intro-text .intro-heading {font-size: 24px; font-weight: 700; line-height: 24px; margin-bottom: 40px;}

}

.responsive-box {
    width: 100%;       /* 화면 너비를 꽉 채움 */
    padding: 0;        /* 내부 여백 제거 */
    margin: 0;         /* 외부 여백 제거 */
    overflow: hidden;  /* 혹시 모를 이미지 삐져나옴 방지 */
}

/* 이미지 스타일 */
.responsive-box img {
    width: 100%;       /* 부모 너비에 맞춤 */
    height: auto;      /* 가로세로 비율 유지 (가장 중요) */
    display: block;    /* 이미지 하단에 생기는 미세한 간격 제거 */
}


/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){
	/*.showcase-text {padding: 3rem;}	
	.showcase .text-end {padding-bottom: 0;}
	*/
	/* Masthead */
     header.masthead {         height: 90vh !important; 
        max-height: 529px !important;  background-position: 50% 90%; min-height: 429px;  max-height: 650px }
	header.masthead .intro-text {padding-top: 90px; padding-bottom: 40px; padding-left: 5%;  padding-right: 5%;border:0px solid white;}
      header.masthead .intro-text .h4_custom {padding-top: 20px !important; padding-bottom: 0px  !important ;font-family: 'Noto Sans KR', sans-serif !important; font-size: 35px !important; color: #ffffff !important; font-style: normal !important; width: 90%; max-width:1800px;text-align:left;border:0px solid red;}

	header.masthead .intro-text .intro-lead-in {margin-left: 100px; width: 90%; max-width:1800px;text-align:left !important;border:0px solid yellow;}
	
	header.masthead .intro-text .intro-lead-in .h2_custom {padding-top: 45px !important;font-family: 'Noto Sans KR', sans-serif !important; font-size: 45px !important; color: #ffffff !important; font-style: normal !important; width: 90%; max-width:1800px;text-align:left;border:0px solid red;}

header.masthead .intro-text .intro-heading {font-size: 32px; font-weight: 700; line-height: 32px; margin-bottom: 50px;}
}


/* 3. 데스크톱 화면 (1024px 이상) */
@media (min-width: 1024px) {
/* Masthead  */
	/* header.masthead {text-align: center; color: #fff; background-repeat: no-repeat; background-attachment: scroll; background-position: 50% 90%; background-size: cover;min-height: 690px;  max-height: 650px } */
     header.masthead { height: 90vh !important; 
        max-height: 929px !important;  background-position: 50% 90%; min-height: 429px;  max-height: 650px } 
      header.masthead-2 {         /* 650px이라는 최소 높이가 텍스트를 아래로 밀어낼 수 있으므로 조정 */
        min-height: 450px !important; 
        display: flex !important;
        align-items: flex-start !important; /* 중앙 정렬을 해제하고 상단으로 밀어올림 */ 
        border:0px solid white;
        }   
        
	header.masthead .intro-text {padding-top: 270px; padding-bottom: 40px; padding-left: 5%;  padding-right: 5%;border:0px solid white;}
      header.masthead .intro-text .h4_custom {padding-top: 20px !important; padding-bottom: 0px  !important ;font-family: 'Noto Sans KR', sans-serif !important; font-size: 35px !important; color: #ffffff !important; font-style: normal !important; width: 90%; max-width:1800px;text-align:left;border:0px solid red;}

	header.masthead .intro-text .intro-lead-in {font-family: NotoSansKR; font-size: 46px; font-weight: bold; font-stretch: normal; font-style: normal; line-height: 1.4; width: 90%; max-width:1900px; text-align:left !important; border:0px solid yellow;}
	
	header.masthead .intro-text .intro-lead-in .h2_custom {padding-top: 90px !important;font-family: 'Noto Sans KR', sans-serif !important; font-size: 45px !important; color: #ffffff !important; font-style: normal !important; width: 90%; max-width:1800px;text-align:left; border:0px solid red;}
header.masthead .intro-text .intro-heading {font-family: 'Noto Sans KR'; font-size: 21px; font-weight: normal; font-stretch: normal; font-style: normal; line-height: 1.52; letter-spacing: normal;
  text-align: left; margin-bottom: 50px; border:0px solid red;}
header.masthead .intro-text .intro-heading .item {font-family: 'Noto Sans KR'; font-size: 21px; font-weight: normal; font-stretch: normal; font-style: normal; line-height: 1.52; letter-spacing: normal;
  text-align: left; margin-bottom: 50px; border:0px solid red;}
  
header.masthead .intro-text .intro-heading .normal-text {font-style: normal !important; } 

header.masthead .intro-text .intro-heading .extra {padding: 0px 100px 9px 38px; border: 1px solid white; font-style: normal !important; } 
header.masthead .intro-text .intro-heading .extra .item {/* padding: 0px 100px 9px 38px;*/ border-bottom: 2px solid white !important; font-style: normal !important; } 

/* header.masthead .intro-text .intro-heading .environment .extra-text { font-family: NotoSansKR; font-size: 18px;  line-height: 1.78;   letter-spacing: normal; text-align: left; } */


  .ext-item {
    display: flex;                /* 가로로 배치 */
    align-items: center;          /* 텍스트와 기호 수직 중앙 정렬 */
    gap: 20px;                    /* 요소 사이의 간격 일괄 지정 */
    /* font-family:  NotoSansKR; */
	border:0px solid white;
  }

   /* 1. 컨테이너: 3개 요소를 가로로 나란히 배치 */ 
  .line-container {
        display: flex;                /* Flexbox 활성화 */
        justify-content: left;      /* 가로 중앙 정렬 (선택사항) */
        gap: 20px;                    /* 3개 줄 사이의 간격 */
        /* background-color: #333; */      /* 배경색(선이 보이도록 어둡게) */
        padding: 0px;
    }

    /* 2. 가로줄 스타일 */
    .white-line {
        width: 147px;                 /* 폭 247px 고정 */
        height: 0;                    /* 높이는 0 */
        border-top: 2px solid white;  /* 2px 두께의 흰색 실선 */
        box-sizing: border-box;       /* 보더가 폭 계산에 포함되도록 */
    }
#footer { /* width: 1920px; */
  height: 419px;
  /* margin: 817px 0 0; */
  padding-top: 100px !important; 
  padding-left: 15%; 
  padding-right: 15%; 
  padding-bottom: 50px;
  background-color: #181818; 
  border: 0px solid red;
   }    

/* footer 내부의 copy 클래스 배경색 강제 지정 */
#footer .copy.bg-dark {
    background-color: #181818 !important;
}

 .container-2 {margin-top:70px; margin-bottom:20px;  margin-left: 7%; 
  margin-right: 7%; padding:0 px; border: 0px solid red;}

  .col-md-2{
    flex: 0 0 18.3333%;
    max-width: 18.3333%;
  }

  .col-md-2-2 {
    flex: 0 0 18.3333%;
    max-width: 18.3333%;
  }
  
}



/* 1. 모바일 기본 스타일 (모든 기기 적용) */
@media screen and (min-width: 300px) and (max-width: 768px){

}

/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){

}

/* 3. 데스크톱 화면 (1024px 이상) */
@media (min-width: 1024px) {

  .paral-sub {
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% 50%;
    
    /* 높이를 이미지 사이즈인 500px로 고정 */
    height: 500px !important;
    
    /* 내부의 텍스트가 있다면 세로 중앙 정렬을 위해 추가 */
    line-height: 500px; 
  }

 /* aside.php 의 상단 images  */ 
 .text-center{
  margin-bottom:15px;
 }

 /* aside.php 의 height  */ 
 .d-lg-block {
 min-height: 600px; 
 }

} 




 
   
/* QuickLink 공통 스타일 */
.quick-link-item {
    /*border: 1px solid rgba(255, 255, 255, 0.5); */ /* 반투명 흰색 테두리 */
    border: 1px solid #ffffff;
    border-radius: 30px; /* 라운드 처리 (값을 높이면 더 둥글어짐) */
    padding: 10px 10px; 
    transition: all 0.3s ease; /* 부드러운 효과 */
    cursor: pointer;
}
.text-white {
	font-family:  NotoSansKR;
	font-size: 1.1em
}


/* 마우스를 올렸을 때 효과 */
.quick-link-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px); /* 살짝 위로 떠오르는 효과 */
}

/* 링크 텍스트 밑줄 제거 */
.quick-link-item a {
    text-decoration: none;
    display: block; /* 영역 전체 클릭 가능하게 */
}
   