/* General Styling */
body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fcfcfc;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 20px 0;
}

.section-title {
    font-size: 1.5em;
    text-align: left;
    margin-bottom: 65px;
    margin-top: 10px;
    color: #545454;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Header */
.header {
    background-color: #0E4A84;

    padding: 1px 0;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.logo a {
    text-decoration: none;
    /* 밑줄 제거 */
    color: #ffffff;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav a:hover {
    color: #a6a6a6;
}

.nav a.active {
    color: #a6a6a6;
    font-weight: 700;
}

/* Intro Section */

.intro-section {
    background-color: #fcfcfc;
    padding-bottom: 50px;
    padding-top: 0px;
    text-align: center;
}

.intro-container {
    position: relative;
    overflow: hidden;
    /* 블러 가장자리 잘림 방지 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 600px;
    width: 100%;
    padding: 50px 0;
    color: #fff;
    text-align: center;
    font-weight: 100;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);

    /* 여기엔 background 넣지 말기! */
}

/* 배경 전용 레이어 */
.intro-container::before {
    content: '';
    position: absolute;
    inset: 0;
    /* top/right/bottom/left: 0 */
    background: url('images/index-background1.jpg') center / cover no-repeat;
    filter: blur(6px);
    transform: scale(1.05);
    /* 블러 가장자리 비치는 거 방지용 살짝 확대 */
    z-index: 0;
    /* 음수 X */
}

/* 실제 내용은 위로 올리기 */
.intro-container > * {
    position: relative;
    z-index: 1;
}

.intro-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.2em;
    font-weight: 100;
    margin: 0;
}

/* Intro 하단 우측 안내 문구 */
.intro-note {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 12px;
  line-height: 1.2;
  color: #cfcfcf;                 /* 작은 회색 글씨 */
  text-shadow: 0 1px 2px rgba(0,0,0,.35); /* 배경 위 가독성 */
  opacity: 0.95;
  user-select: none;              /* 드래그 방지(선택 사항) */
  pointer-events: none;           /* 클릭 이벤트 방해하지 않도록 */
}

/* .intro-image-placeholder {
    width: 80%;
    height: 300px;
    background-color: #777;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
} */

/* About Section */
.about-section {
    padding: 50px 0;
}

.about-content {
    text-align: center;
}

/* Design #06에서 수정 */
.about-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* Design #06에서 추가 */
.about-nav .nav-button {
    padding: 10px 50px;
    /* 버튼 크기 키우기 */
    margin-bottom: 25px;
    /* nav-button 아래 여백 추가 */
    white-space: nowrap;
}

/* Design #06에서 추가 */
.club-intro p2 {
    line-height: 2.3;
    margin: 0 auto 30px;
    max-width: 900px;
    text-align: center;
    font-size: 1em;
}

/* Design #06에서 추가 */
.quote-title {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    color: #555;
    margin: 40px 0 15px;
    font-style: italic;
}

.club-intro h3 {
    margin-bottom: 50px;
    /* 제목과 본문 간 간격 */
    margin-top: 90px;
    /* 상단 내용과의 간격 */
    text-align: center;
    /* 텍스트 정렬 방법 */
    font-size: 2em;
}

.club-intro p {
    line-height: 2.3;
    margin: 0 auto 30px;
    max-width: 900px;
    text-align: left;
    font-size: 1.1em;
}

.intro-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.card {
    background-color: #e1e6f6;
    padding: 30px;
    border-radius: 45px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
}

.inner-card {
    background-color: #d7d7d7;
    padding: 30px;
    border-radius: 45px;
}

.icon-container {
    padding: 20px;
    width: 120px;
    border-radius: 20px;
    margin: 0 auto 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #aebef1;
}

.icon {
    font-size: 1em;
}

.intro-history-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 70px auto 15px;
}

.intro-history-card {
    position: relative;
    background: #e1e6f6;
    border-radius: 36px;
    width: 87%;
    padding: 24px 24px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-history-line {
    position: absolute;
    left: 16px;
    /* 아이콘 전체 높이(기본 120px)*/
    top: calc(var(--icon-total-height, 120px) - 10px);
    bottom: 24px;
    width: 4px;
    background: #545454;
    border-radius: 2px;
}

.intro-history-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 15px 20px;
    text-align: left;
    font-size: 1rem;
    box-sizing: border-box;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    justify-items: center;
    margin-top: 40px;
}

.leader-card {
    background-color: #e1e6f6;
    border-radius: 25px;
    padding: 20px;
    width: 320px;
    height: 180px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 아바타 (초록 원) */
.leader-card .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #5fd35f;
    flex-shrink: 0;
}

