@charset "UTF-8";

/* 포트폴리오 상세 */

.emp .content_area {
    width: 95%;
}

.emp .portfolio_detail {
    width: 100%;
}

/* grid 컨테이너 */
.portfolio_detail .portfolio_content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 0 80px;
}

/* 카드 이미지 */
.portfolio_detail .portfolio_content img {
    width: 100%;
    height: 100%;          /* 카드 크기 */
    object-fit: cover;
    display: block;
    border: 1px solid #ccc;
    border-radius: 22px;
    box-sizing: border-box;
}

.project-card:hover,
.portfolio-card:hover{
	cursor: pointer;
}

/* 취업 포트폴리오 */

.mobile-port-title{
	display: none;	
}
/* 설명 */
.portfolio_header p {
    font-size: 22px;
    line-height: 1.6;
    margin: 60px auto;
    color: #fff;
}

/* 카드/이미지 공통 기준선 */
.portfolio-content {
    padding: 0 56px;
    box-sizing: border-box;
}

.portfolio-background{
	background: url('../imgs/emp/portfolio/common/서브배경1-03.png') no-repeat;
    background-size: 100% auto;
    width: 100%;
    min-height: 1000px;
    box-sizing: border-box;
}

/* =========================
   카드 컨테이너 (세로 스택)
========================= */
.portfolio-stats-pc {
    display: flex;
    flex-direction: column;
    gap: 32px;                 
}

/* =========================
   카드 공통 
========================= */
.stat-card {
    width: 100%;
    max-width: 560px;          
    margin: 0 auto;

    border-radius: 26px;      
    overflow: hidden;
}

.stat-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   stat-card (정보 카드)
========================= */
.stat-card {
    background: #fff;
    padding: 36px 40px;        
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: block;
}

/* 텍스트는 반드시 세로 */
.stat-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;                 
}

