@charset "utf-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ----------------------------------------------------------------
   1. 초기화 및 공통 변수 설정
---------------------------------------------------------------- */
:root {
    --main-blue: #0F4C81;   /* 클래식 블루 (신뢰감, 무게감) */
    --point-red: #9E2A2B;   /* 톤다운된 레드 (강조, 에너지) */
    --text-dark: #333333;   /* 기본 텍스트 */
    --text-gray: #666666;   /* 보조 텍스트 */
    --bg-light: #f4f4f4;    /* 전체 배경 */
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6; 
    background-color: var(--white);
}
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }

/* 공통 레이아웃 (중앙 정렬 1200px) */
.inner { width: 1200px; margin: 0 auto; position: relative; }

/* ----------------------------------------------------------------
   2. 헤더 (로고 + GNB 메뉴)
---------------------------------------------------------------- */
header {
    width: 100%;
    height: 80px;
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1000; /* 배너보다 위에 오도록 설정 */
}

header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* 로고 */
header h1 a {
    font-size: 26px;
    font-weight: 800;
    color: var(--main-blue);
    letter-spacing: -1px;
}

.pc-br {
    display: block;
}

.mobile-br {
    display: none;
}

.mt-20 {margin-top: 20px !important;}

.ml-10 {margin-left: 10px !important;}
.mr-10 {margin-right: 10px !important;}
.mt-10 {margin-top: 10px !important;}
.mb-10 {margin-bottom: 10px !important;}

.ml-5 {margin-left: 5px !important;}
.mr-5 {margin-right: 5px !important;}
.mt-5 {margin-top: 5px !important;}
.mb-5 {margin-bottom: 5px !important;}
.color-red {color: var(--point-red)!important;}

.grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* GNB 네비게이션 */
.gnb { display: flex; height: 100%; }
.gnb > li { position: relative; height: 100%; }
.gnb > li > a {
    display: flex;
    align-items: center;
    padding: 0 25px;
    height: 100%;
    font-size: 17px;
    font-weight: 600;
    color: var(--main-blue);
    transition: color 0.3s, background 0.3s;
}
.gnb > li:hover > a { 
    color: var(--point-red); 
    background-color: #f9f9f9; 
}

/* 서브메뉴 (드롭다운) - 전체 수정본 */
.submenu {
    display: none;        /* 평소엔 숨김 */
    position: absolute;
    top: 100%;            /* 핵심: 부모 높이의 딱 끝지점에 맞춤 */
    margin-top: -1px;     /* 핵심: 1픽셀 위로 올려서 빈틈 없이 딱 붙임 */
    left: 0;
    min-width: 200px;     /* 너비 */
    background: var(--main-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-top: 3px solid var(--point-red);
    z-index: 9999;        /* 다른 요소보다 무조건 위에 뜨게 설정 */
}

/* 마우스 올리면 서브메뉴 보임 */
.gnb > li:hover .submenu { display: block; }

/* 서브메뉴 내부 링크 스타일 (글자색, 여백 등) */
.submenu li a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* 메뉴 사이 얇은 줄 */
    transition: background 0.2s;
}

/* 마지막 메뉴 줄 없애기 */
.submenu li:last-child a { border-bottom: none; }

/* 서브메뉴에 마우스 올렸을 때 효과 (빨간색 변경 + 오른쪽 이동) */
.submenu li a:hover { 
    background-color: var(--point-red); 
    color: var(--white);
    padding-left: 25px; 
}
/* 헤더 우측 로그인 버튼 */
.btn-login {
    padding: 10px 14px;
    background-color: var(--main-blue);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}
.btn-login:hover { background-color: var(--point-red); }



/* 기본 공통 스타일 */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 5px 18px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease; /* 부드러운 전환 효과 */
    cursor: pointer;
    text-align: center;
}

/* 채워진 버튼 (메인 포인트) */
.btn-primary {
    background-color: #dc2626; /* 레드아카이브 포인트 컬러 */
    color: #ffffff;
    border: 1px solid #dc2626;
}

