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






/* 메인페이지 */

/* 공통 */

.sub-box {display:flex;gap:100px;align-items:flex-start;width:100%;box-sizing:border-box;}
/* 좌측 sub_menu(25%) 옆 본문(div.news_wrap 등 / CMS section)이 잔여 폭 전체 사용 — j_kmc .sub-box>div{width:100%} 동등 */
.sub-box>div,
.sub-box>section:not(.sub_menu) {flex:1 1 auto;width:100%;min-width:0;box-sizing:border-box;}
.sub-box>section.sub_menu {flex:0 0 auto;min-width:0;}


/* 게시판 */
.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 끝 */

/* 인사말 greeting (page_template=greeting) */
.greeting_wrap .greeting_body p { margin: 0; }
.greeting_wrap .greeting_principles { margin-top: 10px; }
.greeting_wrap .greeting_sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}
.greeting_wrap .greeting_sign_name {
  font-weight: 600;
  color: #222;
}
.greeting_wrap .greeting_sign_date {
  color: #666;
  font-size: 16px;
}

/* greeting + intro1 반응형 (lead 높이·gap·본문·원칙 박스) */
@media (max-width: 1024px) {
  .greeting_wrap .intro1_img,
  .intro1_wrap .intro1_img,
  .intro1_img { height: 280px; }
  .greeting_wrap .intro1_con { gap: 22px; }
}
@media (max-width: 768px) {
  .greeting_wrap .intro1_img,
  .intro1_wrap .intro1_img,
  .intro1_img { height: 220px; }
  .greeting_wrap .intro1_con { gap: 18px; }
  .greeting_wrap .intro1_con p,
  .intro1_con p { font-size: 15px; line-height: 1.65; }
  .greeting_wrap .intro1_con02 { gap: 12px; margin-bottom: 20px; }
  .greeting_wrap .intro1_con02 .intro1_box { padding: 16px; gap: 14px; }
  .greeting_wrap .greeting_sign { margin-top: 8px; font-size: 16px; }
  .greeting_wrap .greeting_sign_date { font-size: 14px; }
  .sub-box { min-width: 0; }
}
@media (max-width: 480px) {
  .greeting_wrap .intro1_img,
  .intro1_wrap .intro1_img,
  .intro1_img { height: 180px; border-radius: 12px; }
  .greeting_wrap .intro1_con p,
  .intro1_con p { font-size: 14px; }
  .greeting_wrap .intro1_con02 .intro1_box { padding: 14px; font-size: 14px; }
  .greeting_wrap .intro1_con02 .intro1_box span { width: 28px; height: 28px; font-size: 16px; }
}

/* 연합회 약사 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;}

/* 조직 안내 spacing (menu organization / intro3) — 타이틀↔본문 gap을 intro_wrap 과 맞춤 */
.intro3_wrap {
    gap: 28px;
}
.intro3_wrap .intro_hd {
    margin: 0;
}
.intro3_wrap .intro3_tab {
    margin: 0; /* parent gap only — 탭 아래 과한 여백 제거 */
    flex-shrink: 0;
}
.intro3_wrap .intro3_con {
    width: 100%;
    flex-direction: column;
    gap: 32px; /* 섹션(제목+표) 사이 */
    margin: 0;
    padding: 0;
}
.intro3_wrap .org_section {
    display: flex;
    flex-direction: column;
    gap: 14px; /* 섹션 제목 ↔ 표 */
    width: 100%;
    min-width: 0;
    margin: 0;
}
.intro3_wrap .org_section .intro3_title {
    margin: 0; /* gap 으로만 간격 */
    box-sizing: border-box;
}
.intro3_wrap .org_table_wrap {
    width: 100%;
    min-width: 0;
    margin: 0;
}
.intro3_wrap .org_table {
    margin: 0;
}

@media (max-width: 768px) {
    .intro3_wrap {
        gap: 14px;
    }
    .intro3_wrap .intro3_con {
        gap: 24px;
    }
    .intro3_wrap .org_section {
        gap: 10px;
    }
    .intro3_wrap .intro3_title {
        font-size: 18px;
        padding: 10px 20px;
    }
}