/* 카드 본문 */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* 이름 */
.card-body .name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

/* 역할 */
.card-body .role {
    font-size: 0.9rem;
    color: #696969;
    margin: 4px 0;
}

/* 설명 */
.card-body .desc {
    font-size: 0.85rem;
    color: #333;
    margin: 4px 0 8px;
    line-height: 1.3;
    text-align: center;
    /* 가운데 정렬 */
}

/* 버튼 행 */
.btn-row {
    display: flex;
    justify-content: center;
    /* 버튼들을 가운데로 */
    gap: 10px;
}

.pill {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 5px 40px;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 바깥 회색 캡슐 */
.learning-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 80px;
    background: #e1e6f6;
    border-radius: 44px;
    padding: 56px 48px;
    /* 좌우/상하 여백 */
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 정확히 3열(개수 늘면 다음 행으로) */
.learning-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    /* 가로 간격 */
    row-gap: 20px;
    /* 세로 간격 */
    align-items: stretch;
}

/* 각 칸 */
.learning-card {
    background: transparent;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 160px;
}

/* 흰색 캡슐 카드(컬럼 폭 100% 채움) */
.learning-card-inner {
    width: 100%;
    background: #ffffff;
    border-radius: 28px;
    padding: 36px 36px 40px;
    box-sizing: border-box;
}

.learning-title {
    margin: 0 0 20px 0;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #666666;
}

.learning-desc {
    margin: 0;
    /* font-weight: 400; */
    font-size: 0.9rem;
    /* line-height: 32px; */
    color: #555555;
    word-break: keep-all;
}

.learning-card-inner p3 {
    font-size: 0.9rem;
}

/* 바깥 회색 캡슐 */
.indicator-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
    background: #e1e6f6;
    border-radius: 44px;
    padding: 40px 48px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 2열 그리드 */
.indicator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 48px;
    /* 행, 열 간격 */
}

/* 흰색 카드 */
.indicator-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 32px;
    box-sizing: border-box;
}

/* 타이틀 */
.indicator-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #222;
}

/* 본문 */
.indicator-desc {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* Design #06에서 수정 */

/* Activities Section */
.activities-section {
    padding: 50px 0;
    background-color: #ffffff;
}

.activities-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.activities-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    /* 가로 간격 */
    row-gap: 1px;
    /* 세로 간격 */
    align-items: stretch;
}

.activity-card {
    background-color: #e1e6f6;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 40px;
}

.status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.8em;
}

.status.ongoing {
    background-color: #28a745;
}

.status.recruiting {
    background-color: #007bff;
}

.status.scheduled {
    background-color: #ffc107;
}

.status.done {
    background-color: black;
}

.card-content h4 {
    margin-top: 0;
    font-size: 1.2em;
}

.card-content p {
    margin: 5px 0;
    color: #666;
}

.detail-button {
    background-color: #0E4A84;
    color: #fff;
    border: none;
    padding: 10px 0;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

/* Recruitment Section */
.recruitment-section {
    padding: 50px 0;
    text-align: center;
}

.recruitment-section h3 {
    font-size: 2em;
}

.recruitment-nav {
    display: flex;
    flex: 0 0 20px;
    height: 50px;
    justify-content: center;
    gap: 80px;
    margin-bottom: 30px;
}

/*Design-08 모집안내 간격 수정*/

.recruitment-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 36px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 40px auto 0px;
}

/*Design-08 모집안내 디자인 추가*/

.recruitment-card {
    position: relative;
    background: #e1e6f6;
    border-radius: 36px;
    width: 100%;
    padding: 24px 24px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.recruitment-line {
    position: absolute;
    left: 16px;
    top: 24px;
    bottom: 24px;
    width: 4px;
    background: #545454;
    border-radius: 2px;
}

.recruitment-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 15px 20px;
    text-align: left;
    font-size: 1rem;
    box-sizing: border-box;
}

/*Design-08 모집안내 박스 추가*/

.recruitment-card h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.two-cards {
    display: flex;
    gap: 40px;
    padding: 40px;
    width: 80%;
    height: 250px;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
}

.two-cards-1 {
    margin-bottom: 100px;
    padding: 0px 40px 40px;
}

.outer-card {
    background: #e1e6f6;
    border-radius: 15px;
    padding: 10px 10px; /*feat05 수정*/
    flex: 1;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex; /* feat 05 추가*/
    flex-direction: column; /* feat 05 추가 */
    align-items: flex-start; /* feat 05 추가 */
}