.btn-primary:hover {
    background-color: #b91c1c; /* 마우스 올렸을 때 더 진한 레드 */
    border-color: #b91c1c;
    transform: translateY(-2px); /* 살짝 떠오르는 효과 */
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

/* 테두리만 있는 버튼 (보조) */
.btn-outline {
    background-color: transparent;
    color: #dc2626;
    border: 1px solid #dc2626;
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: #fff1f2; /* 연한 핑크빛 배경 */
    transform: translateY(-2px);
}

.btn-archive {
    display: inline-block;
    padding: 5px 18px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    
    /* 평상시 상태: 연한 배경 + 테두리 */
    background-color: #f0f9ff; /* 매우 연한 하늘색 배경 */
    color: #00a8ff;            /* 글자색 블루 */
    border: 1px solid #b3e5fc; /* 연한 블루 테두리 */
    
    transition: all 0.3s ease; /* 부드러운 전환 효과 */
    cursor: pointer;
    text-align: center;
}

/* 마우스를 올렸을 때 (Hover) */
.btn-archive:hover {
    /* 호버 상태: 대표 블루 컬러로 채워짐 */
    background-color: #00a8ff; 
    color: #ffffff;            /* 글자색 화이트로 변경 */
    border-color: #00a8ff;     /* 테두리도 같은 블루로 */
    
    transform: translateY(-2px); /* 살짝 떠오르는 효과 */
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.2); /* 은은한 그림자 */
}

/* ----------------------------------------------------------------
   3. 메인 비주얼 (Hero Section)
---------------------------------------------------------------- */
.hero {
width: 100%;   
    /* 배경 이미지 연결 (폴더명/파일명) */
    background: url('/img/main_banner.jpg') no-repeat center center;
    background-size: cover; /* 이미지가 잘리지 않고 영역을 가득 채움 */
    
    /* 이미지 위에 글씨가 잘 보이도록 어두운 막(Dimmed) 씌우기 */
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.4); 
     position: relative;
  overflow: hidden;
  height: 300px; /* 기존 높이에 맞게 조절 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}



.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* 전환 속도 */
}

.slide.active {
  opacity: 1;
}

