/* 발전기금 전체보기 */
.development-fund-layout {
  width: 100%;
  height: auto;
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: minmax(447px);
  gap: 30px;
}

.card {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  gap: 30px;
  cursor: pointer;
  margin-bottom: 100px;
}

.development-fund-layout .img-section {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.development-fund-layout .img-section img {
  width: 100%;
  height: auto;
  max-width: 380px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  object-fit: cover;
}

.development-fund-layout .text-section span {
  color: #000;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  /* 150% */
  letter-spacing: -0.48px;
  font-style: normal;
}

/* 발전기금 상세 */
.development_fundDetail .whiteBox {
  margin: 4.375rem 0;
}

.development_fundDetail img {
  margin: 0 auto;
  display: block;
}

/* 기금방법 */

/* #region 기부하기 */
.donation-wrapper {
  width: 100%;
  height: auto;
  padding: 1.5625rem 7.375rem;
}

.donation-background {
  position: relative;
  z-index: 1;
}

.donation-background-box {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}
.donation-background-box img {
  width: 100%;
  height: 2700px;
  object-fit: cover;
}

.donation-layout {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.donation-header {
  width: 100%;
  height: auto;
}

.donation-header .donation-header__box {
  background: var(--primary-color);
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 700px;
}

.donation-header .donation-header__box h2 {
  color: #fff;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 38px;
  font-style: normal;
}

.donation-body {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.donation-body__box {
  width: 100%;
  height: auto;
  height: auto;
  /* padding-left: 3.5rem; */
  /* padding-right: 8.75rem; */
  /* padding-bottom: 2.75rem; */
  /* padding: 50px; */
  padding: 3.125rem;
  display: flex;
  justify-content: center;
  max-width: 700px;
  min-height: 300px;
  /* padding-right: 138px; */
  flex-direction: column;
  background-color: var(--white-color);
  /* gap: 30px; */
}
.donation-body__box:nth-child(1) {
  gap: 10px;
}

.donation-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.donation-body__box .donation-title-box h3 {
  margin-bottom: 0;
}

.donation-info-btn {
  color: #999;
  width: 24px;
  height: 24px;
  border: 1px solid #999;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 50%;
  cursor: pointer;
}

.donation-info-box {
  width: max-content;
  border: 1px solid #999;
  padding: 10px;
  position: absolute;
  top: -30px;
  left: 25px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.donation-info-btn:hover .donation-info-box {
  opacity: 1;
}

.donation-body__box h3 {
  color: #222;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 38px;
  font-style: normal;
  margin-bottom: 14px;
  /* 190% */
}

.donation-body__input-group {
  width: 100%;
  height: 100%;
  display: grid;
  /* align-items: center; */
  /* grid-template-columns: 70px 1fr; */
  grid-template-columns: 120px 1fr;
  gap: 48px;
}
.label-start label {
  align-self: start;
}

.input-group__content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.input-group__span {
  padding: 0 1rem;
  display: flex;
  background-color: #ededed;
  flex-grow: 1;
}
.input-group__content span {
  color: #666;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: normal;
}

.donation-body__input-group label {
  color: #666;
  font-size: 16px;
  font-weight: normal;
  line-height: 38px; /* 237.5% */
  min-width: 80px;
  font-style: normal;
}
.donation-body__input-group .title {
  font-weight: 600;
}

.donation-body__input-group input,
.donation-body__input-group input[type="password"] {

  color: #666;
  font-size: 18px;
  font-weight: normal;
  line-height: 50px; /* 277.778% */
  width: 100%;
  height: 45px;
  border: 1px solid #cacaca;
  /* flex-grow: 1; */
  padding-left: 1.125rem;
  font-style: normal;
}
.donation-body__input-group input:read-only {
  background-color: #f0f0f0;
}

.input-group__content input {
  width: 50px;
  min-width: 30px;
  text-align: center;
  padding-left: 0;
}

.donation-body__input-group select {
  color: #666;

  font-size: 18px;
  font-weight: 500;
  width: 100%;
  height: 45px;
  border: 1px solid #cacaca;
  flex-grow: 1;
  padding-left: 1.125rem;
  font-style: normal;
}

.donation-body__radio-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 22px;
}

.donation-body__radio-group label {
  word-break: keep-all;
}

.donation-body__radio-group .radio-group__btn {
  color: #666;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 45px;
  line-height: 36px;
  line-height: 45px;
  text-align: center;
  width: 100%;
  height: 45px;
  border: 1px solid #cacaca;
  display: block;
  /* max-width: 182px; */
  font-style: normal;
  /* 200% */
}

.box__agreement {
  height: 100%;
  gap: 38px;
}

.donation-body__box:nth-child(3) {
  height: 100%;
  gap: 0;
}

.donation-agreement:nth-child(1) {
  margin-bottom: 18px;
}
.donation-agreement:nth-child(2) {
  margin-bottom: 10px;
}

.donation-agreement:nth-child(1) label {
  color: #222;
  font-size: 1rem;
  font-weight: 600;
  font-style: normal;
  /* 237.5% */
}

.donation-agreement label {
  color: #666;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  /* 237.5% */
}

.donation-payment {
  width: 100%;
  display: flex;
  justify-content: center;
}

.donation-payment button {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 36px;
  width: 220px;
  height: 60px;
  border: none;
  background-color: var(--primary-color);
  font-style: normal;
  /* 200% */
}

/* radio-group__btn 활성화 상태 스타일 */
.donation-body__radio-group input[type="radio"]:checked + .radio-group__btn {
  /* 파란색 배경 */
  color: white;
  background-color: var(--sky-color);
  /* 텍스트 색상 변경 (선택 사항) */
  border-color: var(--sky-color);
  /* 테두리 색상 변경 (선택 사항) */
}

.donation-body__radio-group input {
  width: 16px;
  height: 16px;
}

.donation-body__box .donation-body__input-group .donation-btns button {
  color: #009fe3;
  font-size: 1rem;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
  /* width: 86.398px; */
  border: none;
  margin-top: 11px;
  background-color: #ddf5ff;
  font-style: normal;
  /* 225% */
}
.input-group__button-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.donation-type-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.input-group__button-box button {
  width: 100%;
  height: 100%;
}

.none {
  display: none;
}

/* 기본 스핀 버튼 숨기기 */
input[type="number"] {
  -moz-appearance: textfield;
  /* Firefox */
  -webkit-appearance: none;
  /* Chrome, Safari, Edge */
  appearance: none;
  /* 표준 속성 */
}

/* 스핀 버튼 제거를 위한 추가 스타일 (크로스 브라우저 호환) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* #endregion */

/* 참여방법(약정서) */
.agreement .sub_whiteBox_title {
  margin-bottom: 34px;
}

.agreement .btn {
  margin-top: 20px;
}

.agreement .sub_contents > div {
  padding-bottom: 80px;
  margin-bottom: 80px;
}

.agreement .sub_contents > div:last-child {
  margin: 0;
  padding: 0;
}

/* 기부하기 모달창 */
.donation-modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.donation-modal-content {
  width: 80%;
  margin: 10% auto;
  border: 1px solid #888;
  padding: 20px;
  position: relative;
  background-color: #fff;
  max-width: 500px;
  border-radius: 8px;
}

.donation-close-button {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  float: right;
  cursor: pointer;
}

.donation-close-button:hover,
.donation-close-button:focus {
  color: black;
  text-decoration: none;
}

/* 참여방법(기부하기) */
.donate-layout {
}

.donate-wrapper {
}

.donate-wrapper .gap-wrapper {
  gap: 100px;
}

.donate_donation_account_wrapper {
  margin-top: 20px;
  margin-bottom: 100px;
}

.donate_donation_account_wrapper .donation_account {
  height: 240px;
  padding: 3.75rem 1.25rem;
  display: flex;
  justify-content: start;
  align-items: center;
  background-color: #eff4f6;
  box-shadow: none;
  gap: 70px;
}

.donate_donation_account_wrapper .donation_account img {
  margin: 0;
  transform: scale(80%);
}

.donate-wrapper h1 {
  color: #000;
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 2.125rem;
}

.donate-wrapper h1 strong {
  color: #009fe3;
  font-size: 1.875rem;
  font-weight: 500;
}

.donate-wrapper p {
  color: #666;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 36px;
  /* 180% */
  letter-spacing: -0.4px;
  font-style: normal;
}

.donate-wrapper .text-section__box {
  background: #eff4f6;
  width: 100%;
  height: auto;
  padding: 3.125rem 4.625rem;
  justify-content: flex-start;
  align-items: flex-start;
  border-radius: 10px;
  margin-top: 26px;
  margin-bottom: 45px;
}

.donate-wrapper .text-section__box h3 {
  color: #222;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: normal;
  font-style: normal;
  margin-bottom: 30px;
  word-break: keep-all;
}

.text-section__box p {
  font-size: 1.125rem;
  font-weight: normal;
  line-height: 1.7;
}

/* 기부내역 조회 관련 CSS는 donation_list.css로 이동됨 */

/* 세제혜택 */
.tax_benefits > p {
  margin-bottom: 5.375rem;
  word-break: keep-all;
}

.tax_benefits > h2 {
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.tax_benefits .common-table {
  margin: 25px 0 100px 0;
}

.tax_benefits .sub_contents p {
  margin-top: 20px;
}

/* Honors Club */
.honors_club img {
  width: 100%;
}

.honors_club div > h2 {
  font-size: 2.375rem;
  font-weight: 500;
  margin: 80px 0 10px 0;
}

.honors_club div > p,
.honors_club div > p span {
  font-size: 1.125rem;
}

.honors_wrap > div p {
  font-size: 1.125rem;
  line-height: 1.2;
  margin-top: 16px;
}

.honors_wrap > div p strong {
  color: #000;
  font-size: 1.25rem;
}

.honors_wrap {
  width: 100%;
  margin: 3rem 0 4.5rem 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.background-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* 배경 이미지: 컨테이너 너비에 맞춰 표시 */
.background-container img.honor-background {
  width: 100%;
  display: block;
}

/* 아이콘들을 오버레이할 영역: 배경 위에 절대 배치 */
.honor-icons {
  width: 100%;
  height: 100%;
  height: 65%;
  display: flex;
  align-items: center;
  position: absolute;
  top: 35%;
  left: 0;
  z-index: 2;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  /* 추가: 자식 요소가 튀어나오지 않도록 */
}

/* 아이콘 행 레이아웃 */
.row {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 아이콘 컨테이너: 내부에 겹치는 이미지를 배치 */
.image-container {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* 상단 행: 2개 아이콘 */
.row-top .image-container {
  max-width: 36%;
}

/* 하단 행: 3개 아이콘 */
.row-bottom .image-container {
  max-width: 30%;
}

/* 상단 아이콘: aspect-ratio 유지 */
.top-icon {
  width: 100%;
  position: relative;
  aspect-ratio: 409 / 388;
  /* 상단 아이콘의 비율 */
  /* 필요시 min-height 추가 가능: 예) min-height: 200px; */
}

/* 하단 아이콘: aspect-ratio 유지 */
/* 기존 픽셀 정의 제거 → 아래와 같이 통일 */
.bottom-icon {
  width: 100%;
  position: relative;
  aspect-ratio: 311 / 293;
  /* 하단 아이콘의 비율 */
}

/* 내부의 이미지들은 부모 컨테이너를 꽉 채우도록 설정 */
.top-icon img,
.bottom-icon img {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
}

/* 공통 아이콘 스타일: 컨테이너 내 절대 배치 및 전환 효과 */
.honor-icon {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* 기본 상태: action 이미지 숨김 */
.honor-action {
  opacity: 0;
}

/* hover 효과: 마우스 오버 시 action 이미지 보임 */
.image-container:hover .honor-action {
  opacity: 1;
}

.image-container:hover .honor-default {
  opacity: 0;
}

/* active 상태: 클릭 시 action 이미지 고정 표시 */
.image-container.active .honor-action {
  opacity: 1;
}

.image-container.active .honor-default {
  opacity: 0;
}

/* tier-section 스타일 (honor-item 목록) */
.tier-section {
  text-align: center;
  display: none;
  margin-top: 30px;
}

.honors_wrap {
  height: auto;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  justify-items: center;
  gap: 20px;
  margin-top: 20px;
}

/* 바뀐 honors-club Test */
.honor-container {
  /* 사진 원본사이즈 */
  width: 100%;
  height: auto;
  position: relative;
  aspect-ratio: 114 / 130;
  max-height: 1300px;
  background-image: url("../../img/honorsClub_img.jpg");
  background-repeat: no-repeat; /* 반복 방지 */
  background-position: center center; /* 중앙에 배치 */
  background-size: cover; /* 컨테이너 전체를 덮도록 크기 조절 */
  border-radius: 30px;
}

.honor-container__icon-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 10%;
  flex-direction: column;
  gap: 15px;
}
.honor-icon-container__top,
.honor-icon-container__bottom {
  width: 80%;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.honor-icon-container__bottom {
  width: 90%;
}

.honor-icon-container__top .honors-icon,
.honor-icon-container__bottom .honors-icon {
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 410px;
  opacity: 0.5;
  transition: opacity 0.2s;
  cursor: pointer;
}

.honors-icon:hover {
  opacity: 1;
}
.honors-icon.active {
  opacity: 1;
}

/* 표 형식 */

.honors_table {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}

/* 테이블 셀 스타일 */
.honors_table div {
  text-align: center;
  /* 텍스트 중앙 정렬 */
  padding: 10px;
  /* 셀 안의 여백 */
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
}

.honors_table div {
  width: auto;
}

/* 기본적으로 honor-item 숨김 */
.honor-item {
  text-align: center;
  width: 100%;
  display: none;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
}

.image-wrapper {
  width: 180px;
  height: auto;
  aspect-ratio: 9 / 11;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* 텍스트 영역: 나머지 공간 사용 */
.item-text {
  font-size: 0.875rem;
  /* 필요에 따라 조정 */
  line-height: 1.4;
  padding: 5px;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 기부자 명명권 예우 */
.donor-naming-layout {
}

.donor-naming__top {
  width: 100%;
  /* height: 232px; */
  /* padding: 2.25rem; */
  display: flex;
  justify-content: start;
  align-items: start;
  position: relative;
  /* background-color: #f2f5f9; */
  gap: 36px;
  margin-bottom: 5%;
}
.donor-naming__top img {
  box-sizing: border-box;
  height: 100%;
  object-fit: cover;
  /* 부모의 padding을 고려하여 이미지가 넘치지 않게 함 */
}

.donor-naming__body {
  width: 100%;
  height: auto;
  border: 1px solid #e2e2e2;
  /* 1000px */
  padding: 3rem 6.054%;
  border-radius: 20px;
}

.donor-naming__textbox {
  height: 100%;
  display: flex;
  justify-content: start;
  flex-direction: column;
}
.donor-naming__heading p {
  font-size: 1.375rem;
  margin-bottom: 15px;
  margin-top: -35px;
  font-weight: 600;
}
.donor-naming__textbox p {
}
.donor-naming__textbox h4 {
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.donor-naming__description {
  font-size: 1rem;
  line-height: 2rem;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.donor-naming__description p {
  font-size: 1.1875rem;
}

.donor-naming__bg-box {
  width: 84px;
  height: 80px;
  position: absolute;
  top: 0;
  right: 0;
  border-width: 14px 14px 0 0;
  border-style: solid;
  border-color: #1976d2;
}

.donor-naming__body__header {
}
.donor-naming__body__header img {
  width: 100%;
  border-radius: 20px;
}

.donor-naming__body__title {
  width: 100%;
  margin: 10px 0;
}

.donor-naming__body__title p {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 3.75rem;
}
.donor-naming__body__title img {
  width: 120px;
  height: auto;
  aspect-ratio: 1/1;
}
.donor-naming__body__desc p:nth-of-type(1) {
  font-size: 1.25rem;
  margin-bottom: 3%;
}
.donor-naming__body__desc p:nth-of-type(2) {
  font-size: 1.25rem;
  line-height: 1.625rem;
  margin-bottom: 12%;
}

.donor-naming__body__content {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  /* margin-top: 2rem; */
}

.donor-naming-item {
  text-align: start;
  background: transparent;
  width: 100%;
  /* padding: 1.5rem 1rem; */
  border-radius: 10px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
  transition: box-shadow 0.4s, transform 0.4s;
  /* cursor: pointer; */
}
/* .donor-naming-item:hover {
  transform: scale(1.02);
  box-shadow: -1px 2px 10px -6px rgba(0, 0, 0, 0.62);
  -webkit-box-shadow: -1px 2px 10px -6px rgba(0, 0, 0, 0.62);
  -moz-box-shadow: -1px 2px 10px -6px rgba(0, 0, 0, 0.62);
} */
.donor-naming-item h5 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 50px;
  height: 50px;
  padding: 0 16px;
  margin-bottom: 1%;
  background-color: var(--primary-color);
}
.donor-naming-item p {
  font-size: 1.125rem;
  line-height: 1.625rem;
  text-align: start;
}

.donor-naming-item img {
  width: 100%;
  height: auto;
  max-width: 1000px;
  max-height: 600px;
  object-fit: cover;
  margin-top: 2%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.donor-naming-modal {
  background: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
.donor-naming-modal__content {
  background: #fff;
  width: 90vw;
  padding: 2rem;
  position: relative;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  max-height: 80vh;
  overflow-y: auto;
}
.donor-naming-modal__content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.donor-naming-modal__content p {
  font-size: 1.125rem;
  line-height: 1.625rem;
}
.modal-close {
  color: #888;
  font-size: 2rem;
  background: none;
  border: none;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.donor-naming-modal__images {
  display: flex;
  margin-top: 1rem;
  flex-direction: column;
  gap: 10px;
}
.donor-naming-modal__images img {
  max-width: 100%;
  border-radius: 6px;
}

/* 기부예우표 */
.scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  /* overflow-x: scroll; */
}
.donation_table .common-table {
  width: 100%;
  min-width: 1000px;
  margin-bottom: 30px;
}

.donation_table .common-table thead tr {
  border-bottom: 1px solid #e2e2e2;
}

.donation_table .common-table thead tr th {
  /* border: none; */
}

.common-table tbody tr td {
  border: none;
}

/* 테이블 배경 색상 */
.donation_table .green-bgc {
  background-color: #ebf3e1;
}
.donation_table .light-green-bgc {
  background-color: #fbfff6;
}
.donation_table .purple-bgc {
  background-color: #ebecff;
}
.donation_table .light-purple-bgc {
  background-color: #f9f9ff;
}
.donation_table .blue-bgc {
  background-color: #e9faff;
}

.donation_table .common-table tbody td {
  border-right: 1px solid #e2e2e2;
}

.donation_table .common-table thead tr .tr-bottom {
  border-bottom: 1px solid #e2e2e2;
}

.donation_table .common-table thead tr .tr-right {
  border-right: 1px solid #e2e2e2;
}

.donation_table .common-table thead th {
  background-color: #eff4f6;
}

.donation_table .common-table tbody tr th {
  font-size: 1.125rem;
  line-height: 28px;
  border-right: 1px solid #e2e2e2;
  /* border-bottom: 1px solid #e2e2e2; */
}

.donation_table .common-table tbody td {
  /* border: none; */
}

.donation_table .common-table tbody .td-line {
  border-right: 1px solid #e2e2e2;
}

.donation_table .common-table .text-left {
  padding: 10px 20px;
}

/* 후원의집 - 후원신청 */
.sponsor_apply .sub_contents > div {
  margin-bottom: 100px;
}

.sponsor_apply .sub_whiteBox_title {
  font-weight: 600;
  margin-bottom: 20px;
}

.sponsor_apply .sub_contents > div > p,
.sponsor_apply div span {
  font-weight: 600;
}

.sponsor_apply .bottom_line {
  padding-bottom: 25px;
  margin-bottom: 25px;
}
.bottom_line p > strong {
  font-size: 1em;
  font-weight: normal;
}

.sponsor_apply .sub_contents > .btn_wrap {
  margin-bottom: 0;
}

/* 후원의집 - 후원소개 */
.sponsor_introduce .sub_title {
  border-bottom: 1px solid #d6d6d6;
}

.sponsor_introduce .place_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px;
  margin-top: 60px;
}

.sponsor_introduce .place_wrap > div > div {
  border: 1px solid #b1b1b1;
  padding: 24px 20px;
  border-radius: 0 0 20px 20px;
  border-top: 0;
  min-height: 168px;
}

.sponsor_introduce .place_wrap > div .bottom_line {
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.sponsor_introduce .place_wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 19 / 15;
  border-radius: 20px 20px 0 0;
}

.sponsor_introduce .place_wrap h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 36px;
}

.sponsor_introduce .place_wrap p,
.sponsor_introduce .place_wrap p span {
  font-size: 1rem;
  line-height: 24px;
}

.item .no_image {
  color: #777;
  font-size: 1.25em;
  font-weight: bold;
  width: 100%;
  height: 300px;
  border: 1px solid #b1b1b1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

/* 글쓰기 버튼 */
.write-section {
  display: flex;
  justify-content: flex-end;
  margin-top: 80px;
}
.write-section__flex {
  width: 330px;
  display: flex;
  justify-content: space-between;
}
.write-section a {
  width: 160px;
}

.write-section .btn {
  padding: 10px 20px !important;
}

.write-section .boardBtn {
  color: #009fe3;
  font-size: 1.167em;
  border: 1px solid #009fe3;
  padding: 10px 20px;
  border-radius: 6px;
  background-color: #fff;
}

.write-section .boardBtn:hover {
  color: #fff;
  background-color: #19408d;
}

/* 모달 전체 배경 (오버레이) */
.modal {
  /* background-color: rgba(0, 0, 0, 0.4); 반투명 배경 */
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  -ms-overflow-style: none;
}

.modal::-webkit-scrollbar {
  display: none;
}

.modal-box {
  width: 100%;
  margin: 73px auto 140px auto;
  /* position: relative;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -70%);
    background-color: transparent; */
  /* 필요한 경우 배경색 변경 */
  align-items: center;
  /* display: flex; */
  max-width: 1000px;
  max-height: calc(100vh - 210px);
  max-height: calc(100vh - 100px);
  /* 화면 높이에 맞춰 제한 */
  gap: 15px;
  overflow: hidden;
  /* 모달 박스 자체에서는 스크롤 발생하지 않음 */
}

/* 모달 콘텐츠 영역 */
.modal-content {
  /* width: 400px; */
  border: 1px solid #888;
  padding: 3.75rem;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 4px;
  overflow-y: auto;
  /* 내용이 넘치면 수직 스크롤 생성 */
  max-height: 80vh;
  /* 콘텐츠 영역 최대 높이 지정 (필요에 따라 조정) */
}

.modal-content img {
  width: 100%;
  height: auto;
}

/* .modal-content::-webkit-scrollbar {
    display: none;
} */
.pop_bt {
  display: flex;
  justify-content: flex-end;
}

.pop_bt svg {
  width: 42px;
  height: 42px;
}

.modal-information {
  background: #f0f0f0;
  width: 880px;
  height: 320px;
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  gap: 25px;
}

.modal-content h1 {
  color: #000;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.modal-content h2 {
  color: #104d98;
  font-size: 1.375rem;
  font-weight: 400;
}

.modal-content span {
  color: #666;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7 !important;
}
.modal-content span:nth-child(2) {
}

.modal-information h3 {
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-information p {
  color: #666;
  font-size: 1.25rem;
  font-weight: 400;
}

/* 학장 인사말 */
.dean-layout {
  background: #fff;
  width: 100%;
  height: max-content;
  border: 1px solid #e2e2e2;
  padding: 2.5rem;
  border-radius: 20px;
  gap: 40px;
}

.dean-layout .img-section {
  width: 100%;
  height: auto;
}

.dean-layout .img-section img {
  width: 100%;
  height: auto;
}

.dean-layout .text-section span {
  color: #666;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 36px;
  /* 180% */
  letter-spacing: -0.4px;
  font-style: normal;
}

/* 담당부서 */
.department .shadow_box {
  margin-bottom: 40px;
}

.department .shadow_box h2 {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.department .shadow_box p {
  font-size: 1.125rem;
  line-height: 24px;
}

.department .shadow_box a {
  font-size: 1.375rem;
  font-weight: 700;
}

/* 찾아오시는길 */
.location .sub_contents {
  margin-bottom: 100px;
}
.location .sub_contents:last-child {
  margin-bottom: 0;
}

.location .root_daum_roughmap .wrap_controllers {
  display: none;
}

.location .root_daum_roughmap_landing {
  width: 100% !important;
}

.location .map_info {
  border: 1px solid #d9d9d9;
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0;
}

.location .map_info div h2 {
  font-size: 1.25rem;
}

.location .map_info div p {
  font-size: 1.125rem;
  line-height: 24px;
  margin: 10px 0 20px 0;
}

.location .map_info div p a {
  color: #4a8fcc;
  font-size: 1.125rem;
  font-weight: 700;
}

.location .sub_contents p {
  font-size: 1.25rem;
  line-height: 36px;
  /* margin-top: 15px; */
}

/* 미디어쿼리 */
@media (max-width: 1200px) {
  /* honors club */

  /* sponsor_introduce */
  .sponsor_introduce .place_wrap p,
  .sponsor_introduce .place_wrap p span {
    text-wrap: nowrap;
  }

  /* sponsor_introduce */
}

@media (max-width: 1024px) {
  /* honors club */
  .honors_wrap {
    grid-template-columns: repeat(4, 1fr);
  }

  .image-wrapper {
    width: 90%;
  }

  /* 발전기금 상세 */
  .development_fundDetail img {
    width: 95%;
  }

  /* 기부내역조회 */
  /* donation_list 관련 미디어쿼리는 donation_list.css로 이동됨 */

  /* 찾아오시는길 */
  .location .map_info {
    padding: 1.3rem;
    gap: 1rem;
  }

  /* sponsor_introduce */
  .sponsor_introduce .place_wrap p,
  .sponsor_introduce .place_wrap p span {
    text-wrap: nowrap;
  }

  .sponsor_introduce .place_wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-box {
    width: 80%;
  }
}

@media (max-width: 768px) {
  /* 발전기금 전체보기 */
  .development-fund-layout {
    grid-template-columns: repeat(2, minmax(auto, 1fr));
  }
  .development-fund-layout .text-section span {
    font-size: 1.125rem;
  }
  .card {
    gap: 15px;
    margin-bottom: 40px;
  }
  .development_fundDetail .mobile-br {
    display: inline;
  }
  .development_fundDetail .text-space {
    width: 0;
  }

  /* honors club */
  .honors_wrap {
    /* grid-template-columns: repeat(2, minmax(150px, 1fr)); */
  }

  .image-wrapper {
    width: 90%;
  }

  /* 참여방법(약정서) */
  .agreement .sub_contents > div {
    padding-bottom: 2.8rem;
    margin-bottom: 2.8rem;
  }

  /* 기부하기 */
  .donation-body__input-group {
    gap: 0;
  }

  .donation-body__box {
    padding: 0.5rem;
  }

  /* donation_list 관련 미디어쿼리는 donation_list.css로 이동됨 */
  .tax_benefits > h2 {
    font-size: 1.5rem;
  }
  .sub_whiteBox_title {
    font-size: 1.25rem;
  }

  /* honors club */
  .honors_club div > h2 {
    font-size: 2.2rem;
  }

  .honors_wrap {
    /* margin: 3rem 0 26.5rem 0; */
    grid-template-columns: repeat(3, 1fr);
  }

  .honors_wrap > div p strong {
    font-size: 1.3rem;
  }

  /* 기부자 명명권 예우 */
  .donor-naming__top {
    padding: 20px;
    flex-direction: column;
  }
  .donor-naming__top {
    height: auto;
    justify-content: center;
    align-items: center;
  }
  .donor-naming__heading {
    margin-bottom: 15px;
  }
  .donor-naming__textbox {
    align-self: start;
  }
  .donor-naming__textbox h4 {
    margin-bottom: 0;
  }
  .donor-naming__body__title p {
    font-size: 2rem;
  }
  .donor-naming__body__desc p:nth-of-type(1) {
    font-size: 1.125rem;
  }
  .donor-naming__body__desc p:nth-of-type(2) {
    font-size: 1.125rem;
  }

  .donor-naming-item h5 {
    font-size: 20px;
    line-height: 40px;
    height: 40px;
  }
  .donor-naming-item p {
    font-size: 1rem;
  }

  /* 기부예우표 */
  .common-table thead tr th,
  .donation_table .common-table tbody tr th,
  .common-table tbody tr td {
    font-size: 1rem;
  }

  .donation_table .common-table .text-left {
    padding: 10px;
  }

  /* 담당부서 */
  .department .shadow_box {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 1.375rem;
  }

  .department .shadow_box h2 {
    font-size: 1.25rem;
  }
  .department .shadow_box p {
    font-size: 1rem;
  }
  .department .shadow_box a {
    font-size: 1.125rem;
  }

  /* 찾아오시는길 */
  .location .sub_contents {
    margin-bottom: 4rem;
  }

  .location .map_info {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .location .map_info div h2 {
    font-size: 1.125rem;
  }
  .location .map_info div p {
    font-size: 1rem;
  }
  .location .map_info div p a {
    font-size: 1rem;
  }

  .location .map_info img {
    width: 50px;
    height: 50px;
  }

  .location .sub_contents p {
    font-size: 1rem;
    word-break: keep-all;
  }

  /* sponsor_introduce */
  .sponsor_introduce .place_wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .pop_bt svg {
    width: 30px;
    height: 30px;
  }
  /* 후원의집 */
  .modal {
    padding: 70px 0;
  }
  .modal-content {
    padding: 0.75rem;
  }
  .sponsor_apply .sub_contents > div {
    margin-bottom: 50px;
  }
}

@media (max-width: 480px) {
  /* common */
  .agreement .sub_title,
  .sponsor_apply .sub_title,
  .sponsor_introduce .sub_title {
    flex-direction: column;
  }

  .donate-layout .sub_title,
  .sponsor_apply .sub_title,
  .sponsor_introduce .sub_title {
    flex-direction: column;
  }

  /* 발전기금 */
  .development_fundDetail .whiteBox {
    margin: 2.5rem 0;
    border: none;
    padding: 0;
  }
  .development_fundDetail img {
    width: 100%;
  }
  .development-fund-layout {
    margin-top: 40px;
    gap: 19px;
  }
  .card .text-section span {
    font-size: 1rem;
  }
  .card .fund-amount {
    font-size: 14px !important;
  }
  .fund-amount {
    font-size: 14px !important;
  }
  #fund-total-amount {
    font-size: 14px !important;
  }

  /* 참여방법(약정서) */
  .donate-wrapper .gap-wrapper {
    gap: 20px;
  }
  .donate_donation_account_wrapper .donation_account {
    height: auto;
    padding: 1rem;
    align-items: start;
  }
  .donation_account h2 {
    font-size: 24px;
  }
  .donate-wrapper h1,
  .donate-wrapper h1 strong,
  .donation_account h2 {
    font-size: 1.25rem;
  }
  .donate-wrapper h1 {
    margin-bottom: 1rem;
  }

  .donate-wrapper p {
    font-size: 1rem;
    line-height: 1.7;
    word-break: keep-all;
  }
  .donate_donation_account_wrapper {
    margin-bottom: 40px;
  }

  .donate-wrapper .text-section__box {
    padding: 1rem;
  }

  .text-section__box p {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.7;
  }

  .agreement .btn_wrap,
  .donate-layout .btn_wrap {
    justify-content: center;
  }
  .agreement .btn_wrap a,
  .donate-layout .btn_wrap a {
    font-size: 14px;
  }

  .agreement .sub_whiteBox_title {
    margin-bottom: 1rem;
  }

  /* 기부하기 */
  .donation-background-box img {
    width: 100%;
  }
  .donation-wrapper {
    padding: 8px;
  }
  .donation-body__box {
    padding: 8px;
    /* padding: 1rem; */
  }
  .donation-header .donation-header__box h2 {
    font-size: 1.5rem;
  }

  .donation-body__input-group {
    grid-template-columns: 60px 1fr;
    gap: 10px;
  }
  .donation-body__radio-group {
    justify-content: space-between;
  }

  .input-group__content {
    /* flex-direction: column-reverse; */
  }
  .input-group__span {
    height: 45px;
  }

  .donation-body__input-group label {
    font-size: 14px;
  }

  .donation-body__input-group input {
    font-size: 1rem;
  }

  .donation-body__input-group select {
    font-size: 1rem;
  }
  .donation-body__input-group {
    gap: 15px;
  }
  .donation-body__box .donation-body__input-group .donation-btns button {
    font-size: 14px;
  }

  /* 기부내역조회 */
  /* donation_list 관련 미디어쿼리는 donation_list.css로 이동됨 */

  /* 세제혜택 */
  .tax_benefits > p {
    margin-bottom: 3rem;
  }

  .tax_benefits > h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .tax_benefits .sub_contents p {
    line-height: 1.7;
    margin-top: 1rem;
    word-break: keep-all;
  }

  .tax_benefits .common-table {
    margin: 1.6rem 0 3.5rem 0;
  }
  .tax_benefits .common-table th {
    font-size: 1rem;
  }
  .tax_benefits .common-table td {
    font-size: 0.875rem;
  }

  /* honors club */
  .honors_club div > h2 {
    font-size: 1.5rem;
  }

  .honors_club div > p {
    font-size: 1rem;
  }

  /* .honors_wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 2% 5%;
  } */

  .honors_wrap > div p strong {
    font-size: 1.125rem;
  }
  .honors_wrap > div p {
    font-size: 0.875rem; /* 기존 폰트 크기 유지 */
    white-space: nowrap; /* 텍스트를 한 줄로 유지 */
    text-wrap: nowrap; /* 텍스트 줄바꿈 방지 */
    overflow: hidden; /* 넘치는 텍스트 숨김 */
    text-overflow: ellipsis; /* 넘치는 텍스트에 '...' 표시 */
  }

  .image-wrapper {
    width: 90%;
  }
  .donation_table p {
    font-size: 1rem;
  }

  /* 후원의집 */
  .modal {
    padding: 70px 0;
  }
  .modal-content {
    padding: 0.75rem;
  }
  .modal-box {
    width: 90%;
  }
  .sponsor_apply .sub_contents > div {
    margin-bottom: 50px;
  }
  .sponsor_introduce .place_wrap {
    grid-template-columns: 1fr;
  }
  .sponsor_introduce .place_wrap h2 {
    font-size: 1.25rem;
  }

  /* 기부예우표 */
  .m_width-3 {
    width: 3%;
  };
  .m_width-8 {
    width: 5%;
  }
  .m_width-5 {
    width: 5%;
  }
  .donation_table .common-table{
    min-width: none;
  }
  .common-table tr{
    height: auto;
  }

  .donation_table p {
    font-size: 1rem;
  }

  .scroll-wrapper {
    max-height: 500px; /* 원하는 높이로 */
    overflow: auto;
    position: relative;
  }
  /* 헤더 고정 */
  .sticky-header-row {
    position: sticky;
    top: -2px;
    background: #fff;
    z-index: 10;
  }
  thead tr:nth-child(2) .sticky-header-row {
    top: 20px;
  }
  .common-table thead th:first-child {
    z-index: 11;
  }


  /* 1, 2번째 열 좌측 고정 */
  .sticky-col-1 {
    /* position: sticky;
    left: 0;
    z-index: 9;
    background: #fff;
    min-width: 40px; */
  }
  .sticky-col-2 {
    /* position: sticky;
    left: 60px;
    z-index: 9;
    background: #fff;
    min-width: 130px; */
  }
  /* thead는 z-index 더 높게 */
  thead .sticky-col-1,
  thead .sticky-col-2 {
    z-index: 12;
  }

  /* 학장 인사말 */
  .dean-layout {
    padding: 1rem;
  }
  .dean-layout .text-section span {
    font-size: 1rem;
    line-height: 1.8;
  }
  /* 담당부서 */
  .department {
    padding: 1.625rem 0.75rem;
  }
  .department .shadow_box {
  }

  /* 찾아오시는 길 */
  .location .map_info div h2 {
  }
}