.card-label {
    background: white;
    border-radius: 15px;
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 10px;
    font-weight: bold;
    margin-left: 0;
}

.card-label-1 {
    background: #aebef1;
    color: black;
}

/*Design-11 card-label 수정 및 색 추가*/
/*Desing-14 색 전면 수정*/

.inner-card {
    background: white;
    border-radius: 20px;
    padding: 20px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1; /* feat 05 추가 */
}

.inner-card h2 {
    margin: 0px;
}

.inner-card h4 {
    font-size: 1.3rem;
    margin: 0px;
    text-align: center;
}

.inner-card p {
    font-size: 1.1rem;
}

/*Design-08 하단 박스 2개 추가*/

.apply-card {
    position: relative;
    background: #e1e6f6;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    width: 73%;
    margin: 40px auto 80px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.apply-card p {
    font-size: 1.3em;
}

.apply-box {
    background: #e1e6f6;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin: 40px auto 0px;
    padding: 24px;
    box-sizing: border-box;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.apply-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.apply-circle {
    background: #ffffff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 28px;
    flex: 0 0 100px;
}

.apply-order {
    background: #ffffff;
    border-radius: 15px;
    padding: 16px 20px;
    box-sizing: border-box;
    flex: 1;

    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.apply-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.apply-button {
    background: transparent;
    border: 2px solid #545454;
    border-radius: 25px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 1rem;
    color: #000;       /* 글자색을 검정으로 고정 */
    text-decoration: none; /* 밑줄 제거 (혹시 들어가면) */
}

.FAQ-card {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    padding: 28px 32px;
    text-align: left;
    width: 85%;
    margin: 0 auto;
    margin-bottom: 20px;
}

/*Desing-11 지원자격부분 추가*/
/*Desing-13 FAQ부분 추가*/

/* Notices Section */
.notices-section {
    padding: 50px 0;
    background-color: white;
}

.notices-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.notices-sort {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.sort-button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9em;
}

.sort-button.active {
    background-color: #0E4A84;
    color: #fff;
    border-color: #0E4A84;
}

/* 기존 .notices-list, .notice-item 관련 스타일을 제거하거나 수정합니다 */

.notices-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.notices-table th,
.notices-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.notices-table th {
    background-color: white;
    font-weight: 700;
}

.notices-table tr:hover {
    background-color: #f9f9f9;
}

/* 8/17 수정 */
.notice-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-align: center;
    white-space: nowrap; /*feat 05 추가*/
}

.notice-tag.event {
    background-color: #3498db;
}

.notice-tag.recruitment {
    background-color: #2ecc71;
}

.notice-tag.etc {
    background-color: #95a5a6;
}

/***************************************************/

/* Past Events Section */
.past-events-section {
    padding: 30px 0;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/*Fix08 사진*/

.event-image-placeholder {
  width: 100%;
  height: 250px;
  background-color: #e1e6f6;
  margin-bottom: 15px;
  border-radius: 2.5%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 이미지를 잘라내며 꽉 채우기 */
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    color: #555;
    background-color: #e9e9e9;
    border-radius: 5px;
    margin: 0 5px;
}

.pagination a.active {
    background-color: #0E4A84;
    color: #fff;
}

/* Common Button Style */
.nav-button {
    background-color: #e1e6f6;
    border: none;
    padding: 10px 40px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    color: black;
    white-space: nowrap;
}

/* Common Button Style */
.nav-button {
    background-color: #e1e6f6;
    border: none;
    padding: 10px 40px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    color: black;
}

.nav-button:hover {
    background-color: #0E4A84;
    color: #fff;
}

.nav-button.active {
    background-color: #0E4A84;
    color: #fff;
}

/* Footer */
.footer {
    background-color: #0E4A84;
    color: #fff;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 16px;
}

.footer p {
    margin: 0;
}

/* Top: copyright */
.footer-top {
    display: flex;
    justify-content: space-between;
    /* 왼쪽 정렬 */
    align-items: center;
}

/* Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

/* Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-detail {
    line-height: 1.7;
}

/* 회장/부회장 블럭 */
.contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-block h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 4px 0;
}

.contact-block p {
    margin: 0;
    line-height: 1.6;
    white-space: nowrap;
}

strong {
    font-weight: 900;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    /* border-radius: 8px; */
    /* 모서리 둥글게 */
    background-color: #0E4A84;
    /* 푸터랑 같은 배경 */
    color: #fff;
    /* 아이콘 흰색 */
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon-leader {
    background-color: #ffffff;
    color: black;
    width: 20px;
    height: 19px;
}

/* .footer-content span {
    white-space: nowrap;
} */

.top-header {
    position: relative;
    /* ::before 기준 */
    overflow: hidden;
    /* 블러된 배경이 밖으로 삐져나오는 것 방지 */
    /* display: block;
    background-color: #e1e6f6; */
    color: #ffffff;
    padding: 6rem 3rem;
    text-align: center;
    /* border-radius: 0 0 8px 8px; */
    /* 아래쪽 모서리 둥글게 */
    height: 250px;
    /* 세로 길이 고정 */
    justify-content: center;
    /* 글씨를 수직 중앙 정렬 */
}

/*Design-18 이미지 넣기*/
.top-header::before {
    content: '';
    position: absolute;
    inset: 0;
    /* top/right/bottom/left: 0 */
    background: url('images/index-background2.jpg') center / cover no-repeat;
    filter: blur(6px);
    transform: scale(1.05);
    /* 블러 가장자리 비치는 거 방지용 살짝 확대 */
    z-index: 0;
    /* 음수 X */
}

/* 자식 요소를 위로 올리기 */
.top-header > * {
    position: relative;
    z-index: 1;
}
/*Design-14 색수정*/

.top-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.top-subtitle {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    color: white;
}

.quoteidx-block {
    max-width: 1100px;
    margin: 0px auto;
    text-align: center;
    padding: 0 30px;
}

.quoteidx-title {
    position: relative;

    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1.25;
    font-size: clamp(30px, 5vw, 43px);
    padding: 0px;
    font-style: normal;
    margin-bottom: 80px;
}

.quoteidx-title::before {
    content: '';
    position: absolute;
    height: 2px;
    background: #333;
    width: 60%;
    top: -40px;
    left: 0;
}

/* 아래 선 (p 태그 밑에) */
.quoteidx-desc::after {
    content: '';
    position: absolute;
    height: 2px;
    background: #333;
    width: 60%;
    bottom: -40px;
    right: 0;
}

.quoteidx-mark {
    font-weight: 300;
    opacity: 0.7;
    margin: 0 0.05em;
}

.quoteidx-desc {
    margin-top: 28px;
    font-size: clamp(14px, 2.2vw, 20px);
    color: #333;
    line-height: 1.8;
    position: relative;
}

.core-values {
    display: flex;
    flex-direction: column;
    /* 세로 배치 */
    align-items: center;
    /* 가운데 정렬 */
    text-align: center;
    gap: 0px;
}

.bottom-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
}

/* 공통 도형 */
.shape {
    width: 300px;
    height: 300px;
    padding: 10px;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

/* 원형 */
.circle {
    background: #c2dcff;
    border-radius: 50%;
    margin-top: 60px;
    margin-bottom: -130px;
    margin-left: -120px;
}

/* 사다리꼴 */
.trapezoid {
    background: #e8e6cf;
    width: 350px;
    height: 230px;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
    margin-right: -20px;
    margin-top: 100px;
}

/* 삼각형 */
.triangle {
    width: 400px;
    height: 400px;
    background: #6d82e5;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    text-align: center;
    margin-left: -50px;
}

/* 가운데 로고 */
.center-logo {
    width: 250px;
    height: 150px;
    background: black;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 30px;
    margin-right: -20px;

    /* 피크 모양 */
    clip-path: polygon(0% 50%, 85% 0%, 100% 50%, 85% 100%);
    border-radius: 50px;
}

.core-title {
    color: white;
    font-size: 23px;
    padding: 0px;
    margin: 0px;
}

.core-text {
    font-size: 23px;
    font-weight: 500;
}

.trapezoid-text {
    padding-right: 40px;
}

.triangle-text {
    padding-top: 10px;
    scale: 0.95;
}

.own-title {
    margin-top: 100px;
}

:root {
    --brand: #0E4A84;
    --bg-soft: #e1e6f6;
    --text: #222;
    --muted: #6b7280;
    --white: #fff;
    --radius: 1em; /* px 대신 em */
    --radius-sm: 0.75em;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --page-pad: 40px; /* 화면 가장자리 여백 */
}

/* 카드 전체 */
.recruit-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    box-sizing: border-box; /* 패딩 포함 폭 계산 */
    width: min(calc(100% - 80px), 1200px); /* 좌우 40px 여백 유지 */
    min-height: calc(100vh - 80px); /* 위아래 40px 여백 유지 */
    margin: var(--page-pad) auto;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;

    /* ✨ 폰트 크기 자동 스케일 */
    font-size: clamp(14px, 1.2vw + 0.5rem, 22px);

    padding: 3em 2em;
}

/* 상단 타이틀 (하얀 알약모양) */
.recruit-title {
    display: inline-block;
    margin: -0.5em auto 2em; /* 살짝 위로 당기고 아래 여백 */
    background: #fff;
    color: #000;
    padding: 0.6em 1.4em;
    border-radius: 10px;
    font-size: 1.25em;
    font-weight: 700;
}

/* 달력/마감 + 배지 */
.recruit-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-bottom: 2em;
}

.deadline {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: #111;
    font-weight: 500;
    font-size: 25px;
}

.notice-detail-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    background: white;
    border-radius: 14px;
    box-sizing: border-box;
    font-family: system-ui, 'Noto Sans KR', Arial, sans-serif;
    color: #111;
}