/* 제목 */
.stat-title {
    display: flex;              
    align-items: center;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

/* 값 (2번째 줄) */
.stat-value {
    display: block;
    margin-top: 2px;      
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    text-align: left;
}

/* 강조 */
.stat-value em {
    font-style: normal;
    font-size: 32px;
    font-weight: 900;
    color: #1e2f7b;
}

/* 아이콘 */
.stat-icon {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;  
    padding-top: 2px;         
}

.stat-icon img {
    width: 36px;
    height: 36px;
}

/* =========================
   프로젝트 카드 (이미지도 동일 크기)
========================= */
.project-card {
	margin-top: 40px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    display: block;
}

.portfolio-projects-pc {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 32px;
    margin-top: 200px;
    border-radius: 26px;
}

.portfolio-projects-pc .project-card {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 26px;
}

.portfolio-projects-pc .project-card img {
    border-radius: 26px;   
}

.portfolio-text{
    max-width: 960px;
    margin-left: 22px;       
    margin-right: auto;
    margin-top: 25px;
    text-align: left;
    height: 70px;
}

/* 포트폴리오 작품 제목 */
.portfolio-title{
    max-width: 960px;
    margin-bottom: 14px;
    font-size: 26px;
    font-weight: 700;
    color: #1d2b70;
    text-align: left;
}

.portfolio-desc{
    max-width: 960px;
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    text-align: left;
    word-break: keep-all;
}


@media all and (max-width:1065px) and (min-width:801px){
	
	  article.emp .article_body {
	    max-width: 100%;
	    display: flex;
	    flex-direction: column;
	    align-items: center;   /* ⭐ 핵심 */
     }  
	
	h2.page-title.border-none.port{
		margin-bottom: 0;
	}
	  /* =========================
	     설명 문구
	  ========================= */
	  .portfolio_header p {
	    font-size: 20px;
	    line-height: 1.6;
	    margin-bottom: 48px;
	  }
	
	  /* =========================
	     전체 콘텐츠 좌우 여백
	  ========================= */
	  .portfolio-content {
	    padding: 0 32px;
	    box-sizing: border-box;
	    margin: 0 0 30px;
	  }
	
	  /* =========================
	     통계 카드 스택
	  ========================= */
	  .portfolio-stats-pc {
	    gap: 28px;
	  }
	
	  /* =========================
	     통계 카드
	  ========================= */
	  .stat-card {
	    max-width: 100%;
        padding: 32px 34px;
        border-radius: 22px;
        box-sizing: border-box; 
	  }
	
	  .stat-title {
	    font-size: 20px;
	  }
	
	  .stat-value {
	    font-size: 17px;
	  }
	
	  .stat-value em {
	    font-size: 28px;
	  }
	
	  .stat-icon img {
	    width: 32px;
	    height: 32px;
	  }
	
	  /* =========================
	     프로젝트 카드 영역
	  ========================= */
	  .portfolio-projects-pc {
	    grid-template-columns: repeat(2, 1fr); /* 유지 */
	    gap: 24px;
	    margin-top: 40px;
	    margin-bottom: 40px;
	  }
	
	  .portfolio-projects-pc .project-card {
	    border-radius: 22px;
	  }
	
	  .portfolio-projects-pc .project-card img {
	    border-radius: 22px;
	  }
	  
	  .portfolio-text{
	    margin-left: 30px;       
	}

}


@media all and (max-width:800px) {
    
    h1#emp.portfolio,
    h2.page-title.border-none.port{
    	display: none;
    }
    
    .header_background {
        position: fixed;
        height: 80px;
        width: 100%;
        background:rgba(14,16,118,0.9);
        z-index: -10;
        box-sizing: border-box;
    }
    
    .portfolio_detail{
        margin-top: 0;
        margin-bottom: 60px;
    }
    
    .portfolio_detail .portfolio_content img{
        float: none;
        width: 94%;        
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 20px;
        padding: 0;
        margin: 10px;
    }
    
	    /* 설명 문구 */
	  .portfolio_header p{
	    font-size: 18px;
	    line-height: 1.6;
	    margin: 0;
	    text-align: left;
	    padding: 10px;
	    margin-bottom: 60px;
	  }
	  
	.portfolio_header p.mobile-port-title{
		display: block;
		padding-top: 120px;
		box-sizing: border-box;
		font-size: 28px;
		font-weight: bold;
		margin-bottom: 10px;
	}
    
	
	  /* 전체 콘텐츠 좌우 여백 축소 */
	  .portfolio-content{
	    padding: 0 16px;
	    margin: 0 0 30px;
	  }
	
	  /* =========================
	     정보 카드 스택
	  ========================= */
	  .portfolio-stats-pc {
	    display: flex;
	    flex-direction: column;
	    gap: 32px;
	  }
	
	  .stat-card{
	    width: 80%;
	    padding: 30px 20px;
	    border-radius: 18px;
	    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
	  }
	
	  /* 제목 + 아이콘 */
	  .stat-title{
	    font-size: 20px;
	    font-weight: 600;
	  }
	
	  /* 값 */
	  .stat-value{
	    font-size: 17px;
	    margin-top: 4px;
	  }
	
	  .stat-value em{
	    font-size: 22px;
	    font-weight: 800;
	  }
	
	  /* 아이콘 */
	  .stat-icon img{
	    width: 26px;
	    height: 26px;
	  }
	
	  /* =========================
	     프로젝트 카드
	  ========================= */
	
	  /* PC 2열 → 모바일 1열 */
	 .portfolio-projects-pc{
	    grid-template-columns: 1fr;
	    margin-top: 100px;
	    margin-bottom: 100px;
	    display: flex;
	    flex-direction: column;
	    align-items: center;
	  }
	  
	  .portfolio-projects-pc .project-card{
	    border-radius: 18px;
	    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
	    width: 85%;
	    
	  }
	
	  .portfolio-projects-pc .project-card img{
	    border-radius: 18px;
	  }
	  
	  .portfolio_detail .portfolio_content {
		    padding-top: 0;
		    grid-template-columns: repeat(1, 1fr);
	  }
	  
	   .emp_area article.emp h2.page-title{
        font-size: 23px;
     }
     
     .portfolio-text{
	    margin-left: 20px;             
	    margin-top: 10px;
	    margin-bottom: 20px;
	    text-align: left;
	  }
     
     
      .portfolio-title{
        font-size: 20px;
        margin-bottom: 10px;
    }

    .portfolio-desc{
        font-size: 14px;
        margin-bottom: 24px;
    }
}

@media all and (max-width:370px) {
	
	.portfolio_header{
		min-height: 100px;
	}
	
	.portfolio_header p{
	    font-size: 13px;
	    margin-bottom: 30px;
	  }
	  
	.portfolio_header p.mobile-port-title{
		padding-top: 100px;
		font-size: 20px;
	}
	
	.stat-title{
		font-size: 16px;
	}
	
	.stat-value{
		font-size: 16px;
	}
}