h3 p{
    font-weight: 500;
    transform: translateY(-10px);
    text-align: center;
}

/* photo */
.content_inner{overflow: hidden;}
.photo{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.photo .swiper-slide {
    width: calc(25% - 10px); 
    /* 4개 슬라이드 표시 시 25% 너비로 설정 */
}
/* Swiper 기본 점 스타일을 숨기기 */
.swiper-pagination-bullets {
    display: none; /* Swiper 기본 점 스타일을 제거 */
}

/* 커스텀 페이지 네이션 스타일 */
.swiper-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    opacity: 1;
    /* max-width: 300px;
    width: 100%; */
}

.swiper-pagination span {
    /* width: 40px;
    height: 40px; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8em;
    aspect-ratio: 1/1;
    line-height: 1;
    background-color: #feec9c;
    color: #7a7979;
    font-size: 25px;
    font-weight: 700;
    border-radius: 50%;
    /* display: inline-block; */
    text-align: center;
    margin: 0 5px;
    cursor: pointer;
    opacity: 1;
}

/* 선택된 페이지 스타일 */
.swiper-pagination span.swiper-pagination-bullet-active {
    background-color: #000; /* 선택된 페이지 배경을 검은색으로 */
    color: #fff; /* 선택된 페이지 숫자를 흰색으로 */
    font-weight: bold;
}

.photo li{
    display: flex;
    flex-direction: column;
    line-height: 0;
}
.photo li img{width: 100%;}
/*  tv*/
.tv{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* gap: 20px; */
}
.tv li{
    display: flex;
    flex-direction: column;
    line-height: 0;
}

.cm_img_wrap{
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.cm_img_wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cm_txt{
    font-size: 18px;
    margin-top: 1rem;
    line-height: 1.5;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/*  news*/
.news-swiper-container{
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}
/* .news-swiper-container .swiper-slide {height: calc((100% - 30px) / 2) !important;} */
.news .cm_img_wrap{
    aspect-ratio: 4/3
    ;
}
.news li{
    display: flex;
    flex-direction: column;
    line-height: 0;
}
/*  seminar*/

.seminar li{
    display: flex;
    flex-direction: column;
    line-height: 0;
}
/* 공지사항 */
.notice_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.notice_table th, .notice_table td {
    border-bottom: 1px solid #ececec;
    padding: 15px 0;
    font-size: 15px;
    text-align: center;
}
.notice_table th {
    /* padding: 12px 0; */
    border-top: 1px solid #ececec;
    background-color: #fbfbfb;
    font-weight: 400;
}
.notice_table thead tr:hover {
    border-left: 0px solid #3b3b3b;
}
.notice_table tr:hover {
    background: #fffdf3;
    border-left: 1px solid #3b3b3b;
}
.notice_table td.td_num {
    width: 50px;
}
.notice_table td.td_name {
    max-width: 120px;
    text-decoration: none;
    white-space: nowrap;    /* 텍스트가 한 줄로 유지되게 설정 */
    overflow: hidden;       /* 넘칠 때 숨기기 */
    text-overflow: ellipsis;
}
.notice_table td.td_date {
    width: 120px;
}
.notice_table td.title {
    text-align: left;
    width: 70%;
    max-width: 150px;
    font-weight: 700;
}
.notice_table td.title a {
    color: #222;
    text-decoration: none;
    display: block;  /* inline 요소를 block처럼 동작하도록 변경 */
    width: 100%;            /* 부모의 너비를 채우게 설정 */
    white-space: nowrap;    /* 텍스트가 한 줄로 유지되게 설정 */
    overflow: hidden;       /* 넘칠 때 숨기기 */
    text-overflow: ellipsis;/* 넘친 텍스트를 '...'으로 표시 */
}
.notice_summary {
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.notice_summary .total_info {
    font-weight: bold;
}
.seminarPagination {
    position: relative;
    padding-top: 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}


.pagination a:hover {
    background-color: #f5f5f5;
}
.pagination a.active, 
.pagination a.active:hover {
    background-color: #555;
    color: white;
}

.pagination a:disabled {
    color: #ccc;
}

.notice_table {
    width: 100%;
    border-collapse: collapse;
}
.notice_content {
    text-align: left !important;
}



@media (min-width:0px) and (max-width:1280px){
    .photo,
    .tv,
    .news,
    .seminar{
        grid-template-columns: repeat(2, 1fr);
    }
    .cm_txt{
        font-size: 17px;
        word-break: normal;
    }
}
@media (min-width:0px) and (max-width:500px){
    .cm_txt{
        font-size: 14px;
        word-break: normal;
    }

    .swiper-pagination {
        
        max-width: 300px;
        width: 100%;
    }
    .swiper-pagination span {
        font-size: 17px;
    }
    /* .news-swiper-container .swiper-slide {height: calc((100% - 30px) / 2) !important;} */
    .news-swiper-container.swiper-grid-column>.swiper-wrapper {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .seminar-swiper-container.swiper-grid-column>.swiper-wrapper {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .news-swiper-container.swiper-grid-column>.swiper-wrapper a{padding: 5px;}
    .seminar-swiper-container.swiper-grid-column>.swiper-wrapper a{padding: 5px;}
    .notice_table thead{
        display: none;
    }
    .notice_table tr{
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
        border-bottom: 1px solid #ececec;
    }
    .notice_table tr:first-child{
        border-top: 1px solid #ececec;
    }
    .notice_table th, .notice_table td{
        padding: 0!important;
        border-bottom: none!important;
    }
    .notice_table td.td_num{
        display: none;
    }
    .notice_table td.title{
        width: 100%;
        display: block;
        max-width: 300px;
        padding-bottom: 5px !important;
    }
    .notice_table td.td_name {
        max-width: 150px!important;
    }
}
@media (min-width:0px) and (max-width:320px){
    .photo,
    .tv,
    .news,
    .seminar{
        grid-template-columns: repeat(1, 1fr);
    }
}