/* 상단 타이틀 */
.notice-detail-title {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 14px 18px;
    font-size: 20px;
    font-weight: 600;
    margin: 6px 8px 18px;
}

/* 정보 pill 3개 */
.notice-detail-pills {
    display: flex;
    gap: 10px;
    padding: 0 5px 10px;
    margin-bottom: 30px;
}

.notice-detail-pill {
    flex: 1 1 25%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) inset;
    color: black;
    width: 50px;
    height: 20px;
}

.notice-detail-pill svg {
    color: #111;
    flex: 0 0 auto;
}

.notice-detail-pill-text {
    font-size: 15px;
    font-weight: 600;
}

.notice-detail-content {
  padding: 8px 10px 2px;
  line-height: 1.8;
  color: #222;
  font-size: 16px;
  text-align: left;
  white-space: pre-line;
}

.notice-detail-content .nd-paragraph {
  margin: 0 0 12px;
  white-space: pre-line;  /* 줄바꿈(\n)을 <br>처럼 표시 */
}

.notice-detail-content h3,
.notice-detail-content h4 {
    margin: 20px 0 10px;
    font-weight: 700;
    line-height: 1.4;
}

.notice-detail-content ul,
.notice-detail-content ol {
    padding-left: 20px;
    margin: 10px 0 12px;
}