/* 연합회 조직표 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('https://d293d5ujo4f7wd.cloudfront.net/static/homepage/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,
.news2_detail_wrap3 ul li .church_card {
    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,
.news2_detail_wrap3 ul li .church_list_con {
    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;
    justify-content:flex-start;
    text-align:left;
}

.church_homepage_link {
    padding: 0 !important;
    justify-content:flex-start;
    text-align:left;
}

.news2_detail_wrap3 ul li a.church_homepage_link {
    justify-content:flex-start;
    text-align:left;
    padding:0 !important;
}

.news2_detail_wrap3 ul li a.church_homepage_link span {
    text-align:left;
}

.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 .board_row_link,
.meeting_list .board_row_link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 30px;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 5%;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    cursor: pointer;
}
.news_list .board_row_link:hover .board_row_main p,
.meeting_list .board_row_link:hover .board_row_main p {
    color: var(--main-color);
}
.board_row_main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}
.board_row_main p {
    margin: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.news_list .news_name {display:flex;gap:10px;width:100%;padding-left:5%;padding:16px 5%;}
/* board_row_link 가 news_name 겸용 시 패딩 이중 적용 방지 */
.news_list a.board_row_link.news_name,
.meeting_list a.board_row_link.meeting_name {
    padding: 16px 5%;
    width: 100%;
}

.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; flex-shrink: 0;}
.news1 span.news_tag1, .news2 span.news_tag1 {background:#0a5fb8;}
.news1 span.news_tag2, .news2 span.news_tag2 {background:#3da8ff;}
.news1 span.news_tag3, .news2 span.news_tag3 {background:#5bb8ff;}

.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; flex-shrink: 0;}
.news_list .board_row_link .news_date { width: auto; min-width: 6.5em; text-align: right; }

.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; flex-shrink: 0;}
.meeting_list .board_row_link .meeting_date { width: auto; min-width: 6.5em; text-align: right; }

.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;}

