/*
 * EDUINJOB AI Career Center
 * Main lower section override
 * Created: 2026-08-31
 *
 * 기존 app.css / home-renewal-v1.css는 수정하지 않습니다.
 * 메인 하단 전용 디자인만 이 파일에서 관리합니다.
 */


/* =========================================================
   HOME LOWER SECTION v1.0
   취업콘텐츠 → AI JOB 서비스 → 공지사항 + ECAS
   ========================================================= */


/* ---------------------------------------------------------
   1. AI JOB 서비스
   --------------------------------------------------------- */

.home-ai-section{
  background:#fff;
  padding-top:72px;
  padding-bottom:72px;
}

.home-ai-section .section-head{
  margin-bottom:28px;
}

.home-ai-section .section-head h2{
  margin-top:5px;
  margin-bottom:0;
}

.home-ai-section .section-head p{
  margin:10px 0 0;
  color:#707477;
  line-height:1.7;
}

.home-ai-tools-main{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

/* 기존 app.css 카드 스타일 보정 */
.home-ai-tools-main > a{
  position:relative;
  min-height:190px;
  padding:28px 20px 24px;
  border:1px solid #e3e6e5;
  border-radius:20px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  text-align:left;
  text-decoration:none;
  overflow:hidden;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.home-ai-tools-main > a:hover{
  transform:translateY(-3px);
  border-color:#efb08b;
  box-shadow:0 14px 32px rgba(30,35,33,.08);
}

/*
 * home-content.js에서 실제 AI 도구가 로딩될 경우
 * span 내부 이모지/아이콘이 들어오더라도
 * 메인에서는 통일된 심볼 박스로 표현합니다.
 */
.home-ai-tools-main > a > span{
  width:48px;
  height:48px;
  flex:0 0 48px;
  margin:0 0 20px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#fff1e8;
  color:#e45f17;
  font-size:0;
  font-weight:900;
}

/* 모든 AI 카드에 동일한 단순 심볼 사용 */
.home-ai-tools-main > a > span::before{
  content:"AI";
  font-size:15px;
  line-height:1;
  letter-spacing:-.02em;
}

.home-ai-tools-main > a > b{
  margin:0;
  font-size:18px;
  line-height:1.45;
  letter-spacing:-.035em;
  color:#242625;
}

.home-ai-tools-main > a > small{
  margin-top:8px;
  font-size:14px;
  line-height:1.65;
  color:#777d7a;
}

.home-ai-tools-main > a::after{
  content:"→";
  position:absolute;
  right:20px;
  bottom:18px;
  font-size:18px;
  color:#c4c8c6;
  transition:.18s;
}

.home-ai-tools-main > a:hover::after{
  right:17px;
  color:#f36b21;
}


/* ---------------------------------------------------------
   2. 공지사항 + ECAS
   --------------------------------------------------------- */

.home-news-ecas{
  background:#f6f8f7;
  padding-top:68px;
  padding-bottom:68px;
}

.home-news-ecas-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:20px;
  align-items:stretch;
}


/* 공지사항 */

.home-news-ecas .home-notice-panel{
  min-width:0;
  min-height:300px;
  padding:30px;
  background:#fff;
  border:1px solid #e2e7e5;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(30,40,36,.035);
}

.home-news-ecas .home-panel-head{
  margin-bottom:18px;
}

.home-news-ecas .home-panel-head h3{
  font-size:26px;
}

.home-news-ecas .home-notice-list > a{
  min-height:58px;
  padding:15px 0;
}

.home-news-ecas .home-notice-list b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}


/* ---------------------------------------------------------
   3. ECAS 취업자산진단 홍보카드
   --------------------------------------------------------- */