.notice-detail-content li {
    margin: 6px 0;
}

/* --- 공지 본문 래퍼(좌우 5px로 pills와 일치) --- */
.notice-detail-body {
    width: 100%;
    margin: 0 auto; /* ✅ pills의 padding 좌우 5px과 일치 */
}

/* --- 공지문(포멀) 스타일 --- */
.notice-paper {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
    line-height: 1.9;
    color: #222;
    text-align: left;
    font-size: 15.5px;
}

/* 제목/머리말 */
.notice-paper .np-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eceff4;
    padding-bottom: 8px;
}
.notice-paper .np-title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.2px;
}
.notice-paper .np-meta {
    font-size: 13px;
    color: #6b7280;
}

/* 본문 타이틀/문단 */
.notice-paper h3,
.notice-paper h4 {
    margin: 20px 0 10px;
    font-weight: 700;
    line-height: 1.5;
}
.notice-paper p {
    margin: 0 0 12px;
}

/* 리스트 */
.notice-paper ul,
.notice-paper ol {
    margin: 10px 0 12px 20px;
}
.notice-paper li {
    margin: 6px 0;
}

/* 바닥글(문의/담당) */
.notice-paper .np-footer {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #4b5563;
}

/* pill 안 링크를 '그냥 텍스트'처럼 보이게 */
.notice-detail-pill .pill-link {
    flex: 1 1 auto;
    min-width: 0;
    color: inherit; /* pill의 글자색 따라감 */
    text-decoration: none; /* 기본은 밑줄 없음 */
    overflow: hidden; /* 너무 길면 말줄임 */
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer; /* 손가락 커서 */
}

/* 호버 시만 살짝 강조(선택 사항) */
.notice-detail-pill .pill-link:hover {
    text-decoration: underline;
}

/* -------- CSS-only 모달 ( :target ) -------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.lightbox:target {
    display: flex;
}

.lightbox-content {
    max-width: min(92vw, 1100px);
    max-height: 86vh;
    background: white;
    border-radius: 12px;
    padding: 14px;
    box-sizing: border-box;
}

.badge-outline {
    border: 0.125em solid #a7b4ff;
    padding: 0.5em 1em;
    border-radius: 0.6em;
    font-weight: 900;
    background: transparent;
    color: var(--brand);
    cursor: default;
    font-size: 20px;
}

/* 안쪽 흰 패널 */
.recruit-body {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1.5em;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em 2em;
    margin-top: 5em;
}