/* 게시글 상세보기 스타일 — 전 게시판 공통 컨테이너 */
.news1_detail_con,
.meeting1_detail_con,
.mm1_detail_con,
.report1_detail_con,
.status1_detail_con {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* 제목 영역 */
.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); min-width: 0; box-sizing: border-box;}
.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; overflow-wrap: anywhere;}
.detail_meta {display: flex; align-items: center; gap: 10px; color: #666; font-size: 18px; flex-wrap: wrap;}
.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); min-width: 0; box-sizing: border-box;}
/* 게시판형 상세: 내용이 적어도 본문 카드 높이 유지 (스크롤 박스 아님 — 아래로 늘어남) */
.content_body {
    padding: 40px;
    line-height: 1.8;
    color: #333;
    font-size: 18px;
    min-height: 420px;
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.content_body > .ql-viewer {overflow:visible; min-width: 0;}
.content_body > .content_scroll_area {
    height: auto;
    max-height: none;
    min-height: 320px;
    overflow: visible;
    box-sizing: border-box;
    min-width: 0;
}
/* 본문 미디어/표 가로 넘침 방지 */
.content_body img,
.content_body .ql-viewer img,
.ql-viewer img,
.gallery_detail_figure img {
    max-width: 100%;
    height: auto;
}
.content_body table {
    max-width: 100%;
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.content_body pre,
.content_body code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
/* 회원 마당 등 동일 상세 카드 */
.community_detail .detail_content_wrap .content_body,
.news1_detail_con .content_body {
    min-height: 420px;
}
.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); min-width: 0;}
.nav_item {padding: 20px 30px; position: relative; min-width: 0; box-sizing: border-box;}
.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; gap: 12px; text-decoration: none; transition: color 0.2s ease; min-width: 0;}
.nav_link:hover .nav_title {color: var(--main-color);}
.nav_title {font-size: 18px; color: #333; font-weight: 500; flex: 1 1 auto; min-width: 0; word-break: keep-all; overflow-wrap: anywhere;}
.nav_date {font-size: 16px; color: #666; margin-left: 0; flex-shrink: 0; white-space: nowrap;}

/* 목록 버튼 */
.detail_actions {display: flex; justify-content: center; width: 100%;}
.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; white-space: nowrap; text-align: center; box-sizing: border-box;}
.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 끝 */




/* 회원 마당 community — param=6 공지 목록과 동일 news_list 축 + 글쓰기만 추가 */

.community_wrap {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* 제목(news_hd) 옆 글쓰기: news_hd 는 이미 flex */
.community_wrap .news_hd.community_hd {
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
}
.community_wrap .news_hd.community_hd > p {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}
.community_hd_actions {
    flex: 0 0 auto;
}
.community_write_btn {
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.community_write_btn:hover {
    background: #0770d4;
}

/* 목록 링크 호버 (news_name 과 동일 톤) */
.community_board_list .news_name {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.community_board_list .news_name p {
    margin: 0;
    word-break: keep-all;
}
.community_board_list .news_name:hover p {
    color: var(--main-color);
}

.community_demo_note {
    margin: 16px 0 0;
    font-size: 13px;
    color: #888;
}

/* 목록: 제목 | 작성자 | 날짜 — 행 전체 링크 */
.community_board_list.news_list li > div {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
}
.community_board_list .board_row_link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
    width: 100%;
    padding: 16px 5%;
    box-sizing: border-box;
}
.community_board_list .community_writer {
    flex: 0 0 auto;
    min-width: 4.5em;
    max-width: 8em;
    text-align: center;
    font-size: 16px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.community_board_list .news_date {
    flex: 0 0 auto;
    width: auto;
    min-width: 6em;
}
.community_detail_meta .detail_meta_label {
    color: #888;
    margin-right: 6px;
    font-size: 0.95em;
}
.community_detail_meta .detail_meta_item {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

/*
 * 상세 패널 숨김 강제
 * .news1_detail_con { display:flex } 가 [hidden] 을 덮어써서
 * 목록 화면에 빈 상세 카드(detail_title_wrap 등)가 보이던 문제 수정
 * JS hideDetail 이 news1_detail_con 클래스도 제거(PRIMARY); 아래는 belt
 */
#communityDetail[hidden],
.community_detail[hidden],
.community_detail.is-template-hidden {
    display: none !important;
}
/* 상세 flex: 보일 때만 (news1_detail_con 은 reveal 시 JS 가 부여) */
#communityDetail:not([hidden]).news1_detail_con,
.community_detail:not([hidden]):not(.is-template-hidden).news1_detail_con {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    min-width: 0;
}
.community_detail .btn_list {
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.community_detail .content_scroll_area p {
    margin: 0 0 12px;
}
.community_detail .content_scroll_area ul {
    margin: 0 0 12px;
    padding-left: 1.2em;
}

@media (max-width: 768px) {
    .community_wrap .news_hd.community_hd > p {
        font-size: 28px;
    }
    .community_write_btn {
        padding: 10px 16px;
        font-size: 14px;
        width: 100%;
    }
    .community_hd_actions {
        width: 100%;
    }
    .community_board_list .community_writer {
        max-width: 5em;
        font-size: 14px;
    }
    .community_board_list .news_date {
        font-size: 13px;
        min-width: 0;
    }
}

/* 회원 마당 community 끝 */



/* 회칙 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('https://d293d5ujo4f7wd.cloudfront.net/static/homepage/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;}

/* menu policy 문서 — 조문 가독성 (span 대형 스타일 회피, b/strong 위주) */
.menu-param .rule_hd>div {width:min(320px, 100%);}
.menu-param .rule_con {font-size:16px;color:#333;}
.menu-param .rule_con p {margin:0 0 12px;}
.menu-param .rule_con b,
.menu-param .rule_con strong {font-size:17px;font-weight:600;display:block;margin:20px 0 8px;}
.policy-demo-note {font-size:13px;color:#888;margin-top:24px;}

/* 회칙 rule 끝*/







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






@media (max-width: 1500px) {

    .sub-box {
        gap:60px;
    }

    .sub_menu {
        width:30%;
        flex-shrink: 0;
    }

    .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;
    }



    /* 좁은 화면: 사이드 서브메뉴 + 본문 세로 스택 (style.css 1200 과 동일 gap) */
    .sub-box {
        flex-direction: column;
        gap: 32px; /* 서브탭 ↔ 페이지 타이틀 공통 간격 */
        width: 100%;
    }

    .sub_menu {
        width: 100%;
    }

    /* 연합회 조직표 */
    .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;}

    /* 게시글 상세보기 (전 게시판 공통) */
    .news1_detail_con,
    .meeting1_detail_con,
    .mm1_detail_con,
    .report1_detail_con,
    .status1_detail_con { gap: 26px; }
    .detail_title_wrap {padding: 25px;}
    .detail_title_wrap h2 {font-size: 24px;}
    .detail_meta {font-size: 16px;}
    .content_body {padding: 32px; min-height: 360px; font-size: 17px;}
    .content_body > .content_scroll_area {min-height: 280px;}
    .content_body h3 {font-size: 22px;}
    .content_body h4 {font-size: 18px;}
    .nav_item {padding: 18px 24px;}
    .nav_title {font-size: 17px;}
    .nav_date {font-size: 15px;}

}

@media (max-width: 1024px) {

    /* 공통 — sub-box gap 은 공통 토큰(32) 유지, intro4 만 column */
    .intro4 .sub-box {
        flex-direction: column;
    }

    .greeting_wrap .intro1_img,
    .intro1_wrap .intro1_img,
    .intro1_img { height: 280px; }
    .greeting_wrap .intro1_con { gap: 22px; }

    .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;
    } 




    /* 연합회 약사 — gap 은 .sub-box 공통값 사용 */
    .intro2 .sub-box { flex-direction: column; }

    /* 연합회 조직표 */
    .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;}

    /* 게시글 상세보기 (전 게시판 공통) */
    .news1_detail_con,
    .meeting1_detail_con,
    .mm1_detail_con,
    .report1_detail_con,
    .status1_detail_con { gap: 24px; }
    .detail_title_wrap {padding: 20px 22px;}
    .detail_title_wrap h2 {font-size: 22px;}
    .detail_meta {font-size: 15px;}
    .content_body {padding: 28px; min-height: 300px; font-size: 16px;}
    .content_body > .content_scroll_area {min-height: 220px;}
    .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;}
    .nav_date {font-size: 14px;}
    .btn_list {padding: 12px 28px; font-size: 15px;}
}

@media (max-width: 768px) {

    /* 공통 — intro4 페이지별 gap 오버라이드 제거(공통 28 유지) */
    .sub-box { min-width: 0; }

    /* 게시글 상세 — 태블릿~모바일 공통 다듬기 */
    .news1_detail_con,
    .meeting1_detail_con,
    .mm1_detail_con,
    .report1_detail_con,
    .status1_detail_con { gap: 20px; }
    .detail_title_wrap { padding: 18px 16px; border-radius: 10px; }
    .detail_title_wrap h2 { font-size: 20px; margin-bottom: 10px; }
    .detail_meta { font-size: 14px; gap: 8px; }
    .detail_content_wrap { border-radius: 10px; }
    .content_body {
        padding: 20px 16px;
        font-size: 15px;
        line-height: 1.7;
        min-height: 240px;
    }
    .content_body > .content_scroll_area { min-height: 180px; }
    .content_body h3 { font-size: 18px; margin-bottom: 14px; }
    .content_body h4 { font-size: 16px; margin: 20px 0 10px; }
    .content_body h5 { font-size: 15px; }
    .content_body p,
    .content_body li { font-size: 15px; }
    .news1_detail_con .content_body,
    .community_detail .detail_content_wrap .content_body { min-height: 240px; }
    .attachment_wrap { margin-top: 24px; padding-top: 18px; }
    .attachment_link {
        padding: 12px 14px;
        gap: 8px;
        min-height: 44px;
        box-sizing: border-box;
    }
    .attachment_link .file_name {
        font-size: 14px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .detail_navi { border-radius: 10px; }
    .nav_item { padding: 14px 16px; }
    .nav_label { font-size: 13px; margin-bottom: 6px; }
    .nav_link {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .nav_title { font-size: 15px; line-height: 1.4; }
    .nav_date { font-size: 13px; margin-left: 0; }
    .detail_actions { padding: 0 4px; }
    .btn_list {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 15px;
        min-height: 44px;
    }
    .greeting_wrap .intro1_img,
    .intro1_wrap .intro1_img,
    .intro1_img { height: 220px; }
    .greeting_wrap .intro1_con { gap: 18px; }
    .greeting_wrap .intro1_con p,
    .intro1_con p { font-size: 15px; line-height: 1.65; }
    .greeting_wrap .intro1_con02 { gap: 12px; margin-bottom: 20px; }
    .greeting_wrap .intro1_con02 .intro1_box { padding: 16px; gap: 14px; }
    .greeting_wrap .greeting_sign { margin-top: 8px; font-size: 16px; }
    .greeting_wrap .greeting_sign_date { font-size: 14px; }

    /* 서브탭 ↔ 타이틀: sub-box gap 28 + 액센트 바는 문서 흐름(음수 top 금지) */
    .sub-box {
        gap: 28px;
    }
    .sub-box > *:not(.sub_menu) > .subpage_hd:first-child {
        margin-top: 0;
        margin-bottom: 0;
    }
    .subpage_hd {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px; /* 초록 바 ↔ 타이틀 글자 */
        margin: 0;
        padding: 0;
    }
    .subpage_hd p {
        font-size: 30px;
        font-weight: 700;
        padding-left: 0;
        text-align: center;
        position: relative;
        margin: 0;
    }
    .subpage_hd p::before {
        content: "";
        display: block;
        position: static;
        width: 48px;
        height: 4px;
        margin: 0 auto;
        transform: none;
        top: auto;
        left: auto;
        background: var(--main-color);
    }

    .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: stretch;
    }
    .board_wrap li div {
        width:100%;
    }

    .board_con a,
    .board_con a.board_row_link {
        padding: 12px 5% !important;
        font-size:16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .board_con .board_row_main {
        width: 100%;
        flex-wrap: wrap;
    }

    .board_con span.news_date,
    .board_con span.meeting_date,
    .board_con .board_row_link .news_date,
    .board_con .board_row_link .meeting_date,
    .board_con .board_row_link .community_writer {
        padding: 0;
        font-size:14px !important;
        text-align: left;
        min-width: 0;
        width: auto;
    }

    .community_board_list .board_row_link {
        flex-direction: column;
        align-items: flex-start;
    }

    .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;}

    /* 게시글 상세보기 (480) */
    .news1_detail_con,
    .meeting1_detail_con,
    .mm1_detail_con,
    .report1_detail_con,
    .status1_detail_con { gap: 16px; }
    .detail_title_wrap { padding: 16px 14px; }
    .detail_title_wrap h2 { font-size: 18px; }
    .detail_meta { flex-wrap: wrap; gap: 6px; font-size: 13px; }
    .content_body {
        padding: 16px 14px;
        font-size: 15px;
        min-height: 200px;
    }
    .content_body > .content_scroll_area { min-height: 160px; }
    .news1_detail_con .content_body,
    .community_detail .detail_content_wrap .content_body { min-height: 200px; }
    .content_body h3 { font-size: 17px; }
    .content_body h4 { font-size: 15px; }
    .content_body h5 { font-size: 14px; }
    .content_body p, .content_body li { font-size: 14px; }
    .nav_item { padding: 12px 14px; }
    .nav_link { flex-direction: column; align-items: flex-start; gap: 4px; }
    .nav_title { font-size: 14px; }
    .nav_date { margin-left: 0; font-size: 12px; }
    .attachment_wrap { margin-top: 20px; padding-top: 16px; }
    .attachment_link { padding: 10px 12px; }
    .btn_list { max-width: 100%; padding: 12px 16px; font-size: 14px; }

}

@media (max-width: 480px) {

    /* 공통 — 480에서도 탭↔타이틀 gap 은 28 공통 유지 */
    .subpage_hd p {
        font-size:24px;
    }

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


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

    /* greeting lead 스케일과 정합 (이전 240 → 180) */
    .intro1_img { height: 180px; border-radius: 12px; }

    .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:14px;
        border-radius: 10px;
    }
    
    .intro1_con02 .intro1_box span {
        display: flex;
        font-size:16px;
        width:28px;
        height:28px;
        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;}





    /* 게시글 상세보기 (360) */
    .news1_detail_con,
    .meeting1_detail_con,
    .mm1_detail_con,
    .report1_detail_con,
    .status1_detail_con { gap: 14px; }
    .detail_title_wrap { padding: 14px 12px; }
    .detail_title_wrap h2 { font-size: 17px; line-height: 1.35; }
    .detail_meta { font-size: 12px; }
    .content_body {
        padding: 14px 12px;
        font-size: 14px;
        min-height: 180px;
    }
    .content_body > .content_scroll_area { min-height: 140px; }
    .news1_detail_con .content_body,
    .community_detail .detail_content_wrap .content_body { min-height: 180px; }
    .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; }
    .nav_title { font-size: 13px; line-height: 1.35; }
    .nav_date { font-size: 12px; }
    .attachment_wrap { margin-top: 18px; padding-top: 14px; }
    .attachment_link {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .attachment_link .file_name { font-size: 13px; }
    .attachment_link .file_size { font-size: 12px; }
    .btn_list { padding: 12px 16px; font-size: 14px; }



    .prayer_text {
        font-size:14px;
    }


}


/* 포토 상세: 썸네일 본문 주입 figure */
.gallery_detail_figure {
    margin: 0 0 20px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.gallery_detail_figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
