@charset "utf-8";

/* 내용관리 */
#ctt {margin:10px 0;padding:10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.ctt_admin {margin:0 5px;text-align:right}
#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#ctt_con {padding:10px 0}
.ctt_img {text-align:center}

/* 자원봉사 이미지 */
.volunteer-image {
    text-align: center;
    margin: 20px 0;
}

.volunteer-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 기본 테이블 스타일 */
.table-scroll-wrapper {
    overflow-x: auto;
    border: 1px solid #ddd ;
    margin: 20px 0 ;
}

.basic_table {
    width: 100% ;
    min-width: 700px ;
    border-collapse: collapse ;
    background: #fff ;
    font-size: 13px ;
}

/* 헤더 스타일 - thead에만 배경색 */
.basic_table thead {
    border-bottom: 1px solid #ddd;
}
.basic_table thead th {
    background: #f8f8f8 ;
    color: #333 ;
    padding: 12px 8px ;
    border: 1px solid #ddd ;
    text-align: center ;
    font-weight: 500 ;
    white-space: nowrap ;
    border-top: none ;
    border-bottom: 1px solid #ddd ;
}

/* 모든 셀 기본 스타일 - tbody는 모두 흰색 배경 */
.basic_table td {
    padding: 10px 8px ;
    border: 1px solid #ddd ;
    text-align: center ;
    background: #fff ;
    border-top: none ;
    vertical-align: middle ;
}

/* 테두리 정리 */
.basic_table th:first-child,
.basic_table td:first-child {
    border-left: none ;
}

.basic_table th:last-child,
.basic_table td:last-child {
    border-right: none ;
}

.basic_table tr:last-child th,
.basic_table tr:last-child td {
    border-bottom: none ;
}

.organ_table1 th:last-child,
.organ_table1 td:last-child {
    border-right: none ;
}

.organ_table1 tr:last-child th,
.organ_table1 tr:last-child td {
    border-bottom: none ;
}

/* 자원봉사 신청 버튼 스타일 */
.volunteer-button-wrapper {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 20px 0;
}

.volunteer-apply-btn {
    display: inline-block;
    background: #fff;
    color: #333 ;
    padding: 12px 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none ;
    transition: all 0.2s ease;
    cursor: pointer;
}

.volunteer-apply-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

/* 리스트 스타일 개선 */
.info-section ul,
.info-section ol {
    padding-left: 20px;
}

.info-section ul li,
.info-section ol li {
    margin: 8px 0;
    line-height: 1.6;
}

/* 모바일에서 테이블 스크롤 안내 */
@media (max-width: 768px) {
    .table-scroll-wrapper::after {
        content: "← 좌우로 스크롤하여 전체 내용을 확인하세요 →";
        display: block;
        text-align: center;
        font-size: 12px;
        color: #999;
        margin-top: 10px;
    }
}