/* 텍스트가 이미지보다 위에 오도록 설정 */
.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4); /* 이미지 가독성을 위한 반투명 배경 */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content .sub-text {
    margin-top: 20px; font-size: 18px; line-height: 1.8; max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero-content .sub-num {
   font-size: 22px; color: #ffee00; font-weight: 700; margin-top: 20px;
}

/* 리스트를 그리드 형태로 변경 */
.archive-grid {
    display: flex;
    flex-wrap: wrap; /* 자리가 모자라면 다음 줄로 */
    gap: 30px 20px;  /* 상하 간격 30px, 좌우 간격 20px */
    padding: 0;
    list-style: none;
}

/* 1. 리스트 아이템 기본 설정 (PC: 3개 배치) */
.archive-grid li {
    flex: 0 0 calc(33.333% - 14px); /* 한 줄에 3개 */
    box-sizing: border-box;
    padding: 20px;
    border-left: 3px solid #00a8ff;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

/* 텍스트 스타일 정돈 */
.archive-grid li strong {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.archive-grid li p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.url-text {
    display: block;
    font-size: 13px;
    color: #00a8ff;
    word-break: break-all; /* 긴 URL 줄바꿈 */
    margin-top: 5px;
}

/* 모바일 대응 (화면이 작아지면 다시 한 줄로) */
@media (max-width: 768px) {
    .archive-grid li {
        flex: 0 0 100%;
    }

    
.grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    .profile-box { flex-direction: column; align-items: center; text-align: center; }
    .history-list { text-align: left; display: inline-block; }
    .book-list { text-align: left; }

.card-container {
      grid-template-columns: 1fr !important; /* 모바일 1열 */
      padding: 10px !important;
    }
    .mission-card {
        padding: 24px 5px !important;
    }
    .card-title {
        font-size: 18px !important;
    }
    .mission-box h3 {
        font-size: 20px !important;
    }
}


/* ----------------------------------------------------------------
   4. 메인 콘텐츠 (바로가기 카드)
---------------------------------------------------------------- */
.content {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.content-02 {
    padding: 80px 0;
    /* background-color: var(--bg-light); */
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h3 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.section-title p { color: var(--text-gray); }



/* 카드 그리드 레이아웃 */
.card-list {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* 개별 카드 디자인 */
.card {
    flex: 1; /* 3등분 */
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

/* 개별 카드 디자인 */
.card-02 {
    flex: 1; /* 3등분 */
    background: var(--white);
    margin: 20px 10px;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
     border: 1px solid var(--main-blue);
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    align-items: center
}

.card .flex3 {
flex: 0 0 calc(25% - 20px);
}

/* 카드 아이콘 스타일 추가 */
.card-icon {
    margin-bottom: 20px; /* 제목과의 간격 */
}

.card-icon img {
    width: 80px;  /* 아이콘 크기 (너무 크면 60px로 줄이세요) */
    height: 80px;
    object-fit: contain; /* 비율 유지 */
}

.card:hover {
    transform: translateY(-10px); /* 위로 떠오르는 효과 */
    box-shadow: 0 15px 30px rgba(15, 76, 129, 0.15); /* 그림자 진하게 */
    border-color: var(--main-blue);
}

.card h4 {
    font-size: 22px;
    color: var(--main-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-02 h4 {
    font-size: 22px;
    color: var(--point-red);
    margin-bottom: 15px;
    font-weight: 700;
}


.card p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 25px;
    word-break: keep-all;
}

.card-btn {
    display: inline-block;
    padding: 8px 20px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s;
}

.card-btn:hover {
    background-color: var(--point-red);
    color: var(--white);
    border-color: var(--point-red);
}

/* ----------------------------------------------------------------
   5. 푸터
---------------------------------------------------------------- */
/* 6. 푸터 (수정됨) */
footer {
    background-color: #222;
    color: #999; /* 글자색 조금 더 밝게 */
    padding: 50px 0;
    text-align: center;
    font-size: 13px;
    border-top: 4px solid var(--point-red);
    line-height: 1.8; /* 줄 간격 확보 */
}
footer address {
    font-style: normal;
    margin-bottom: 20px;
}
footer .bar {
    display: inline-block;
    margin: 0 8px;
    color: #555;
    font-size: 11px;
}
footer .copy {
    color: #666;
    font-size: 12px;
}
/* ----------------------------------------------------------------
   6. 로그인/회원가입 페이지 전용 스타일
---------------------------------------------------------------- */
.login-wrap { 
    width: 420px; 
    margin: 100px auto; 
    padding: 50px 40px; 
    background: var(--white); 
    border: 1px solid #eee; 
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center; 
}
.login-wrap h2 { margin-bottom: 40px; color: var(--main-blue); font-size: 28px; }
.input-box { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 15px; 
    border: 1px solid #ddd; 
    border-radius: 5px;
    font-size: 15px;
}
.input-box:focus { outline: none; border-color: var(--main-blue); }
.btn-submit { 
    width: 100%; 
    padding: 16px; 
    background: var(--point-red); 
    color: var(--white); 
    border: none; 
    border-radius: 5px;
    font-size: 16px; 
    font-weight: bold;
    cursor: pointer; 
    margin-top: 10px;
    transition: background 0.3s;
}
.btn-submit:hover { background: #7c2021; }

/* ----------------------------------------------------------------
   7. 게시판(Board) 최신글 영역 스타일
---------------------------------------------------------------- */
.board-section {
    padding: 60px 0;
    background-color: var(--white); /* 위쪽 카드섹션(회색)과 대비되게 흰색 */
    border-top: 1px solid #eee;
}

.board-container {
    display: flex;
    justify-content: space-between; /* 양쪽 끝으로 배치 */
    gap: 40px; /* 두 게시판 사이 간격 */
}

.board-box {
    flex: 1; /* 50:50 비율 */
    background: #fff;
}

/* 게시판 헤더 (제목 + 더보기 버튼) */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.board-header h3 {
    font-size: 20px;
    color: var(--main-blue);
    font-weight: 700;
}

.btn-more {
    font-size: 13px;
    color: #999;
}
.btn-more:hover { color: var(--point-red); }

/* 리스트 스타일 */
.board-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
}

.board-list li a {
    color: var(--text-dark);
    /* 제목이 너무 길면 ... 으로 줄이기 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%; 
}

.board-list li a:hover {
    text-decoration: underline;
    color: var(--point-red);
}

.board-list li .date {
    color: #999;
    font-size: 13px;
}

/* ----------------------------------------------------------------
   8. 모바일/태블릿 반응형 (햄버거 메뉴 적용판)
---------------------------------------------------------------- */
/* 기본 상태 (PC): 햄버거 버튼과 모바일 메뉴 숨김 */
.btn-menu-mo, .mobile-login, .nav-menu { display: none; }

@media screen and (max-width: 1024px) {
    
  .inner { width: 100% !important; padding: 0 20px !important; }

  /* 채널 리스트를 모바일에서 한 줄에 하나씩 배치 */
    .archive-grid li {
        flex: 0 0 100% !important; /* 너비를 100%로 꽉 채움 */
        margin-bottom: 15px;
    }


    /* 헤더 레이아웃 */
    header { height: 60px; padding: 0; }
    header .inner { 
        justify-content: space-between; /* 로고 왼쪽, 버튼 오른쪽 */
        height: 60px;
    }
    
.pc-br {
        display: none;
    }

    .mobile-br {
        display: block !important; /* 모바일에서만 줄바꿈 적용 */
    }


    .about-intro {padding-top: 0 !important;}

   .hero-content .sub-text {
    margin-top: 20px; font-size: 15px; 
    line-height: 1.5; max-width: 800px; 
    margin-left: auto; margin-right: auto;
      word-break: keep-all; /* 단어 단위로 자연스럽게 줄바꿈 되도록 설정 */
        padding: 0 20px;      /* 양옆 여백 추가로 가독성 확보 */
}
.hero-content .sub-num {
   font-size: 18px; color: #ffee00; font-weight: 700; margin-top: 20px;
}

  .hero h2 { font-size: 20px;}
    
 .about-intro h2 { font-size: 28px !important; font-weight: 700; line-height: 1.3;}

 .member-box .closing {font-size: 20px !important; }
.member-box { padding: 20px !important; margin-top: 50px; }
 .member-box h3 { font-size: 18px !important; }
.member-box p { font-size: 15px !important;}
.mission-list {
    padding: 0 !important;
}
.profile-box {align-items: center !important; justify-content: center !important; gap: 50px !important;}


.mission-box h3 {
text-align: center !important;
}

/* 4) 프로필 섹션 디자인 */
.about-profile {padding: 40px 10px !important; margin-top: 50px !important; }

 /* PC용 GNB 메뉴 숨기기 */
    .pc-only { display: none !important; }

  /* 모바일에서만 햄버거 버튼 표시 */
    .btn-menu-mo {
        display: block;
        width: 30px; 
        height: 20px;
        position: relative;
        cursor: pointer;
    }
    .btn-menu-mo span {
        display: block;
        width: 100%; height: 3px;
        background-color: var(--text-dark);
        margin-bottom: 5px;
        border-radius: 2px;
    }
    /* 모바일 네비게이션 활성화 설정 */
    .nav-menu {
        display: none; 
        position: absolute;
        top: 60px; left: 0; width: 100%;
        background: var(--white);
        border-top: 1px solid #eee;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 9999;
    }
    
    /* JS 클릭 이벤트로 .on 클래스가 붙었을 때만 보임 */
    .nav-menu.on { display: block !important; }
    
   /* 모바일 전용 세로 메뉴 스타일 */
    .gnb { 
        flex-direction: column; 
        height: auto; 
    }
    .gnb > li { width: 100%; height: auto; border-bottom: 1px solid #f1f1f1; }
    .gnb > li > a { 
        padding: 15px 0; 
        font-size: 16px; 
    }
    
    .submenu {
        display: block;
        position: static;
        width: 100%;
        background-color: #f9f9f9;
        padding: 10px;
    }

    .mobile-login {
        display: block;
        margin-top: 20px;
        text-align: center;
    }

    .submenu li a {
        color: #666;
        padding: 8px 10px;
        border-bottom: none;
    }
    .gnb > li:hover .submenu { display: block; } /* PC 호버 효과 무시 */

  
    .mobile-login a {
        display: block;
        width: 100%;
        padding: 12px;
        background: var(--main-blue);
        color: var(--white);
        border-radius: 5px;
        font-weight: bold;
    }

    /* ARCHIVE CHANNEL 그리드 모바일 대응 */
    .archive-grid li {
        flex: 0 0 100% !important;
    }

    /* 본문 요소들 모바일 최적화 */
    .hero { height: 300px; }
    .card-list, .board-container { flex-direction: column; gap: 20px; }
    .card { margin-bottom: 10px; }
    footer { padding: 30px 20px; word-break: keep-all; }

}

/* ----------------------------------------------------------------
   9. PC 전용 스타일 (미디어 쿼리 밖으로 빼기)
---------------------------------------------------------------- */
@media screen and (min-width: 1025px) {
    .nav-menu {
        display: block !important; /* PC에서는 메뉴 항상 보임 */
    }
    .btn-menu-mo {
        display: none !important; /* PC에서는 햄버거 숨김 */
    }
}
/* ----------------------------------------------------------------
   9. 카드 아이콘 및 애니메이션 스타일 (추가됨)
---------------------------------------------------------------- */
.card-icon {
    margin-bottom: 20px; /* 제목과의 간격 */
}

.card-icon img {
    width: 80px;  /* 아이콘 크기 */
    height: 80px;
    object-fit: contain; /* 비율 유지 */
}

/* 카드에 마우스 올렸을 때 효과 */
.card:hover {
    transform: translateY(-10px); /* 위로 떠오르는 효과 */
    box-shadow: 0 15px 30px rgba(15, 76, 129, 0.15); /* 그림자 진하게 */
    border-color: var(--main-blue);
}

/* ----------------------------------------------------------------
   10. 서브 페이지(about.html) 전용 스타일
---------------------------------------------------------------- */
.sub-content { 
    padding: 50px 0 80px 0; 
    text-align: center; 
    min-height: 600px; 
}
.sub-content h2 { 
    font-size: 32px; 
    margin-bottom: 20px; 
    color: var(--main-blue); 
}
.sub-content p { 
    font-size: 16px; 
    color: #666; 
}

/* ----------------------------------------------------------------
   11. 서브 페이지 (About) 상세 디자인 통합본
---------------------------------------------------------------- */
/* 전체 레이아웃 */
.about-intro { padding: 40px 0 80px; }
.about-intro h2 { font-size: 36px; font-weight: 700; line-height: 1.3; margin-bottom: 30px; color: var(--text-dark); }
.intro-header { margin-bottom: 40px; }
.intro-header .sub-title { display: block; font-size: 14px; color: var(--point-red); font-weight: bold; margin-bottom: 10px; }
.divider { width: 40px; height: 3px; background: var(--point-red); border: none; margin: 0 auto 50px; }

/* 1) Mission 박스 */
/* .mission-box { margin-bottom: 50px; }
.mission-box h3 { font-size: 24px; color: var(--main-blue); margin-bottom: 20px; }
.mission-box p { font-size: 18px; line-height: 1.6; color: #444; word-break: keep-all; }
.mission-box strong { color: var(--text-dark); background: rgba(229, 9, 20, 0.1); padding: 0 5px; } */

.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 데스크톱 2열 */
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
  }

  .mission-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #d32f2f; /* 레드 아카이브 포인트 컬러 */
    transition: transform 0.3s ease;
    overflow-wrap: break-word; word-break: keep-all;
  }

  .mission-card:hover {
    transform: translateY(-5px);
  }

  .card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-blue);
    margin-bottom: 12px;
    display: block;
  }

  .card-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
  }



.mission-box {
    text-align: left; /* 좌측 정렬 */
    padding: 5px;
    background: #fdfdfd;
    border-radius: 8px;
}

.mission-box h3 {
    font-size: 24px;
    color: var(--point-red);
    margin-bottom: 25px;
    font-weight: 700;
    overflow-wrap: break-word; word-break: keep-all;
    text-align: center;
}

.mission-list {
    list-style: none; /* 기본 불렛 제거 */
    padding: 0 0 0 50px;
    margin: 0;
}

.mission-list li {
    position: relative;
    padding-left: 30px; /* 체크 아이콘 공간 */
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    overflow-wrap: break-word; word-break: keep-all;
}

.mission-list .text-16b {
    font-size: 18px !important;
    font-weight: 800;
    color: var(--main-blue);
}

/* 체크 화살표 불렛 구현 */
.mission-list li::before {
    content: '✓'; /* 체크 모양 */
    position: absolute;
    left: 0;
    top: 0;
    color: #dc2626; /* 레드아카이브 포인트 컬러 */
    font-weight: bold;
    font-size: 20px;
}

.mission-list li strong {
    color: #222;
    display: block; /* 제목처럼 위로 올리거나 강조 */
    margin-bottom: 2px;
}


/* 2) Core Feature (Kick) */
.core-box { margin-bottom: 60px; text-align: left; }
.core-box h3 { font-size: 24px; color: var(--text-dark); margin-bottom: 15px; text-align: center; }
.kick-text { color: var(--point-red); font-style: italic; font-weight: 800; font-size: 1.2em; }
.core-desc { text-align: center; margin-bottom: 40px; color: #666; }

.feature-list { list-style: none; padding: 0; }
.feature-list li { margin-bottom: 30px; padding-left: 20px; border-left: 3px solid var(--main-blue); }
.feature-list li strong { display: block; font-size: 18px; color: var(--text-dark); margin-bottom: 8px; }
.feature-list li p { font-size: 15px; color: #666; line-height: 1.6; margin: 0; }

/* 3) Membership 박스 */
.member-box { background: #f4f4f4; border: 1px solid #ddd; padding: 40px; border-radius: 10px; margin-top: 50px;}
.member-box h3 { font-size: 22px; margin-bottom: 20px; color: var(--point-red);   overflow-wrap: break-word; word-break: keep-all;}
.member-box p { font-size: 16px; line-height: 1.6; color: #555;   overflow-wrap: break-word; word-break: keep-all;}
.member-box .closing { margin-top: 30px; font-weight: 700; color: var(--main-blue); font-size: 24px;   overflow-wrap: break-word; word-break: keep-all;}

/* 4) 프로필 섹션 디자인 */
.about-profile { background-color: #f9f9f9; padding: 60px 40px; border-radius: 20px; text-align: left; margin-top: 80px;  overflow-wrap: break-word; word-break: keep-all;}
.about-profile h3 { text-align: center; font-size: 28px; color: var(--text-dark); margin-bottom: 40px; letter-spacing: 2px;  overflow-wrap: break-word; word-break: keep-all;}

.profile-box { display: flex; gap: 80px; align-items: flex-start; justify-content: center; }

/* 사진 */
.profile-img { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; background-color: #ddd; flex-shrink: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.profile-img img { width: 100%; height: 100%; object-fit: cover; }

/* 텍스트 */
.profile-info h4 { font-size: 24px; color: var(--main-blue); margin-bottom: 20px; font-weight: bold; }
.profile-info .job { font-size: 16px; color: #999; font-weight: normal; margin-left: 10px; }

.history-list li { font-size: 16px; color: #555; margin-bottom: 3px; padding-left: 15px; position: relative; }
.history-list li::before { content: "•"; color: var(--point-red); position: absolute; left: 0; top: 0; }

/* 저서 목록 */
.book-list { margin-top: 6px;}
.book-list  ul{ margin-top: 20px;}
.book-list h5 { font-size: 18px; color: var(--point-red); margin-bottom: 8px; font-weight: 700; }
.book-list p { font-size: 14px; color: #555; line-height: 1.2; word-break: keep-all; }


/* ----------------------------------------------------------------
   13. 로그인 페이지 전용 디자인
---------------------------------------------------------------- */
/* 배경 및 레이아웃 */
.login-wrap {
    background-color: #f4f6f9; /* 아주 연한 회색 배경 */
    min-height: calc(100vh - 300px); /* 화면 꽉 차게 (헤더/푸터 제외) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

/* 로그인 박스 */
.login-box {
    background: #fff;
    width: 100%;
    max-width: 450px; /* 너무 넓지 않게 제한 */
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* 부드러운 그림자 */
    text-align: center;
}

.login-box h2 {
    font-size: 28px;
    color: var(--main-blue);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}
.login-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* 입력창 스타일 */
.input-group { margin-bottom: 15px; }
.input-group input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    background-color: #fafafa;
    transition: all 0.3s;
}
.input-group input:focus {
    border-color: var(--main-blue);
    background-color: #fff;
    outline: none;
}

/* 로그인 버튼 */
.btn-login-submit {
    width: 100%;
    height: 55px;
    background: var(--main-blue); /* 메인 컬러 */
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 25px;
    transition: background 0.3s;
}
.btn-login-submit:hover {
    background: var(--point-red); /* 호버 시 붉은색 포인트 */
}

/* 하단 링크 (찾기 / 가입) */
.login-links { font-size: 14px; color: #888; margin-bottom: 30px; }
.login-links a { color: #666; transition: color 0.3s; }
.login-links a:hover { color: var(--text-dark); text-decoration: underline; }
.login-links .bar { margin: 0 10px; color: #ddd; }
.btn-join-link { font-weight: bold; color: var(--point-red) !important; }

/* 가입 안내 박스 */
.join-info {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}
.join-info strong { color: var(--point-red); }

/* ----------------------------------------------------------------
   14. 푸터(Footer) 최종 디자인
---------------------------------------------------------------- */
footer {
    background-color: #333; /* 어두운 회색 배경 */
    color: #aaa; /* 연한 회색 글씨 */
    padding: 40px 0;
    font-size: 14px;
    margin-top: auto; /* 내용이 짧아도 바닥에 붙게 */
}

footer .inner {
    text-align: center; /* 가운데 정렬 */
}

.footer-top {
    margin-bottom: 20px;
    font-size: 16px;
    color: #fff; /* 회사명은 흰색으로 강조 */
}

.footer-info {
    line-height: 1.8;
}

.footer-info .bar {
    margin: 0 10px;
    color: #555;
    font-size: 11px;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}



/* 공지 문의 게시판 스타일 추가 */
.main-notice{max-width:1200px;margin:80px auto;padding:0 20px}
.notice-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:2px solid #222}
.notice-header h2{margin:0;font-size:22px;font-weight:800;color:#1f3a8a}
.notice-header .more{font-size:14px;color:#666;text-decoration:none}
.notice-list{list-style:none;margin:0;padding:0}
.notice-list li{border-bottom:1px solid #eee}
.notice-list li a{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;text-decoration:none;color:#111}
.notice-list .subject{font-size:16px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notice-list .date{font-size:14px;color:#999;white-space:nowrap;flex:0 0 auto}
.notice-list li a:hover .subject{text-decoration:underline}

/* 🔒 비밀글 아이콘 */
.icon-lock{
  font-size: 14px;
  margin-right: 4px;
  opacity: 0.8;
}

/* ✅ 답변완료 배지 */
.badge-answer{
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  vertical-align: middle;
}

/* 🆕 NEW 배지 */
.badge-new{
  display:inline-block;
  margin-left:6px;
  padding:2px 6px;
  font-size:11px;
  font-weight:700;
  color:#fff;
  background:#dc2626; /* 레드 */
  border-radius:6px;
  line-height:1;
  vertical-align:middle;
}

/* 🔒 비밀글 아이콘 */
.icon-lock{
  font-size:14px;
  margin-right:4px;
  opacity:0.85;
}

/* ✅ 답변완료 배지 */
.badge-answer{
  display:inline-block;
  margin-left:6px;
  padding:2px 8px;
  font-size:12px;
  font-weight:600;
  color:#2563eb;
  background:#eff6ff;
  border-radius:999px;
  vertical-align:middle;
}


.badge-new{
  display:inline-block;
  margin-left:6px;
  padding:2px 6px;
  font-size:11px;
  font-weight:700;
  color:#fff;
  background:#dc2626;
  border-radius:6px;
  line-height:1;
  vertical-align:middle;
}

.icon-lock{
  font-size:14px;
  margin-right:4px;
  opacity:0.85;
}

.badge-answer{
  display:inline-block;
  margin-left:6px;
  padding:2px 8px;
  font-size:12px;
  font-weight:600;
  color:#2563eb;
  background:#eff6ff;
  border-radius:999px;
  vertical-align:middle;
}
