/* Gradual public content refinements; existing structure and original wording remain. */
.icg-subpage #contents .bbsOutline{padding:clamp(20px,3vw,40px);border-radius:24px;border-color:#e0e8f3;box-shadow:0 6px 26px #203b5b04}
.icg-subpage #contents .sub-content-layout{font-size:16px;line-height:1.85}
.icg-subpage #contents .subHeader1depth{margin:0 0 24px;color:#152d4d;font-size:30px;font-weight:600;letter-spacing:-1px}
.icg-subpage #contents .content_desc,.icg-subpage #contents .content_descL{font-size:16px;font-weight:400;line-height:1.95;color:#526681;word-break:keep-all;overflow-wrap:anywhere}
.icg-subpage #contents .content_header,.icg-subpage #contents .content_header2{font-size:25px;font-weight:500;line-height:1.45;letter-spacing:-.6px;color:#25496d;margin:0 0 18px}
.icg-subpage #contents .content_header2{margin-top:28px}
.icg-subpage #contents .content_subheader{display:block;margin:20px 0 7px;font-size:17px;line-height:1.6;font-weight:600;color:#25496d}
.icg-subpage #contents .content_subTXT{display:block;margin:0 0 14px;font-size:15px;line-height:1.9;font-weight:400;color:#64748b;word-break:keep-all;overflow-wrap:anywhere}
.icg-subpage #contents h3.ui.header{margin:36px 0 24px;padding-bottom:14px;border-bottom:1px solid #e5ecf4;color:#25496d;font-size:23px;font-weight:600;line-height:1.5;letter-spacing:-.6px}
.icg-subpage #contents h3.ui.header:first-child{margin-top:0}
.icg-subpage #contents .flex2colum_half{gap:36px;align-items:flex-start;margin-bottom:32px}
.icg-subpage #contents .flex2colum_half>.flexleft,.icg-subpage #contents .flex2colum_half>.flexright{min-width:0}
.icg-subpage #contents :is(.flexleft,.flexright)>img{max-width:100%;height:auto}
/* Institute introduction: preserve the image/text pairs with a more balanced reading measure. */
.icg-subpage[data-section='introduce'][data-page='introduceicg'] #contents .flex2colum_half{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:38px}
.icg-subpage[data-section='introduce'][data-page='introduceicg'] #contents .flex2colum_half>*{width:100%;flex-basis:auto}
.icg-subpage[data-section='introduce'][data-page='introduceicg'] #contents .flexleft img{border-radius:18px;background:#f6f9fd}
/* Greetings: long messages have a comfortable line length, with the original portrait intact. */
.icg-subpage[data-section='introduce'][data-page^='greeting'] #contents .sub-content-layout>tbody>tr>td>div:first-of-type{max-width:1000px;margin:0 auto 30px}
.icg-subpage[data-section='introduce'][data-page^='greeting'] #contents .RWDvideo{width:100%;max-width:900px;margin:32px auto;line-height:2!important;text-align:left!important;font-size:16px;color:#526681}
.icg-subpage[data-section='introduce'][data-page^='greeting'] #contents .RWDvideo .flex2colum_half>div{padding:22px!important;border:1px solid #e0e8f3!important;border-radius:16px;background:#f8fbff}
.icg-subpage[data-section='introduce'][data-page^='greeting'] #contents .RWDvideo h3.ui.header{margin-top:0;font-size:20px}
/* History: quieter period markers and aligned date/event columns. */
.icg-subpage[data-page='history'] #contents .flex2colum_half{display:grid;grid-template-columns:180px minmax(0,1fr);gap:30px;margin:0!important;padding:25px 0;border-bottom:1px solid #e8eef6}
.icg-subpage[data-page='history'] #contents .flex2colum_half:first-child{padding-top:0}
.icg-subpage[data-page='history'] #contents .flex2colum_half:last-child{border:0;padding-bottom:0}
.icg-subpage[data-page='history'] #contents .flex2colum_half>*{width:100%;flex-basis:auto}
.icg-subpage[data-page='history'] #contents .yearBox{width:100%;padding:18px 14px;border:1px solid #dce9f8;border-radius:14px;background:#edf5ff;color:#35669b;font-size:20px;font-weight:500;line-height:1.5}
.icg-subpage[data-page='history'] #contents table{border:0;border-collapse:collapse}
.icg-subpage[data-page='history'] #contents td{padding:9px 6px;border:0;border-bottom:1px solid #f0f3f8;vertical-align:top}
.icg-subpage[data-page='history'] #contents td.content_bold{width:105px!important;font-size:14px;line-height:1.9;color:#4d6582;font-weight:500;white-space:nowrap}
.icg-subpage[data-page='history'] #contents td.content_descL{font-size:15px;line-height:1.9}
/* Vision and consulting: distinguish short principles from their explanations. */
.icg-subpage[data-page='vision'] #contents .content_desc,.icg-subpage[data-section='consulting'] #contents .content_desc{counter-reset:principle}
.icg-subpage[data-page='vision'] #contents .content_subheader:before,.icg-subpage[data-section='consulting'] #contents .content_subheader:before{counter-increment:principle;content:counter(principle,decimal-leading-zero);display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;margin-right:10px;border-radius:10px;background:#edf6f4;color:#4c877a;font-size:12px;font-weight:500;vertical-align:middle}
.icg-subpage[data-section='consulting'] #contents .flexright{margin-top:0!important}
.icg-subpage[data-section='consulting'] #contents .ui.cards{margin:0 0 28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.icg-subpage[data-section='consulting'] #contents .ui.cards>.card{width:auto;margin:0;border:1px solid #e0e8f3;border-radius:16px;box-shadow:none}
.icg-subpage[data-section='consulting'] #contents .ui.cards>.card>.content{padding:20px}
.icg-subpage[data-section='consulting'] #contents .ui.cards .header{font-size:17px;line-height:1.6;color:#25496d;font-weight:500}
/* Location and supporters: map/photo identity stays, spacing and logos gain consistency. */
.icg-subpage[data-page='location'] #contents .flex2colum_half{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:30px}
.icg-subpage[data-page='location'] #contents .flex2colum_half>*{width:100%;flex-basis:auto}
.icg-subpage[data-page='location'] #contents .root_daum_roughmap{width:100%!important;border:1px solid #e0e8f3;border-radius:16px}
.icg-subpage[data-page='sponsor'] #contents .ui.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
.icg-subpage[data-page='sponsor'] #contents .ui.cards>.card{width:auto;margin:0;border:1px solid #e0e8f3;border-radius:16px;box-shadow:none;overflow:hidden}
.icg-subpage[data-page='sponsor'] #contents .card>.image{display:grid;place-items:center;min-height:150px;background:#f8fbff;padding:20px}
.icg-subpage[data-page='sponsor'] #contents .card>.image img{max-width:100%;height:110px;object-fit:contain}
.icg-subpage[data-page='sponsor'] #contents .card .header{font-size:17px;font-weight:500;line-height:1.6;color:#25496d}
.icg-subpage[data-page='sponsor'] #contents .card .meta{font-size:13px;color:#75859a;line-height:1.7}
/* MTS: readable course table and coherent book/service cards. */
.icg-subpage[data-section='mts'] #contents .flex3item{gap:18px}
.icg-subpage[data-page='educationprocess'] #contents .mtstable{border:1px solid #dfe7f1;border-collapse:collapse;table-layout:fixed;background:#fff;font-size:14px}
.icg-subpage[data-page='educationprocess'] #contents .mtstable :is(td,th){padding:12px 10px;border:1px solid #e3eaf3;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.icg-subpage[data-page='educationprocess'] #contents .mtstable th{background:#f0f5fc;color:#345b85;font-weight:500}
.icg-subpage[data-page='educationprocess'] #contents .mtstable img{max-width:85px;height:auto;display:block;margin:0 auto}
.icg-subpage[data-page='introducebook'] #contents .ui.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0}
.icg-subpage[data-page='introducebook'] #contents .ui.cards>.card{width:auto;margin:0;border:1px solid #e0e8f3;border-radius:18px;box-shadow:none;overflow:hidden}
.icg-subpage[data-page='introducebook'] #contents .card>.image{padding:24px;background:#f6f9fd}
.icg-subpage[data-page='introducebook'] #contents .card>.image>img{height:235px;width:100%;object-fit:contain}
.icg-subpage[data-page='introducebook'] #contents .card .header{font-size:18px;line-height:1.6;font-weight:500;color:#25496d}
.icg-subpage[data-page='introducebook'] #contents .card .meta{font-size:14px;line-height:1.8;color:#718198}
.icg-subpage[data-page='introducebook'] #contents .card .button{min-height:40px;border-radius:9px;font-size:13px}
/* Member entry and recovery keep their original form fields/actions. */
.icg-subpage[data-section='member'] #contents .loginWrap{width:100%;max-width:470px;margin:0 auto;padding:12px 0}
.icg-subpage[data-section='member'] #contents .findWrap{width:100%;max-width:490px;min-width:0;margin:0 auto}
.icg-subpage[data-section='member'] #contents .findIDPWtitle{font-size:19px;font-weight:500;color:#25496d;line-height:1.6;margin-bottom:18px}
.icg-subpage[data-section='member'] #contents .loginInputBox{min-height:48px;border:1px solid #c7d5e5;border-radius:10px;font-size:15px;padding:11px 13px;background:#fff}
.icg-subpage[data-section='member'] #contents .formRowWrap{padding:18px 0;gap:18px}
.icg-subpage[data-section='member'] #contents .formRowLeft{font-size:14px;font-weight:500;color:#4c6480}
.icg-subpage[data-section='member'] #contents .formRowRight{font-size:15px;line-height:1.8}
.icg-subpage[data-section='member'] #contents .formRowRight :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:42px;font-size:14px;border-radius:9px}
.icg-subpage[data-section='member'] #contents .ui.button{border-radius:10px;min-height:40px;font-size:14px}
/* Legal copy, search and content lists are readable without changing their data. */
.icg-subpage[data-section='etc'] #contents .flex1colum100{max-width:960px;margin:0 auto;line-height:1.95;color:#526681;font-size:15px}
.icg-subpage[data-section='etc'] #contents .etcheader1{display:block;margin:27px 0 13px;padding-bottom:10px;border-bottom:1px solid #e5ecf4;color:#25496d;font-size:20px;font-weight:500;line-height:1.6}
.icg-subpage[data-section='searchresult'] #contents .searchresultWrap{margin:0;padding:23px 0;border-bottom:1px solid #e8edf5}
.icg-subpage[data-section='searchresult'] #contents .searchresultWrap:last-child{border:0}
.icg-subpage[data-section='searchresult'] #contents .searchresult_url{font-size:12px;line-height:1.7;color:#748aa3;overflow-wrap:anywhere}
.icg-subpage[data-section='searchresult'] #contents .searchkeywordWrap{margin:0 0 25px;padding:18px 20px;border-radius:14px;border:1px solid #e0e8f3;background:#f6f9fd;font-size:15px;line-height:1.8}
.icg-subpage[data-section='preacher'] #contents .dataListWrap{margin-bottom:16px;padding:22px;border:1px solid #e0e8f3;border-radius:16px;background:#fff}
.icg-subpage[data-section='preacher'] #contents .dataListWrap .autoCutstr{height:auto;white-space:normal;line-height:1.65;font-size:18px;font-weight:500;color:#25496d}
.icg-subpage[data-section='preacher'] #contents .dataViewContent{font-size:16px;line-height:1.95;color:#526681}
.icg-subpage[data-section='board'] #contents .sub-board-list{border-top:2px solid #466a94}
.icg-subpage[data-section='board'] #contents .sub-board-list .datarowHeader{font-size:14px;font-weight:500;background:#f6f9fd;color:#526b89}
.icg-subpage[data-section='board'] #contents .sub-board-list :is(td,th){padding-block:14px}
@media(max-width:900px){
.icg-subpage #contents .flex2colum_half{gap:24px}
.icg-subpage[data-page='introducebook'] #contents .ui.cards,.icg-subpage[data-page='sponsor'] #contents .ui.cards,.icg-subpage[data-section='consulting'] #contents .ui.cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.icg-subpage[data-page='history'] #contents .flex2colum_half{grid-template-columns:145px minmax(0,1fr);gap:20px}
}
@media(max-width:650px){
.icg-subpage #contents .bbsOutline{padding:20px 16px;border-radius:19px}
.icg-subpage #contents .subHeader1depth{font-size:25px;margin-bottom:18px}
.icg-subpage #contents .content_desc,.icg-subpage #contents .content_descL{font-size:15px;line-height:1.9}
.icg-subpage #contents .content_subTXT{font-size:14px;line-height:1.9}
.icg-subpage #contents .content_subheader{font-size:16px}
.icg-subpage #contents :is(.content_header,.content_header2){font-size:22px}
.icg-subpage #contents h3.ui.header{font-size:20px;margin:28px 0 18px}
.icg-subpage[data-section='introduce'][data-page='introduceicg'] #contents .flex2colum_half,.icg-subpage[data-page='location'] #contents .flex2colum_half,.icg-subpage[data-page='history'] #contents .flex2colum_half{grid-template-columns:minmax(0,1fr);gap:17px}
.icg-subpage[data-page='history'] #contents .yearBox{padding:13px 16px;font-size:18px;text-align:left}
.icg-subpage[data-page='history'] #contents td.content_bold{width:90px!important;font-size:13px}
.icg-subpage[data-page='history'] #contents td.content_descL{font-size:14px}
.icg-subpage[data-section='introduce'][data-page^='greeting'] #contents .RWDvideo{font-size:15px;line-height:1.95!important}
.icg-subpage[data-page='introducebook'] #contents .ui.cards,.icg-subpage[data-page='sponsor'] #contents .ui.cards,.icg-subpage[data-section='consulting'] #contents .ui.cards{grid-template-columns:minmax(0,1fr);gap:16px}
.icg-subpage[data-page='educationprocess'] #contents .mtstable :is(td,th){padding:9px 5px;font-size:12px;line-height:1.7}
.icg-subpage[data-section='member'] #contents .formRowWrap{gap:8px;padding:15px 0}
.icg-subpage[data-section='searchresult'] #contents .searchkeywordWrap{padding:15px}
.icg-subpage[data-section='preacher'] #contents .dataListWrap{padding:16px}
}

/* The original book cards contain an unrelated demo hover control. Keep the real purchase action visible. */
.icg-subpage[data-page='introducebook'] #contents .card>.image>.dimmer{display:none!important}
.icg-subpage[data-page='introducebook'] #contents .ui.cards>.card{width:auto!important}

/* Keep paired image/text columns on one desktop row when their gap changes. */
.icg-subpage #contents .flex2colum_half{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.icg-subpage #contents .flex2colum_half>:is(.flexleft,.flexright){width:100%;min-width:0;flex-basis:auto}
@media(max-width:900px){.icg-subpage #contents .flex2colum_half{grid-template-columns:minmax(0,1fr)}}
