::selection {background-color: var(--main-color); color: #fff;}






/* 메인페이지 */

/* 공통 */

.sub-box {display:flex;gap:100px;}
.sub-box>div {width:100%;}


/* 게시판 */
.board_con div span {
    word-break: keep-all;
    height: fit-content;
}
.board_con div a {
    align-items: center;
    flex-direction: column;
    align-items: flex-start;}


/* 공통 */



/* 연합회 소개 intro1 시작 */

.intro_wrap {display:flex;flex-direction: column;gap:30px;}

.intro_hd {display:flex;justify-content: space-between;align-items: center;}
.intro_hd p {font-size:46px;font-weight:700;padding-left:30px;position:relative;}
.intro_hd p::before {display:block;content:"";width:8px;height:50px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translateY(-50%);} 

.intro1_img {width:100%;height:350px;border-radius:15px;overflow: hidden;}
.intro1_img img {width:100%;height:100%;object-fit:cover;}

.intro1_con {display:flex;flex-direction: column;gap:30px;}
.intro1_con p {font-size:18px;line-height:1.7;}
.intro1_con ul {display:flex;flex-direction:column;gap:10px;}
.intro1_con ul li {display:flex;align-items: center;gap:0.3em;font-size:18px;} 
.intro1_con ul li span {font-family:'MaruBuriBold';font-size:22px;}
.intro1_con>span {font-size:18px;text-align: right;line-height:1.7;}



.intro1_con02 {
    display:flex;
    gap:20px;
    flex-direction: column;
    margin-bottom:30px;
}

.intro1_con02 .intro1_box {
    display:flex;
    align-items: center;
    gap:20px;
    font-size:18px;
    line-height:1.7;
    background:var(--main-color-light);
    padding:20px;
    border-radius: 10px;
}

.intro1_con02 .intro1_box span {
    display: flex;
    font-size:20px;
    background:var(--main-color);
    color:#fff;
    width:30px;
    height:30px;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
}

.intro1_con02 .intro1_box p {
    width:calc(100% - 60px);
    word-break:keep-all;
}





/* 연합회 소개 intro1 끝 */



/* 연합회 약사 intro2 시작 */

.intro2_con {width: 100%;}

.history_list {border-left: 3px solid var(--main-color-light);padding-left: 40px;position: relative;}
.history_item {position: relative;margin-bottom: 50px;}
.history_item:last-child {margin-bottom: 0;}
.history_item::before {content: '';position: absolute;left: -48px;top: 8px;width: 15px;height: 15px;background-color: var(--main-color);border-radius: 50%;z-index: 1;}

.history_year {font-size: 28px;font-weight: 700;margin-bottom: 20px;color: var(--main-color);position: relative;top: -5px;}

.history_content {display: flex;gap: 30px;margin-bottom: 25px;}
.history_item > .history_content:last-of-type {margin-bottom: 0;}
.history_content .date {font-size: 18px;font-weight: 600;color: #333;flex-shrink: 0;width: 80px;}
.history_content .text {display: flex;flex-direction: column;gap: 8px;background-color: #f8f8f8;padding: 20px;border-radius: 8px;flex-grow: 1;}
.history_content .text strong {font-size: 18px;font-weight: 600;line-height: 1.4;}
.history_content .text span {color: #666;line-height: 1.6;font-size: 16px;}


/* 연합회 약사 intro2 끝 */



/* 연합회 조직표 intro3 시작 */


.intro3_tab {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.intro3_tab span {
    padding: 15px 30px;
    background: #f8f9fa;
    color: #666;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    border-bottom: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro3_tab span:first-child {
    border-top-left-radius: 8px;
}

.intro3_tab span:last-child {
    border-top-right-radius: 8px;
}

.intro3_tab span.on {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    z-index: 1;
}

.intro3_tab span:hover:not(.on) {
    background: var(--main-color-light);
    color: var(--main-color);
}

.intro3_con {width: 100%; display: none;}

.org_chart_wrap {display: flex;flex-direction: column;gap: 40px;}
.chart_subtitle {font-size: 18px;font-weight: 500;text-align: right;color: #555;}

.top_org {display: grid;grid-template-columns: repeat(5, 1fr);gap: 20px;}
.org_box {border: 1px solid #ddd;overflow: hidden;background:#fff;}
.org_title {background-color: var(--main-color-light);padding: 12px;text-align: center;font-weight: 600;border-bottom: 1px solid #ddd;}
.org_members {padding: 15px;display: flex;flex-wrap: wrap;gap: 8px 12px;justify-content: center;align-items: center;line-height: 1.6;}

.org_table_wrap {overflow-x: auto;}
.org_table {width: 100%;border-collapse: collapse;white-space: nowrap;text-align: center;}
.org_table th, .org_table td {border: 1px solid #ddd;padding: 12px;font-size: 16px;vertical-align: middle;background:#fff;text-align: center;}
.org_table th {background-color: var(--main-color-light);font-weight: 600;}

.single_line_box {display: flex; align-items: stretch;}
.single_line_box .org_title {width: 150px;flex-shrink: 0; display: flex; align-items: center; justify-content: center;}
.single_line_box .org_members {justify-content: flex-start; flex-grow: 1; border-left: 1px solid #ddd;}

.bottom_org {display: flex;flex-direction: column;gap: 20px;}
.dept_table_wrap {display: flex;justify-content: center;}
.dept_table {border-collapse: collapse;}
.dept_table th, .dept_table td {border: 1px solid #ddd;padding: 10px 15px;text-align: center;}
.dept_table th {background-color: var(--main-color-light);font-weight: 600;}

.dept_grid {display: grid;grid-template-columns: repeat(6, 1fr);gap: 15px;}
.dept_box {border: 1px solid #ddd; text-align: center; overflow: hidden;}
.dept_head {padding: 10px;font-weight: 600;background-color: var(--main-color-light);border-bottom: 1px solid #ddd;}
.dept_body {padding: 15px;display: flex;flex-direction: column;gap: 8px;}
.dept_body span {display: block;}
.dept_body strong {font-weight: 500;margin-right: 5px;}

.spiritual_org {display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;}

.spiritual_table_wrap {margin-top: 20px; overflow-x: auto;}
.spiritual_table {width: 100%; border-collapse: collapse; white-space: nowrap;}
.spiritual_table th, .spiritual_table td {border: 1px solid #ddd; padding: 12px; font-size: 16px; vertical-align: middle; background: #fff; text-align: center;}
.spiritual_table th {background-color: var(--main-color-light); font-weight: 600;}
.spiritual_table td:nth-child(3) {text-align: left; padding-left: 20px;}

/* 새 조직표 (사진대체) */

.intro3_con3 img {margin-bottom:50px;}
.intro3_title {display:inline-block;width:100%;background:var(--main-color);color:#fff;font-size:22px;padding:10px 30px;border-radius:0 100px 0px 0;margin-bottom:10px;}

.intro3_title01,.intro3_title02,.intro3_title03,.intro3_title06,.intro3_title08 {background:#004ea1;}
.intro3_title04, .intro3_title05 {background:#00a4af;}
.intro3_title07 {background:#5d9f33;}
.intro3_title10,.intro3_title11 {background:#64c9d5;}
.intro3_title12 {background:#4a5096;}


/* 연합회 조직표 intro3 끝 */




/* 연합회 구성원 intro4 시작 */

.intro4_title {display:inline-block;width:100%;background:var(--main-color);color:#fff;font-size:22px;padding:10px 30px;border-radius:0 100px 0px 0;}

.intro4_con1 .intro4_title,.intro4_con11 .intro4_title {background:linear-gradient(90deg,#0553a5,#a91568)}

.intro4_con8 .intro4_title {background:linear-gradient(90deg,#456eaf,#1e9b93)}

.intro4_con3 .intro4_title {background:#a91568;}
.intro4_con6 .intro4_title {background:#009c8c;}
.intro4_con7 .intro4_title {background:#018842;}
.intro4_con2 .intro4_title,.intro4_con4 .intro4_title,.intro4_con5 .intro4_title, .intro4_con9 .intro4_title, .intro4_con10 .intro4_title,.intro4_con12 .intro4_title,.intro4_con13 .intro4_title,.intro4_con7 .intro4_title {background:#0553a5;}


/* intro4_title 반응형 */
@media (max-width: 1024px) {
    .intro4_title, .intro3_title {
        font-size: 20px;
        padding: 8px 25px;
    }
}

@media (max-width: 768px) {
    .intro4_title, .intro3_title {
        font-size: 18px;
        padding: 8px 20px;
        border-radius: 0 50px 0px 0;
    }
}

@media (max-width: 480px) {
    .intro4_title, .intro3_title {
        font-size: 16px;
        padding: 6px 15px;
        border-radius: 0 30px 0px 0;
    }
}

.intro4_box {display:grid;grid-template-columns: repeat(6,1fr);gap:30px;padding:20px 30px;} 
.intro4_box .intro4_members {display:flex;flex-direction: column;gap:5px;}
.intro4_box .intro4_members figure {width:100%;aspect-ratio: 5 / 6;background:#333;margin:0 auto;border-radius:8px;overflow: hidden;border:1px solid #eee;}
.intro4_box .intro4_members p {display: inline-block;width:100%;text-align: center;font-size:18px;color:#333;font-weight:600;} 
.intro4_box .intro4_members p em {font-weight:700;letter-spacing:0.1em;color:#333;}
.intro4_box .intro4_members span {text-align: center;padding:5px;background:var(--main-color-light);border-radius:5px;color:var(--main-color);font-size:14px;}

/* intro4 반응형 */
@media (max-width: 1200px) {
    .intro4_box {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
        padding: 20px 20px;
    }
}

@media (max-width: 1024px) {
    .intro4_box {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 15px 15px;
    }
    
    .intro4_box .intro4_members p {
        font-size: 16px;
    }
    
    .intro4_box .intro4_members span {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .intro4_box {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 12px 12px;
    }
    
    .intro4_box .intro4_members p {
        font-size: 14px;
    }
    
    .intro4_box .intro4_members span {
        font-size: 12px;
        padding: 3px;
    }
}

@media (max-width: 480px) {
    .intro4_box {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px 10px;
    }
    
    .intro4_box .intro4_members p {
        font-size: 13px;
    }
    
    .intro4_box .intro4_members span {
        font-size: 11px;
        padding: 2px;
    }
}




/* 연합회 구성원 intro4 끝 */





/* 연합회 소식 news1 시작 */




.news_wrap {display:flex;flex-direction: column;gap:30px;}

.news_hd {display:flex;justify-content: space-between;align-items: center;}
.news_hd p {font-size:46px;font-weight:700;padding-left:30px;position:relative;}
.news_hd p::before {display:block;content:"";width:8px;height:50px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translateY(-50%);} 
.news_hd select { width:100%;height:fit-content;padding:10px 20px;border-radius: 5px;border:1px solid #aaa;background:url('../img/down.png') no-repeat 92% center;}
.news_hd>div {display:flex;width:200px;position:relative;height:fit-content;background:#fff;}


/* 카드형 활동보고 스타일 */
.activity_cards_wrap {display: flex; flex-direction: column; gap: 40px;}

.month_section {display: flex; flex-direction: column; gap: 25px;}

.month_header {padding: 15px 50px 15px 30px;background:var(--main-color);width:fit-content;border-radius:0 40px 0 0}
.month_header h3 {font-size: 36px; font-weight: 700; color: #fff; margin: 0; line-height: 1;}
/* .month_header::before {display: block; content: ""; width: 6px; height: 40px; background: var(--main-color); position: absolute; top: 50%; left: 0; transform: translateY(-50%);} */

.activity_cards {display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;}

.activity_card {display: flex; align-items: flex-start; gap: 20px; background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all 0.3s ease;}
.activity_card:hover {transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); border-color: var(--main-color-light);}

.activity_card .date {flex-shrink: 0; width: 60px; height: 60px; background: var(--main-color); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600;}

.activity_card .content {flex-grow: 1; display: flex; flex-direction: column; gap: 8px;}
.activity_card .content h4 {margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; color: #333;}
.activity_card .content .location {color: #666; font-size: 14px; font-weight: 500; background: var(--main-color-light); padding: 4px 12px; border-radius: 20px; width: fit-content;}


/* 연합회 소식 news1 끝 */



/* 지방회 소식 news2 시작 */

.news2_con1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
}

.news2_region {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}


.news2_region h3 {
    background: var(--main-color);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 20px 25px;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid var(--main-color);
}

.news2_region ul {
    padding: 25px;
    margin: 0;
    list-style: none;
}

.news2_region ul li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 18px;
    color: #333;
    position: relative;
    transition: all 0.2s ease;
}

.news2_region ul li a {
    display: flex;
    width:100%;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
}

.news2_region ul li a i {
    font-size: 20px;
    color:#aaa;
    transition: all 0.2s ease;
}

.news2_region ul li:last-child {
    border-bottom: none;
}

.news2_region ul li:hover {
    color: var(--main-color);
}

.news2_region ul li:hover a i {
    font-size: 20px;
    color:var(--main-color);
}


/* 지방회 소식 news2 끝 */



/* 지방회 소식 news2 detailpage 시작 */
.news2_detail .news_hd {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.news2_detail .news_hd p {
    font-size: 46px;
    font-weight: 700;
    padding-left: 0 !important;
    position: relative;
    margin: 0;
}

.news2_detail .news_hd p::before {
    display: block;
    content: "";
    width: 100px;
    height: 8px;
    background: var(--main-color);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translate(-50%,-50%);
}

.news2_detail .news_hd span {
    font-size: 24px;
    font-weight: 500;
    color: var(--main-color); 
    margin: 0;
}

/* 탭메뉴 스타일 */
.news2_detail_tab {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.news2_detail_tab span {
    padding: 15px 30px;
    background: #f8f9fa;
    color: #666;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    border-bottom: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.news2_detail_tab span:first-child {
    border-top-left-radius: 8px;
}

.news2_detail_tab span:last-child {
    border-top-right-radius: 8px;
}

.news2_detail_tab span.active {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    z-index: 1;
}

.news2_detail_tab span:hover:not(.active) {
    background: var(--main-color-light);
    color: var(--main-color);
}

/* 탭 컨텐츠 스타일 */
.news2_detail_wrap {
    display: none;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news2_detail_wrap.active {
    display: block;
}

.news2_detail_wrap h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--main-color);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color-light);
}

.news2_detail_wrap div {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.news2_detail_wrap2>div {display:flex;flex-direction: column;gap:20px;}


/* 소속 교회 목록 스타일 */
.news2_detail_wrap3 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news2_detail_wrap3 ul li {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.news2_detail_wrap3 ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--main-color-light);
}

.news2_detail_wrap3 ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.news2_detail_wrap3 ul li i {
    font-size:30px;
    color:var(--main-color);
}

.news2_detail_wrap3 ul li h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 10px 0;
}

.news2_detail_wrap3 ul li span {
    display: flex;
    align-items: center;
    gap:10px;
    font-size: 18px;
    color: #666;
    line-height: 1.4;
}


.news2_detail_wrap3 ul li span i {
    font-size:17px;
    color:#fff;
}

.news2_detail_wrap3 ul li div {
    width:100%;
}

.news2_detail_wrap3 ul li div hr {
    opacity:0.5;
}

.church_list_con {
    margin-bottom:10px;
}

.church_list_con2 figure {display: flex;;width:25px;height:25px}


.news2_detail_wrap3 figure {
    width:25px;
    aspect-ratio: 1 / 1;
    background: var(--main-color);
    padding:4px;
    border-radius:5px;
}



/* 소속 교회 목록 스타일 */
.news2_detail_wrap4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news2_detail_wrap4 ul li {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    padding: 20px;
}

.news2_detail_wrap4 ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--main-color-light);
}


.news2_detail_wrap4 ul li i {
    font-size:30px;
    color:var(--main-color);
}

.news2_detail_wrap4 ul li h4 {
    font-size: 20px;
    font-weight: 700; 
}

.news2_detail_wrap4 ul li span {
    display: flex;
    align-items: center;
    gap:10px;
    font-size: 18px;
    color: #666;
    line-height: 1.4;
}


.news2_detail_wrap4 ul li span i {
    font-size:17px;
    color:#fff;
}

.news2_detail_wrap4 ul li div {
    display:flex;
    justify-content: space-between;
}

.news2_detail_wrap4 figure {
    width:25px;
    aspect-ratio: 1 / 1;
    background: var(--main-color);
    padding:4px;
    border-radius:5px;
}

.news2_detail_wrap4 .people_tag {
    color:var(--main-color);
    border:1px solid var(--main-color);
    padding:0px 10px;
    width:fit-content;
    border-radius:10px;
    font-size:16px;
}

.news2_detail_wrap4 .people_list_flex {
    display:flex;
    gap:10px;
    line-height:unset;
}

.news2_detail_wrap4 .people_list_con span {display:inline-block !important;width:fit-content;}



/* 지방회 소식 news2 detailpage 끝 */



/* 포토갤러리 news4 시작 */

.news_photo {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.news_photo li {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
}

.gallery_item {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news_photo figure {
    width: 90%;
    aspect-ratio: 4/3;
    margin: 5% auto 0;
    border-radius:10px;
    overflow: hidden;
    position: relative;
}

.news_photo figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery_info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gallery_info p {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gallery_info span {
    font-size: 18px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* 포토갤러리 news4 끝 */



/* 구인청빙 소식 news3 시작 */


.news_wrap {display:flex;flex-direction: column;gap:30px;}

.news_hd {display:flex;justify-content: space-between;align-items: center;}
.news_hd p {font-size:46px;font-weight:700;padding-left:30px;position:relative;}
.news_hd p::before {display:block;content:"";width:8px;height:50px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translateY(-50%);} 




.news_list {width:100%;font-size:18px;background:#fcfcfc;border-top:3px solid var(--main-color);position:relative;}
.news_list li {display:flex;justify-content:space-between;gap:30px;align-items: center;border-bottom:1px solid #ccc;}
.news_list li div {display:flex;justify-content:space-between;align-items: center;width:85%;gap:30px;}
.news_list .news_name {display:flex;gap:10px;width:100%;padding-left:5%;padding:16px 5%;} 

.news1 span.news_tag, .news2 span.news_tag {display:flex;width:fit-content;align-items: center;padding:2px 15px;font-size:14px;color:#fff;border-radius: 5px;}
.news1 span.news_tag1, .news2 span.news_tag1 {background:#1f6e34;}
.news1 span.news_tag2, .news2 span.news_tag2 {background:#37a776;}
.news1 span.news_tag3, .news2 span.news_tag3 {background:#2cb451;}

.detail_navi .news_tag {margin-bottom:0 !important;margin-right:10px}


.news_list .news_date {width:15%;text-align: center;font-size:16px;color:#666;}

.news_list .news_none {color:#999;}
.news_list .news_none span {display:none;}
.news .page-nav {margin-top:0;}

#news_list {position:absolute;top:-200px;}

/* 게시글 상세보기 스타일 */
.news1_detail_con {display: flex; flex-direction: column; gap: 30px;}





/* 구인청빙 소식 news3 끝 */






/* 회의 meeting1 시작 */




.meeting_wrap {display:flex;flex-direction: column;gap:30px;}

.meeting_hd {display:flex;justify-content: space-between;align-items: center;}
.meeting_hd p {font-size:46px;font-weight:700;padding-left:30px;position:relative;}
.meeting_hd p::before {display:block;content:"";width:8px;height:50px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translateY(-50%);} 




.meeting_list {width:100%;font-size:18px;background:#fcfcfc;border-top:3px solid var(--main-color);position:relative;}
.meeting_list li {display:flex;justify-content:space-between;gap:30px;align-items: center;border-bottom:1px solid #ccc;}
.meeting_list li div {display:flex;justify-content:space-between;align-items: center;width:85%;gap:30px;}
.meeting_list .meeting_name {width:100%;padding-left:5%;padding:16px 5%;} 
.meeting_list .meeting_date {width:15%;text-align: center;font-size:16px;color:#666;}

.meeting_list .meeting_none {color:#999;}
.meeting_list .meeting_none span {display:none;}
.meeting .page-nav {margin-top:0;}

#meeting_list {position:absolute;top:-200px;}

/* 게시글 상세보기 스타일 */
.meeting1_detail_con {display: flex; flex-direction: column; gap: 30px;}







/* .pdf_list {width:100%;font-size:18px;background:#fcfcfc;border-top:3px solid var(--main-color)}
.pdf_list li {display:flex;justify-content:space-between;align-items: center;padding:16px 0;border-bottom:1px solid #ccc;}
.pdf_list li div {display:flex;justify-content:space-between;align-items: center;width:85%;}
.pdf_list .pdf_title {width:80%;padding-left:5%;}
.pdf_list .pdf_download {display:flex;justify-content: flex-end;width:20%;}
.pdf_list .pdf_download a {display:inline-block;background:var(--main-color);padding:7px 20px;font-size:16px;color:#fff;border-radius:5px;}
.pdf_list .pdf_date {width:15%;text-align: center;font-size:16px;color:#666;}

.pdf_list .pdf_none {color:#999;}
.pdf_list .pdf_none span {display:none;} */


/* paging */

.page-nav {display: flex; align-items: center; gap: 50px; justify-content: center; margin-top: 60px;}
.page-nav ul {display: flex; align-items: center; gap: 28px;}
.page-nav ul li {border: none; color: #aaa; font-size: 18px; cursor: pointer; font-weight: 300;}
.page-nav ul li.page-on {color:var(--main-color); position: relative; font-weight: 900;}
.page-nav ul li.page-on::before {content: ""; display: block; position: absolute; width: 100%; height: 2px; bottom: 0; left: 0; background-color:var(--main-color);}
.page-nav .page-btn i {font-size: 20px; display: block; color: #aaa;}
.page-nav .page-btn.btn-on i {cursor: pointer; color: #333;}




/* 회의 meeting1 끝 */




/* 회의록 mm1 시작 */



.mm_wrap {display:flex;flex-direction: column;gap:30px;}

.mm_hd {display:flex;justify-content: space-between;align-items: center;}
.mm_hd p {font-size:46px;font-weight:700;padding-left:30px;position:relative;}
.mm_hd p::before {display:block;content:"";width:8px;height:50px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translateY(-50%);} 




.mm_list {width:100%;font-size:18px;background:#fcfcfc;border-top:3px solid var(--main-color);position:relative;}
.mm_list li {display:flex;justify-content:space-between;gap:30px;align-items: center;border-bottom:1px solid #ccc;}
.mm_list li div {display:flex;justify-content:space-between;align-items: center;width:85%;gap:30px;}
.mm_list .mm_name {width:100%;padding-left:5%;padding:16px 5%;} 
.mm_list .mm_date {width:15%;text-align: center;font-size:16px;color:#666;}

.mm_list .mm_none {color:#999;}
.mm_list .mm_none span {display:none;}
.mm .page-nav {margin-top:0;}

#mm_list {position:absolute;top:-200px;}

/* 게시글 상세보기 스타일 */
.mm1_detail_con {display: flex; flex-direction: column; gap: 30px;}

/* 제목 영역 */
.detail_title_wrap {background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.08);}
.detail_title_wrap h2 {font-size: 28px; font-weight: 700; color: #333; margin: 0 0 15px 0; line-height: 1.4; word-break: keep-all;}
.detail_meta {display: flex; align-items: center; gap: 10px; color: #666; font-size: 18px;}
.detail_meta .divider {color: #ccc;}

/* 게시글 내용 영역 */
.detail_content_wrap {background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08);}
.content_body {padding: 40px; line-height: 1.8; color: #333;font-size:18px;}
.content_body h3 {font-size: 24px; font-weight: 600; color: var(--main-color); margin: 0 0 20px 0; padding-bottom: 10px; border-bottom: 2px solid var(--main-color-light);}
.content_body h4 {font-size: 20px; font-weight: 600; color: #333; margin: 30px 0 15px 0;}
.content_body h5 {font-size: 18px; font-weight: 600; color: #333; margin: 25px 0 10px 0;}
.content_body p {margin: 0 0 20px 0; font-size: 16px;}
.content_body ul, .content_body ol {margin: 0 0 20px 0; }
.content_body li {margin-bottom: 8px; font-size: 16px;}

/* 첨부파일 영역 */
.attachment_wrap {margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee;}
.attachment_wrap h5 {color: var(--main-color); margin-bottom: 15px;}
.attachment_list {list-style: none; padding: 0; margin: 0;}
.attachment_list li {margin-bottom: 10px;}
.attachment_link {display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f8f9fa; border-radius: 6px; text-decoration: none; transition: background 0.2s ease;}
.attachment_link:hover {background: var(--main-color-light);}
.attachment_link .file_name {color: #333; font-weight: 500;}
.attachment_link .file_size {color: #666; font-size: 14px;}

/* 이전글/다음글 네비게이션 */
.detail_navi {background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08);}
.nav_item {padding: 20px 30px; position: relative;}
.nav_item.prev {border-bottom: 1px solid #eee;}
.nav_label {display: block; font-size: 16px; color: #666; font-weight: 500; margin-bottom: 8px;}
.nav_link {display: flex; justify-content: space-between; align-items: center; text-decoration: none; transition: color 0.2s ease;}
.nav_link:hover .nav_title {color: var(--main-color);}
.nav_title {font-size: 18px; color: #333; font-weight: 500; flex-grow: 1; word-break: keep-all;}
.nav_date {font-size: 16px; color: #666; margin-left: 20px; flex-shrink: 0;}

/* 목록 버튼 */
.detail_actions {display: flex; justify-content: center;}
.btn_list {display: inline-block; padding: 12px 30px; background: var(--main-color-light);color:#666; text-decoration: none; border-radius: 6px; font-weight: 500; transition: 0.2s;}
.btn_list:hover {background: var(--main-color);color:#fff;transition: 0.2s;}




/* 회의록 mm1 끝 */




/* 연합회 보고 report1 시작 */



.report_wrap {display:flex;flex-direction: column;gap:30px;}

.report_hd {display:flex;justify-content: space-between;align-items: center;}
.report_hd p {font-size:46px;font-weight:700;padding-left:30px;position:relative;}
.report_hd p::before {display:block;content:"";width:8px;height:50px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translateY(-50%);} 




.report_list {width:100%;font-size:18px;background:#fcfcfc;border-top:3px solid var(--main-color);position:relative;}
.report_list li {display:flex;justify-content:space-between;gap:30px;align-items: center;border-bottom:1px solid #ccc;}
.report_list li div {display:flex;justify-content:space-between;align-items: center;width:85%;gap:30px;}
.report_list .report_name {width:100%;padding-left:5%;padding:16px 5%;} 
.report_list .report_date {width:15%;text-align: center;font-size:16px;color:#666;}

.report_list .report_none {color:#999;}
.report_list .report_none span {display:none;}
.report .page-nav {margin-top:0;}

#report_list {position:absolute;top:-200px;}

/* 게시글 상세보기 스타일 */
.report1_detail_con {display: flex; flex-direction: column; gap: 30px;}



/* 연합회 보고 report1 끝 */


/* 사업현황 status1 시작 */



.status_wrap {display:flex;flex-direction: column;gap:30px;}

.status_hd {display:flex;justify-content: space-between;align-items: center;}
.status_hd p {font-size:46px;font-weight:700;padding-left:30px;position:relative;}
.status_hd p::before {display:block;content:"";width:8px;height:50px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translate(0,-50%);} 




.status_list {width:100%;font-size:18px;background:#fcfcfc;border-top:3px solid var(--main-color);position:relative;}
.status_list li {display:flex;justify-content:space-between;gap:30px;align-items: center;border-bottom:1px solid #ccc;}
.status_list li div {display:flex;justify-content:space-between;align-items: center;width:85%;gap:30px;}
.status_list .status_name {width:100%;padding-left:5%;padding:16px 5%;} 
.status_list .status_date {width:15%;text-align: center;font-size:16px;color:#666;}

.status_list .status_none {color:#999;}
.status_list .status_none span {display:none;}
.status .page-nav {margin-top:0;}

#status_list {position:absolute;top:-200px;}

/* 게시글 상세보기 스타일 */
.status1_detail_con {display: flex; flex-direction: column; gap: 30px;}





/* 사업현황 status1 끝 */




/* 기도문 prayer 시작 */


.prayer_wrap {display:flex;flex-direction: column;gap:50px;}

.prayer_hd {position:relative;padding-left:30px;}
.prayer_hd::before {display:block;content:"";width:8px;height:90px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translateY(-50%);} 
.prayer_hd p {font-size:46px;font-weight:700;line-height:1;padding-bottom:10px;}
.prayer_hd span {font-size:22px;font-weight:500;color:#555;}
.prayer_text {font-size:18px;line-height:1.7;}



.prayer_list {width:100%;font-size:18px;background:#fcfcfc;border-top:3px solid var(--main-color);position:relative;}
.prayer_list li {display:flex;justify-content:space-between;gap:30px;align-items: center;padding:16px 0;border-bottom:1px solid #ccc;}
.prayer_list li div {display:flex;justify-content:space-between;align-items: center;width:85%;gap:30px;}
.prayer_list .prayer_name {max-width:70%;padding-left:5%;}
.prayer_list .prayer_written {min-width:30%;font-size:16px;}
.prayer_list .prayer_written a {display:inline-block;background:var(--main-color);padding:7px 20px;font-size:16px;color:#fff;border-radius:5px;}
.prayer_list .prayer_date {width:15%;text-align: center;font-size:16px;color:#666;}

.prayer_list .prayer_none {color:#999;}
.prayer_list .prayer_none span {display:none;}
.prayer .page-nav {margin-top:0;}

#prayer_list {position:absolute;top:-200px;}


/* 기도문 prayer 끝 */




/* 회칙 rule 시작*/

.rule_wrap {display:flex;flex-direction: column;gap:30px;}

.rule_hd {display:flex;justify-content: space-between;align-items: center;}
.rule_hd p {font-size:46px;font-weight:700;padding-left:30px;position:relative;}
.rule_hd p::before {display:block;content:"";width:8px;height:50px;background: var(--main-color);
    position:absolute;top:50%;left:0;transform: translateY(-50%);} 
.rule_hd select { width:100%;height:fit-content;padding:10px 20px;border-radius: 5px;border:1px solid #aaa;background:url('../img/down.png') no-repeat 92% center;}
.rule_hd>div {display:flex;width:200px;position:relative;height:fit-content;background:#fff;}

.rule_con {line-height:1.7;}
.rule_con span {display:inline-block;font-size:24px; font-weight:800;letter-spacing: 0.08em; }
.rule_con b {font-size:18px;}




/* 회칙 rule 끝*/







/* 여기서부터 반응형입니다. =========================== */
/* 여기서부터 반응형입니다. =========================== */
/* 여기서부터 반응형입니다. =========================== */






@media (max-width: 1500px) {

    .sub-box {
        gap:60px;
    }

    .sub_menu {
        width:30%;
    }

    .intro4_box {
        grid-template-columns: repeat(5, 1fr);
        gap:20px;
    }

}


@media (max-width: 1200px) {

    
    .subpage_hd p {
        font-size:38px;  
        padding-left:30px;
    }
    .subpage_hd p::before {
        width:6px;
        height:42px; 
    }

    .prayer_hd {
        padding-left:0;
    }

    .prayer_hd span {
        display: inline-block;
        width:100%;
        text-align: left; 
        padding-left:30px;
    }

    .prayer_hd::before {
        width:6px;
    }



    /* 연합회 약사 */
    .sub-box {gap: 50px;}

    /* 연합회 조직표 */
    .dept_grid {grid-template-columns: repeat(4, 1fr);}
    .spiritual_org {grid-template-columns: repeat(4, 1fr);}
    
    .intro3_tab span {
        padding: 12px 25px;
        font-size: 16px;
    }



    /* 지방회 소식 news2 */


    .news2_con1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news2_region h3 {
        font-size: 18px;
        padding: 18px 20px;
    }
    
    .news2_region ul {
        padding: 20px;
    }
    
    /* 지방회 소식 news2 detail */


    .news2_detail .news_hd {
        margin-bottom:0;
    }

    .news2_detail .news_hd p {
        font-size: 42px;
    }
    
    
    
    .news2_detail .news_hd p::before {
        height: 6px;
        width: 80px;
    }
    
    .news2_detail_tab span {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .news2_detail_wrap {
        padding: 30px;
    }
    
    .news2_detail_wrap h3 {
        font-size: 22px;
    }
    



.news2_detail_wrap3 ul li {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}



.news2_detail_wrap3 ul li i {
    font-size:30px;
    color:var(--main-color);
}

.news2_detail_wrap3 ul li h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 10px 0;
}

.news2_detail_wrap3 ul li span {
    display: flex;
    align-items: center;
    gap:10px;
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}


.news2_detail_wrap3 ul li span i {
    font-size:17px;
    color:#fff;
}

.news2_detail_wrap4 ul li h4 {
    font-size: 18px;
    font-weight: 700; 
}

.news2_detail_wrap4 ul li span {
    display: flex;
    align-items: center;
    gap:10px;
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}


.news2_detail_wrap4 ul li span i {
    font-size:17px;
    color:#fff;
}

.news2_detail_wrap4 .people_tag {
    color:var(--main-color);
    border:1px solid var(--main-color);
    padding:0px 10px;
    width:fit-content;
    border-radius:10px;
    font-size:16px;
}





    /* 포토갤러리 news4 */
    .news_photo {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .gallery_info {
        padding: 18px;
    }
    
    .gallery_info p {
        font-size: 15px;
    }

    /* 카드형 활동보고 */
    .month_header h3 {font-size: 32px;}
    .month_header::before {height: 35px;}

    /* 게시글 상세보기 */
    .detail_title_wrap {padding: 25px;}
    .detail_title_wrap h2 {font-size: 24px;}
    .content_body {padding: 35px;}
    .content_body h3 {font-size: 22px;}
    .content_body h4 {font-size: 18px;}
    .nav_item {padding: 18px 25px;}

}

@media (max-width: 1024px) {

    /* 공통 */
    .intro4 .sub-box {
        flex-direction: column;
        gap: 30px;
    }


    .intro1_con p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .intro1_con ul li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3em;
    font-size: 16px;}

    .intro1_con ul li span {
        font-family: 'MaruBuriBold';
        font-size: 18px;
    }




    .intro1_con02 {
        display:flex;
        gap:20px;
        flex-direction: column;
        margin-bottom:30px;
    }
    
    .intro1_con02 .intro1_box {
        display:flex;
        align-items: center;
        gap:20px;
        font-size:16px;
        line-height:1.5;
        padding:20px;
        border-radius: 10px;
    }
    
    .intro1_con02 .intro1_box span {
        display: flex;
        font-size:20px;
        width:30px;
        height:30px;
        border-radius: 100px;
        align-items: center;
        justify-content: center;
    } 




    /* 연합회 약사 */
    .intro2 .sub-box {flex-direction: column;gap: 30px;}

    /* 연합회 조직표 */
    .top_org {grid-template-columns: repeat(3, 1fr);}
    .spiritual_org {grid-template-columns: repeat(3, 1fr);}
    
    .intro3_tab span {
        padding: 10px 20px;
        font-size: 15px;


    }





    /* 지방회 소식 news2 */
    .news2_con1 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news2_region h3 {
        font-size: 20px;
        padding: 16px 18px;
    }
    
    .news2_region ul {
        padding: 18px;
    }
    
    .news2_region ul li {
        font-size: 18px;
        padding: 10px 0;
    }
    
    /* 지방회 소식 news2 detail */
    .news2_detail .news_hd p {
        font-size: 38px;
    }
    
    
    .news2_detail .news_hd span {
        font-size:20px;
    }
    
    .news2_detail_tab span {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .news2_detail_wrap {
        padding: 20px;
    }
    
    .news2_detail_wrap h3 {
        font-size: 20px;
    }
    
    .news2_detail_wrap3 ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news2_detail_wrap div {
        font-size:16px;
    }
    



/* 소속 교회 목록 스타일 */
.news2_detail_wrap4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

    




    /* 포토갤러리 news4 */
    .news_photo {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .gallery_info {
        padding: 16px;
    }
    
    .gallery_info p {
        font-size: 14px;
    }
    
    .gallery_info span {
        font-size: 13px;
    }

    /* 카드형 활동보고 */
    .activity_cards_wrap {gap: 35px;}
    .month_section {gap: 20px;}
    .month_header h3 {font-size: 28px;}
    .activity_card {padding: 18px; gap: 16px;}
    .activity_card .date {width: 50px; height: 50px; font-size: 16px;}
    .activity_card .content h4 {font-size: 15px;}

    /* 게시글 상세보기 */
    .mm1_detail_con {gap: 25px;}
    .detail_title_wrap {padding: 20px;}
    .detail_title_wrap h2 {font-size: 22px;}
    .content_body {padding: 30px;}
    .content_body h3 {font-size: 20px;}
    .content_body h4 {font-size: 17px;}
    .content_body p, .content_body li {font-size: 15px;}
    .nav_item {padding: 16px 20px;}
    .nav_title {font-size: 15px;}
}

@media (max-width: 768px) {

    /* 공통 */
    .intro4 .sub-box {
        gap: 20px;
    }

    .subpage_hd {
        justify-content: center;
        flex-direction: column;
    }

    .subpage_hd p {
        font-size:30px;
        padding-left: 0;
        text-align: center;
    }
    .subpage_hd p::before {
        width:50px;
        height:4px;
        top:-10px;
        left:50%;
        transform:translate(-50%,0);
    }

    .prayer_hd span {
        padding-left:0;
        text-align: center;
    }

    .prayer_hd::before {
        
        width:100px;
        height:4px;
        top:-15px;
        left:50%;
        transform:translate(-50%,0);
    }


    .meeting_list .meeting_date {
        width: unset;
        text-align: center;
        font-size: 16px;
        color: #666;
    }

    .news_list .news_date {
        width:unset;
    }

    /* 게시판 */

    .board_wrap li {
        flex-direction: column;
        gap:0;
        align-items: flex-start;
    }
    .board_wrap li div {
        width:100%;
    }

    .board_con a {
        padding:10px 5% 5px !important;
        font-size:16px;
    }

    .board_con span {
        padding:0 5% 10px;
        font-size:14px !important;
    }

    .page-nav {
        gap:30px;
    }

    .page-nav ul {
        gap:20px;
    }
    .page-nav ul li, .page-nav .page-btn i {
        font-size:16px;
    }

    .prayer_list li div {
        gap:10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .prayer_list .prayer_written {
        width:100%;
    }

    .prayer_list .prayer_name {
        width:100%;
    }




    /* 연합회 약사 */
    .history_list {padding-left: 20px;border-left-width: 2px;}
    .history_item::before {left: -29px;}
    .history_year {font-size: 24px;}
    .history_content {flex-direction: column;gap: 15px;}
    .history_content .date {width: auto;font-size: 16px;padding-left: 0;}
    .history_content .text {padding: 15px;}
    .history_content .text strong {font-size: 16px;}
    .history_content .text span {font-size: 15px;}

    /* 연합회 조직표 */
    



    .chart_subtitle {font-size: 16px;}
    .top_org {grid-template-columns: repeat(2, 1fr);}
    .dept_grid {grid-template-columns: repeat(3, 1fr);}
    .org_table th, .org_table td, .dept_table th, .dept_table td, .spiritual_table th, .spiritual_table td {font-size: 14px;padding: 10px;}
    .spiritual_org {grid-template-columns: repeat(2, 1fr);}
    
    .single_line_box {flex-direction: column;}
    .single_line_box .org_title {width: 100%;border-right: 0;border-bottom: 1px solid #ddd; padding: 12px;}
    .single_line_box .org_members {border-left: 0;}
    
    .intro3_tab {
        flex-wrap: wrap; 
    }
    
    .intro3_tab span {
        padding: 8px 16px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }


        
    .intro3_tab {
        flex-direction: column;
        gap: 0;
    }
    
    .intro3_tab span {
        padding: 10px 15px;
        font-size: 16px;
        border-radius: 0;
    }
    
    .intro3_tab span:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        
    }
    
    .intro3_tab span:last-child {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
    }
    
    

    
    .intro4_box {
        grid-template-columns: repeat(4, 1fr);
        gap:10px;
    }

    /* 지방회 소식 news2 */
    .news2_con1 {
        gap: 18px;
    }
    
    .news2_region h3 {
        font-size: 20px;
        padding: 10px 16px;
    }
    
    .news2_region ul {
        padding: 15px;
    }
    
    .news2_region ul li {
        font-size: 16px;
        padding: 8px 0;
    }
    
    .news2_region ul li::before {
        font-size: 16px;
        margin-right: 10px;
    }
    
    /* 지방회 소식 news2 detail */
    .news2_detail .news_hd p {
        font-size: 30px;
    }
    

        
    .news2_detail .news_hd p::before {
        height: 4px;
        width: 50px;
        top:-10px;
    }

    .news2_detail .news_hd span {
        font-size:18px;
    }
    
    .news2_detail_tab {
        flex-direction: column;
        gap: 0;
    }
    
    .news2_detail_tab span {
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 0;
    }
    
    .news2_detail_tab span:first-child {
        border-radius: 0;
    }
    
    .news2_detail_tab span:last-child {
        border-radius: 0;
    }



    .news2_detail_tab span {
        padding: 8px 16px;
        font-size: 16px;
        flex: 1;
        text-align: center;
    }
    
    .news2_detail_wrap {
        padding: 18px;
    }
    
    .news2_detail_wrap h3 {
        font-size: 18px;
    }
    
    .news2_detail_wrap div {
        font-size: 14px;
    }
    
    .news2_detail_wrap3 ul li a {
        padding: 15px;
    }
    
    .news2_detail_wrap3 ul li h4 {
        font-size: 16px;
    }
    
    .news2_detail_wrap3 ul li span {
        font-size: 13px;
    }
    
    .news2_detail_wrap3 figure {
        width:20px;
        aspect-ratio: 1 / 1;
        background: var(--main-color);
        padding:4px;
        border-radius:5px;
    }
    



.news2_detail_wrap4 ul li { 
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    padding: 16px;
}


.news2_detail_wrap4 ul li i {
    font-size:30px;
    color:var(--main-color);
}

.news2_detail_wrap4 ul li h4 {
    font-size: 16px;
    font-weight: 700; 
}

.news2_detail_wrap4 ul li span {
    display: flex;
    align-items: center;
    gap:10px;
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}


.news2_detail_wrap4 ul li span i {
    font-size:17px;
    color:#fff;
}

.news2_detail_wrap4 ul li div {
    display:flex;
    justify-content: space-between;
}

.news2_detail_wrap4 figure {
    width:25px;
    aspect-ratio: 1 / 1;
    background: var(--main-color);
    padding:4px;
    border-radius:5px;
}

.news2_detail_wrap4 .people_tag {
    color:var(--main-color);
    border:1px solid var(--main-color);
    padding:0px 10px;
    width:fit-content;
    border-radius:10px;
    font-size:13px;
}




    
    /* 포토갤러리 news4 */
    .news_photo {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery_info {
        padding: 14px;
    }
    
    .gallery_info p {
        font-size: 14px;
        -webkit-line-clamp: 1;
    }
    
    .gallery_info span {
        font-size: 12px;
    } 

    /* 카드형 활동보고 */
    .activity_cards {grid-template-columns: repeat(1, 1fr); gap: 15px;}
    .activity_cards_wrap {gap: 30px;}
    .month_section {gap: 18px;}
    .month_header {padding-left: 20px;}
    .month_header h3 {font-size: 24px;}
    .month_header::before {width: 4px; height: 30px;}
    .activity_card {padding: 16px; gap: 14px;}
    .activity_card .date {width: 45px; height: 45px; font-size: 14px;}
    .activity_card .content h4 {font-size: 14px;}
    .activity_card .content .location {font-size: 13px; padding: 3px 10px;}

    /* 게시글 상세보기 */
    .mm1_detail_con {gap: 20px;}
    .detail_title_wrap {padding: 18px;}
    .detail_title_wrap h2 {font-size: 20px;}
    .detail_meta {flex-wrap: wrap; gap: 5px;}
    .content_body {padding: 25px;font-size:16px;}
    .content_body h3 {font-size: 18px;}
    .content_body h4 {font-size: 16px;}
    .content_body h5 {font-size: 15px;}
    .content_body p, .content_body li {font-size: 14px;}
    .nav_item {padding: 15px 18px;}
    .nav_link {flex-direction: column; align-items: flex-start; gap: 5px;}
    .nav_title {font-size: 14px;}
    .nav_date {margin-left: 0; font-size: 13px;}
    .attachment_wrap {margin-top: 30px; padding-top: 20px;}
    .attachment_link {padding: 10px 14px;}
    

}

@media (max-width: 480px) {

    /* 공통 */
    .intro4 .sub-box {
        gap: 15px;
    }

    .subpage_hd p {
        font-size:24px;
    }

    .prayer_hd span {
        font-size:18px;
    }


    .intro1_con p {
        font-size: 14px;
        line-height: 1.5;
    }

    .intro1_img {height:240px;}
    



    .intro1_con02 {
        display:flex;
        gap:10px;
        flex-direction: column;
        margin-bottom:30px;
    }
    
    .intro1_con02 .intro1_box {
        display:flex;
        align-items: center;
        gap:20px;
        font-size:14px;
        line-height:1.5;
        padding:16px;
        border-radius: 10px;
    }
    
    .intro1_con02 .intro1_box span {
        display: flex;
        font-size:18px;
        width:26px;
        height:26px;
        border-radius: 100px;
        align-items: center;
        justify-content: center;
    } 



    /* 연합회 약사 */
    .history_year {font-size: 20px;}
    .history_content .text span {font-size: 14px;}

    /* 연합회 조직표 */
    .top_org {grid-template-columns: 1fr;}
    .dept_grid {grid-template-columns: repeat(2, 1fr);}
    .dept_table_wrap {font-size: 13px; width: 100%; overflow-x: auto;}
    .dept_table {white-space: nowrap;}
    .dept_table th, .dept_table td {padding: 8px;}
    .org_table th, .org_table td, .spiritual_table th, .spiritual_table td {font-size: 13px;padding: 8px;}
    .spiritual_org {grid-template-columns: 1fr;}
    .dept_box {font-size: 14px;}
    
    .intro3_tab {
        flex-direction: column;
        gap: 0;
    }
    
    .intro3_tab span {
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 0;
    }
    
    .intro3_tab span:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        
    }
    
    .intro3_tab span:last-child {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
    }
    

    /* 지방회 소식 news2 */
    .news2_con1 {
        gap: 15px;
    }
    
    .news2_region h3 {
        font-size: 18px;
        padding: 8px 15px;
    }
    
    .news2_region ul {
        padding: 12px;
    }
    
    .news2_region ul li {
        font-size: 14px ;
        padding: 6px 0;
    }
    
    .news2_region ul li::before {
        font-size: 15px;
        margin-right: 8px;
    }
    
    .news2_region ul li:hover {
        padding-left: 8px;
    }
    
    /* 지방회 소식 news2 detail */
    .news2_detail .news_hd p {
        font-size: 24px;
    }
    
    .news2_detail .news_hd p::before {
        height: 4px;
        width: 50px;
    }
    
    .news2_detail .news_hd span {
        font-size: 16px;
    }
    
    .news2_detail_tab {
        flex-direction: column;
        gap: 0;
    }
    
    .news2_detail_tab span {
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 0;
    }
    
    .news2_detail_tab span:first-child {
        border-radius: 0;
    }
    
    .news2_detail_tab span:last-child {
        border-radius: 0;
    }
    
    .news2_detail_wrap {
        padding: 15px;
    }
    
    .news2_detail_wrap h3 {
        font-size: 16px;
    }
    
    .news2_detail_wrap div {
        font-size: 13px;
    }
    
    .news2_detail_wrap3 ul li a {
        padding: 12px;
    }
    
    .news2_detail_wrap3 ul li h4 {
        font-size: 14px;
    }
    
    .news2_detail_wrap3 ul li span {
        font-size: 12px;
    }
    
    /* 포토갤러리 news4 */
    .news_photo {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery_info {
        padding: 12px;
    }
    
    .gallery_info p {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }
    
    .gallery_info span {
        font-size: 11px;
    }

    /* 카드형 활동보고 */
    .activity_cards {grid-template-columns: 1fr; gap: 12px;}
    .activity_cards_wrap {gap: 25px;}
    .month_section {gap: 15px;}
    .month_header h3 {font-size: 20px;}
    .month_header::before {width: 3px; height: 25px;}
    .activity_card {padding: 14px; gap: 12px; flex-direction: row; align-items: flex-start;}
    .activity_card .date {width: 40px; height: 40px; font-size: 13px; flex-shrink: 0;}
    .activity_card .content {gap: 6px;}
    .activity_card .content h4 {font-size: 13px; line-height: 1.3;}
    .activity_card .content .location {font-size: 12px; padding: 2px 8px;}





    /* 게시글 상세보기 */
    /* .mm_hd p {font-size: 32px;} */
    /* .mm_hd p::before {height: 35px;} */
    .mm1_detail_con {gap: 18px;}
    .detail_title_wrap {padding: 15px;}
    .detail_title_wrap h2 {font-size: 18px; line-height: 1.3;}
    .detail_meta {font-size: 13px;}
    .content_body {padding: 20px;font-size:14px;}
    .content_body h3 {font-size: 16px;}
    .content_body h4 {font-size: 15px;}
    .content_body h5 {font-size: 14px;}
    .content_body p, .content_body li {font-size: 13px; line-height: 1.6;}
    .content_body ul, .content_body ol {padding-left: 15px;}
    .nav_item {padding: 12px 15px;}
    .nav_title {font-size: 13px; line-height: 1.3;}
    .nav_date {font-size: 12px;}
    .attachment_wrap {margin-top: 25px; padding-top: 15px;}
    .attachment_link {padding: 8px 12px; flex-direction: column; align-items: flex-start; gap: 5px;}
    .attachment_link .file_name {font-size: 13px;}
    .attachment_link .file_size {font-size: 12px;}
    .btn_list {padding: 10px 25px; font-size: 14px;}



    .prayer_text {
        font-size:14px;
    }


}


























