@charset "utf-8";

/* ////////////////////// 총동창회 > 회장인사말 ////////////////////// */
.greet-wrap {
  max-width: 1170px;
  margin: 0 auto;
  padding: 3rem 1rem;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
  line-height: 1.7;
  font-size: 1rem;
  background-color: #f9fafa;
}

.greet-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: #002b5c;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.7rem;
}

.greet-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.greet-photo img {
  width: 160px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border: 1px solid #bbb;  /* 테두리 색상 추가 */
}

.greet-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #444;
}

.greet-content p {
  margin-bottom: 1.2rem;
}

.greet-sign {
  text-align: right;
  margin-top: 2.5rem;
}

.greet-sign img {
  height: 60px;
  width: auto;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .greet-box {
    flex-direction: column;
    text-align: center;
  }

  .greet-photo img {
    width: 120px;
  }

  .greet-lead {
    font-size: 1rem;
  }

  .greet-sign {
    text-align: center;
  }
}


/* ////////////////////// 총동창회 > 동창회칙 ////////////////////// */

.alumni-rules-wrap {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0px 0px;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
  line-height: 1.8;
}

.alumni-rules-wrap h2,
.alumni-rules-wrap h3 {
  margin-top: 2em;
  font-weight: bold;
  color: #222;
}

.alumni-rules-wrap h2 {
  font-size: 1.8em;
  border-bottom: 2px solid #888;
  padding-bottom: 0.3em;
}

.alumni-rules-wrap h3 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
}

.alumni-rules-wrap p {
  margin: 0.5em 0;
}

.alumni-rules-wrap ul {
  padding-left: 1.5em;
  margin: 0.5em 0;
}

.alumni-rules-wrap li {
  margin-bottom: 0.4em;
}

.alumni-rules-wrap .chapter-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 2em;
  border-left: 5px solid #005bac;
  padding-left: 10px;
  color: #005bac;
}

.alumni-rules-wrap .article {
  margin-top: 1em;
}

.alumni-rules-wrap .sub-article {
  margin-left: 1em;
}

.alumni-rules-wrap pre {
  white-space: pre-wrap;
  font-size: 1em;
  line-height: 1.9;
  font-family: inherit;
}

@media screen and (max-width: 768px) {
  .alumni-rules-wrap {
    padding: 20px 10px;
  }
  .alumni-rules-wrap h2 {
    font-size: 1.4em;
  }
  .alumni-rules-wrap h3 {
    font-size: 1.1em;
  }
}


/* ////////////////////// 총동창회 > 연혁 ////////////////////// */
.history-container {
    display: flex;
    max-width: 1170px;
    margin: 0 auto;
    gap: 30px;
}

.history-image {
    flex-shrink: 0;
    width: 220px;
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
}

.history-wrap {
    flex: 1;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 20px;
}

.history-wrap h1 {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

.history-year-group {
  margin-bottom: 30px;
}

.history-year {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  border-left: 6px solid #007acc;
  padding-left: 12px;
  margin-bottom: 12px;
}

.history-item {
  display: flex;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid #ccc;
  margin-bottom: 8px;
}

.history-date {
  width: 60px;
  color: #888;
  font-weight: 600;
}

.history-desc {
  flex: 1;
  color: #333;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .history-container {
        flex-direction: column;
        align-items: center;
    }

    .history-image {
    	display: none !important;
    }

    .history-wrap {
        width: 100%;
    }
}



/* ////////////////////// 역대회장 ////////////////////// */
.president {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
}

.president h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 600;
}

.presidentGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.presidentList {
  width: 200px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

.presidentList img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.presidentList img:hover {
  transform: scale(1.05);
}

.presidentList span {
  display: block;
  margin-top: 10px;
  font-weight: 400;
}

.presidentList b {
  color: #1e55a1;
}






/* ////////////////////// 총동창회 > 동문찾기 ////////////////////// */
.alumni-search-wrap {
  max-width: 1170px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
  background-color: #fff;
}

.alumni-search-wrap form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 1rem;
}

.alumni-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.alumni-search-form select,
.alumni-search-form input[type="text"] {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 34px;
}

.alumni-search-form input[type="submit"] {
  padding: 6px 16px;
  background: #333;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.alumni-search-form input[type="submit"]:hover {
  background: #000;
}

.alumni-select {
    height: 30px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    appearance: none; /* 기본 화살표 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23666' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

/* 검색결과 테이블 */
.alumni-result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 1rem;
  border: 1px solid #ccc;
}

.alumni-result-table th,
.alumni-result-table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
  background-color: #fff;
}

.alumni-result-table th {
  background-color: #f1f1f1;
  font-weight: bold;
}

.alumni-result-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}

.alumni-result-table a {
  color: #2c3e50;
  text-decoration: none;
}
.alumni-result-table a:hover {
  color: #005bac;
  text-decoration: underline;
}

/* VIP 라벨 */
.vip-label {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 5px;
}

/* 메시지 출력 */
.alumni-message {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 16px;
  color: #666;
}

/* 반응형 대응 */
@media screen and (max-width: 768px) {
  .alumni-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .alumni-search-form select,
  .alumni-search-form input[type="text"],
  .alumni-search-form input[type="submit"] {
    width: 100%;
  }

  .alumni-result-table th,
  .alumni-result-table td {
    font-size: 13px;
    padding: 8px;
  }
}

/* 검색 폼 전체 정렬 */
.alumni-search-wrap form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 1rem;
}

/* 총검색 텍스트 위치 보정 */
.alumni-search-wrap form > .search-count {
  font-size: 14px;
  margin-right: auto;
  line-height: 36px;
}

/* 셀렉트 박스 너비 고정 */
.alumni-search-wrap select.alumni-select {
  width: 110px;
  padding: 5px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* 인풋, 버튼 스타일 */
.alumni-search-wrap input[type="text"],
.alumni-search-wrap input[type="submit"] {
  height: 36px;
  padding: 0 8px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* 버튼 스타일 */
.alumni-search-wrap input[type="submit"] {
  background: #565656;
  color: white;
  min-width: 80px;
  cursor: pointer;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .alumni-search-wrap form {
    flex-direction: column;
    align-items: stretch;
  }

  .alumni-search-wrap form > .search-count {
    align-self: flex-start;
    margin-bottom: 4px;
  }
  .alumni-search-wrap select.alumni-select {
    width: 70px;
  }

  .alumni-search-wrap input[type="text"]{
    width: 100px;
  }
}