.home-ecas-promo{
  min-width:0;
  min-height:300px;
  padding:32px;
  border-radius:22px;
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(150px,.7fr);
  gap:26px;
  align-items:center;
  background:
    linear-gradient(135deg,#f36b21 0%,#ee7a36 100%);
  color:#fff;
  text-decoration:none;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(190,78,22,.16);
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.home-ecas-promo:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(190,78,22,.22);
}

.home-ecas-promo .mini-label{
  color:#fff;
  opacity:.78;
}

.home-ecas-copy h3{
  margin:7px 0 12px;
  font-size:29px;
  line-height:1.25;
  letter-spacing:-.045em;
  color:#fff;
}

.home-ecas-copy p{
  margin:0;
  max-width:420px;
  font-size:14px;
  line-height:1.75;
  color:rgba(255,255,255,.88);
}

.home-ecas-copy strong{
  display:inline-block;
  margin-top:23px;
  font-size:14px;
  color:#fff;
}


/* ECAS 오른쪽 그래픽 */

.home-ecas-visual{
  min-height:200px;
  padding:22px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(2px);
}

.home-ecas-visual small{
  display:block;
  font-size:11px;
  color:rgba(255,255,255,.78);
}

.home-ecas-visual > b{
  display:block;
  margin:7px 0 22px;
  font-size:30px;
  line-height:1;
  letter-spacing:-.04em;
  color:#fff;
}

.home-ecas-bars{
  display:grid;
  gap:9px;
}

.home-ecas-bars i{
  position:relative;
  display:block;
  height:7px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  overflow:hidden;
}

.home-ecas-bars i::after{
  content:"";
  display:block;
  width:var(--w);
  height:100%;
  border-radius:inherit;
  background:#fff;
  opacity:.9;
}


/* ---------------------------------------------------------
   4. Tablet
   --------------------------------------------------------- */

@media(max-width:960px){

  .home-ai-tools-main{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .home-news-ecas-grid{
    grid-template-columns:1fr;
  }

  .home-news-ecas .home-notice-panel,
  .home-ecas-promo{
    min-height:auto;
  }

}


/* ---------------------------------------------------------
   5. Mobile
   --------------------------------------------------------- */

@media(max-width:640px){

  .home-ai-section{
    padding-top:52px;
    padding-bottom:52px;
  }

  .home-ai-section .section-head{
    margin-bottom:22px;
  }

  .home-ai-tools-main{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .home-ai-tools-main > a{
    min-height:180px;
    padding:20px 16px;
    border-radius:16px;
  }

  .home-ai-tools-main > a > span{
    width:44px;
    height:44px;
    flex-basis:44px;
    margin-bottom:16px;
  }

  .home-ai-tools-main > a > b{
    font-size:17px;
  }

  .home-ai-tools-main > a > small{
    font-size:13px;
  }

  .home-ai-tools-main > a::after{
    right:16px;
    bottom:14px;
  }


  .home-news-ecas{
    padding-top:48px;
    padding-bottom:48px;
  }

  .home-news-ecas .home-notice-panel{
    padding:22px;
    border-radius:18px;
  }

  .home-news-ecas .home-panel-head h3{
    font-size:23px;
  }

  .home-news-ecas .home-notice-list > a{
    grid-template-columns:auto 1fr;
  }

  .home-news-ecas .home-notice-list time{
    grid-column:2;
  }


  .home-ecas-promo{
    grid-template-columns:1fr;
    padding:26px 22px;
    border-radius:18px;
    gap:24px;
  }

  .home-ecas-copy h3{
    font-size:26px;
  }

  .home-ecas-copy p{
    font-size:14px;
  }

  .home-ecas-visual{
    min-height:auto;
  }

}


/* ---------------------------------------------------------
   6. Small mobile
   --------------------------------------------------------- */

@media(max-width:420px){

  .home-ai-tools-main{
    grid-template-columns:1fr;
  }

  .home-ai-tools-main > a{
    min-height:150px;
  }

}

/* =========================================================
   FINAL FOOTER
   ========================================================= */

.home-final-footer{
  background:#142d45;
  color:#dce6ef;
  padding:44px 0 28px;
}

.home-final-footer .footer-brand-copy b{
  display:block;
  color:#fff;
  font-size:20px;
  line-height:1.45;
  margin-bottom:10px;
}

.home-final-footer .footer-brand-copy p{
  margin:0;
  font-size:15px;
  line-height:1.75;
  color:#c8d5df;
}

.home-final-footer .footer-grid > div:nth-child(2) > b{
  font-size:16px;
  color:#fff;
}

.home-final-footer .footer-grid > div:nth-child(2) p{
  font-size:13px;
  line-height:1.8;
  color:#c8d5df;
}

.home-final-footer .footer-links{
  display:grid;
  align-content:start;
  gap:11px;
  font-size:13px;
}

.home-final-footer .footer-links a{
  color:#fff;
  font-weight:700;
}

.home-final-footer .footer-legal-pending{
  color:#aebdca;
}

.home-final-footer .copyright{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.15);
  color:#91a5b5;
}

@media(max-width:640px){
  .home-final-footer .footer-brand-copy b{
    font-size:18px;
  }

  .home-final-footer .footer-brand-copy p{
    font-size:14px;
  }
}