/* 각 컬럼 */
.recruit-col h4 {
    margin: 0 0 0.75em;
    font-size: 1em;
    font-weight: 700;
}

/* 리스트 공통 */
.list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5em;
}

/* 체크/별 아이콘 */
.list-check li,
.list-star li {
    position: relative;
    padding-left: 1.8em;
}

.list-check li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(0.15em);
    font-weight: 700;
}

.list-star li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(0.15em);
    font-weight: 700;
}

/* 반응형 */
@media (max-width: 640px) {
    .recruit-body {
        grid-template-columns: 1fr;
    }

    .recruit-meta {
        flex-direction: column;
        gap: 0.6em;
    }
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
    user-select: none;
}

.pagination-inner {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #d7dbe8;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
}

.page-btn:hover {
    border-color: #0E4A84;
}

.page-btn.active {
    background: #0E4A84;
    color: #fff;
    border-color: #0E4A84;
}

.page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.detail-header {
    text-align: left;
}

.info-section {
    margin: 40px auto;
    max-width: 1000px;
    padding: 20px;
}

.info-box {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    width: 100%; /* Fix-14 */
    box-sizing: border-box; /* Fix-14 */
    /* 제목 기본 왼쪽 */
}

.info-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 x 2 레이아웃 */
    gap: 24px;
    grid-auto-rows: 300px;
}

.info-card {
    background: #e1e6f6;
    /* 연한 파랑 배경 */
    border-radius: 16px;
    padding-right: 80px;
    padding-top: 50px;
    padding-left: 80px;
    padding-bottom: 20px;
    text-align: center;
    /* 제목 기본 왼쪽 */
    height: 170px;
}

/* 제목은 왼쪽 정렬 */
.info-card h3 {
    margin-bottom: 16px;
    font-size: 1.2em;
    font-weight: 700;
    color: #333;
    text-align: left;
}

.second {
    margin-bottom: -100px;
}

/* 카드 안 컨텐츠 중앙 정렬 */
.info-subgrid,
.info-subbox,
.contact-flex {
    text-align: center;
}

.info-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    justify-items: center;
    align-items: stretch;
}

.info-subbox {
    background: #fff;
    border-radius: 15px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.info-subbox h4 {
    margin-bottom: 8px;
    font-size: 1em;
    font-weight: 600;
}

/* 버튼형 뱃지 */
.badge {
    display: inline-block;
    background: #004aad;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    font-size: 0.9em;
}

/* 리스트 스타일 */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    /* 리스트는 계속 왼쪽 정렬 */
}

.custom-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 28px;
    counter-increment: item;
}

.custom-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: #004aad;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 담당자 카드 */
.contact-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 5px;
}

.avatar-mentor {
    width: 90px;
    /* 원하는 크기 */
    height: 90px;
    /* 원형 바깥 잘림 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar img {
    width: 90%;
    height: 90%;
    object-fit: cover; /* 사진 비율 유지하면서 채우기 */
}

/* 준비사항 / 활동소개의 흰 박스 2개를 동일 너비로 */
.info-subgrid,
.info-sub {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 두 칸을 50:50 */
    gap: 12px;
}

/* 흰 박스가 늘어나면서 같은 너비 유지 */
.info-subgrid > .info-subbox,
.info-sub > .info-subbox {
    width: 100%; /* 부모가 분배한 만큼 꽉 채우기 */
    box-sizing: border-box;
}

/* info-card 안에 대표 이미지가 들어올 때 박스 크기에 맞게 */
.info-box.gallery .info-card {
    position: relative;
    width: 100%;
    height: 100%;
    /* 부모 info-box 높이에 맞춤 */
    padding: 0;
    /* 여백 제거 */
    overflow: hidden;
    /* 넘치는 부분 잘라내기 */
    box-sizing: border-box;
}

.info-box.gallery .info-card .event-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 비율 유지하며 꽉 채우기 */
    border-radius: 16px;
    /* info-card와 동일 라운드 */
    display: block;
    box-sizing: border-box;
}

/* 대표 이미지 상자(큰 사진) */
.event-cover-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.event-cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 필요시 4/3, 21/9로 바꿔도 됨 */
    object-fit: cover;
    /* 박스에 꽉 차게 */
    cursor: zoom-in;
    /* 확대 가능 표시 */
}
