/* ==== home/main.php ==== */
.hero {
  background-color: #1a6b3c;
  background-image: url('/images/main_top_background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color:#fff; padding:80px 16px; text-align:center;
}
.hero .hero-kicker { font-size:.85rem; font-weight:500; color:rgba(255,255,255,.75); letter-spacing:.01em; line-height:1.7; margin-bottom:14px; }
.hero h2 { font-size:2rem; font-weight:800; line-height:1.4; margin-bottom:16px; }
.hero p { font-size:1rem; color:rgba(255,255,255,.85); line-height:1.7; margin-bottom:28px; }
.btn-hero { display:inline-block; padding:12px 32px; background:#fff; color:#1a6b3c; font-weight:700; border-radius:30px; text-decoration:none; }
.home-section { padding:60px 16px; }
.home-section--gray { background:#f8f9fa; }
.inner { max-width:1080px; margin:0 auto; }
.section-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.section-title { font-size:1.25rem; font-weight:700; }
.more-link { font-size:.875rem; color:#1a6b3c; text-decoration:none; }
/* 뉴스 */
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.news-card { display:block; text-decoration:none; color:inherit; border:1px solid #eee; border-radius:8px; overflow:hidden; transition:box-shadow .2s; }
.news-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.1); }
.card-thumb { aspect-ratio:16/9; overflow:hidden; background:#f0f0f0; }
.card-thumb img { width:100%; height:100%; object-fit:cover; }
.card-body { padding:14px; }
.badge-cat { display:inline-block; padding:2px 8px; border-radius:3px; color:#fff; font-size:.7rem; font-weight:700; margin-bottom:8px; }
.card-title { font-size:.9rem; font-weight:600; line-height:1.5; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-date { font-size:.75rem; color:#999; }
/* eBook */
.ebook-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ebook-card { display:block; text-decoration:none; color:inherit; }
.ebook-cover { width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:6px; display:block; background:#ddd; }
.ebook-cover--empty { display:flex; align-items:center; justify-content:center; font-weight:700; color:#aaa; font-size:1.2rem; background:linear-gradient(135deg,#e3f2fd,#bbdefb); }
.ebook-title { font-size:.9rem; font-weight:600; margin-top:10px; line-height:1.4; }
.ebook-date { font-size:.75rem; color:#999; margin-top:4px; }
/* eBook 1~2권일 때 featured 배너 */
.ebook-featured-list { display:flex; flex-direction:column; gap:20px; }
.ebook-featured { display:flex; gap:28px; background:#fff; border:1px solid #e8e8e8; border-radius:12px; padding:24px; text-decoration:none; color:inherit; transition:box-shadow .2s, border-color .2s; }
.ebook-featured:hover { box-shadow:0 6px 24px rgba(0,0,0,.08); border-color:#c8e6c9; }
.ef-cover { width:160px; flex-shrink:0; }
.ef-cover img { width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:8px; display:block; }
.ef-cover-empty { width:100%; aspect-ratio:3/4; border-radius:8px; display:flex; align-items:center; justify-content:center; font-weight:700; color:#aaa; font-size:1.2rem; background:linear-gradient(135deg,#e3f2fd,#bbdefb); }
.ef-body { flex:1; display:flex; flex-direction:column; min-width:0; }
.ef-kicker { font-size:.72rem; font-weight:700; color:#1a6b3c; letter-spacing:.04em; margin-bottom:8px; }
.ef-title { font-size:1.15rem; font-weight:800; line-height:1.4; margin-bottom:6px; color:#1a2a3a; }
.ef-author { font-size:.82rem; color:#888; margin-bottom:10px; }
.ef-summary { font-size:.875rem; color:#555; line-height:1.7; margin-bottom:14px; }
.ef-cta { margin-top:auto; font-size:.85rem; font-weight:700; color:#1a6b3c; }
/* 커뮤니티 */
.community-list { list-style:none; padding:0; margin:0; border-top:1px solid #eee; }
.community-list li { border-bottom:1px solid #f0f0f0; }
.community-list li a { display:flex; justify-content:space-between; align-items:center; padding:14px 4px; text-decoration:none; color:inherit; }
.community-list li a:hover .post-title { color:#1a6b3c; }
.post-title { font-size:.9rem; font-weight:500; }
.post-meta { font-size:.78rem; color:#aaa; white-space:nowrap; margin-left:12px; }
.empty-msg { color:#aaa; font-size:.875rem; padding:20px 0; }
/* 등급 안내 */
.grade-notice { display:flex; align-items:center; gap:12px; background:#fff8e1; border:1px solid #ffe082; border-radius:6px; padding:14px 18px; margin-top:20px; flex-wrap:wrap; }
.grade-notice--sm { padding:12px 14px; margin-top:12px; gap:8px; }
.notice-icon { font-size:1.2rem; flex-shrink:0; }
.grade-notice p { flex:1; font-size:.85rem; color:#555; margin:0; }
.notice-actions { display:flex; gap:8px; flex-shrink:0; }
.notice-btn { display:inline-block; padding:6px 14px; border:1px solid #aaa; color:#555; border-radius:4px; font-size:.78rem; text-decoration:none; background:#fff; }
.notice-btn--primary { background:#1a6b3c; color:#fff; border-color:#1a6b3c; font-weight:700; }
/* eBook 피드백 미리보기 */
.feedback-preview { margin-top:28px; padding-top:24px; border-top:1px solid #e0e0e0; }
.fp-title { font-size:.95rem; font-weight:700; color:#444; margin-bottom:14px; }
.fp-list { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.fp-item { background:#fff; border:1px solid #e8e8e8; border-radius:6px; padding:14px 16px; }
.fp-meta { display:flex; align-items:center; gap:8px; margin-bottom:6px; flex-wrap:wrap; }
.fp-name { font-size:.78rem; font-weight:700; color:#333; }
.fp-book { font-size:.75rem; color:#1a6b3c; text-decoration:none; }
.fp-book:hover { text-decoration:underline; }
.fp-date { font-size:.72rem; color:#bbb; margin-left:auto; }
.fp-content { font-size:.82rem; color:#666; line-height:1.6; margin:0; }
/* 커뮤니티+구인 2열 */
.home-two-col { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.simple-list { list-style:none; padding:0; margin:0; border-top:1px solid #eee; }
.simple-list li { border-bottom:1px solid #f0f0f0; }
.simple-list li a { display:flex; justify-content:space-between; align-items:center; padding:12px 4px; text-decoration:none; color:inherit; gap:8px; }
.simple-list li a:hover .post-title { color:#1a6b3c; }
.company-em { display:block; font-size:.75rem; color:#aaa; font-style:normal; margin-top:2px; }
.dday-inline { white-space:nowrap; font-size:.75rem; font-weight:700; padding:2px 6px; border-radius:3px; background:#f0f0f0; color:#555; }
.dday-today { background:#e53935; color:#fff; }
.dday-soon { background:#ff6f00; color:#fff; }
.dday-closed { background:#9e9e9e; color:#fff; }
.resume-status-note { margin:10px 4px 0; font-size:.8rem; color:#888; }
.resume-status-note strong { color:#1a6b3c; font-weight:700; }
.event-banner-section { padding-top:32px; padding-bottom:32px; }
.event-banner-carousel { position:relative; width:100%; aspect-ratio:10/3; border-radius:12px; overflow:hidden; background:#f0f0f0; }
.event-banner-slide { position:absolute; inset:0; opacity:0; transition:opacity .6s ease; pointer-events:none; }
.event-banner-slide.is-active { opacity:1; pointer-events:auto; }
.event-banner-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.event-banner-dots { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:2; }
.event-banner-dot { width:8px; height:8px; border-radius:50%; border:none; background:rgba(255,255,255,.55); cursor:pointer; padding:0; }
.event-banner-dot.is-active { background:#fff; }
@media(max-width:768px){
  .news-grid,.ebook-grid { grid-template-columns:repeat(2,1fr); }
  .home-two-col { grid-template-columns:1fr; }
  .fp-list { grid-template-columns:1fr; }
  .event-banner-carousel { aspect-ratio:16/9; }
}
@media(max-width:480px){
  .news-grid,.ebook-grid { grid-template-columns:1fr; }
  .hero h2 { font-size:1.5rem; }
  .grade-notice { flex-direction:column; align-items:flex-start; }
  .ebook-featured { flex-direction:column; }
  .ef-cover { width:120px; }
  .event-banner-carousel { aspect-ratio:4/3; }
}
