
/*
 * Toggle_global 협회업무>국제교류>20250121 추가
 */
    /* 
div.toggle_global{
border-bottom: 1px solid var(--color-dark-1); 
}*/
div.toggle_global > dl.toggle > dt{
    text-align: start;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 500;
}
div.toggle_global > dl.toggle > dt > a {
    display: flex;
    align-items: center;
    position: relative;
    color: var(--color-dark-1);
    text-decoration: none;
    padding: 20px 30px 20px 0;
    border-top: 1px solid var(--color-dark-1);   
    transition: var(--transition-default);
}

div.toggle_global > dl.toggle > dt > a > p {
    background: var(--color-dark-4);
    color: white;
    padding: 4px 10px;
    margin: 0 20px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    min-width: 100px;
    text-align: center;
    flex-shrink: 0; /* 날짜 영역은 축소되지 않도록 */
}

div.toggle_global > dl.toggle > dt > a > span {
    color: var(--color-dark-1);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.toggle_global > dl.toggle > dt > a{
    display: block;
    position: relative;
    color: var(--color-dark-1);
    text-decoration: none;
    padding: 20px 30px 20px 0;
    border-top: 1px solid var(--color-dark-1);   
    transition: var(--transition-default);
}
div.toggle_global > dl.toggle > dt > a:hover{
    text-decoration: none;
}
div.toggle_global > dl.toggle > dt > a:after{
    content: "\e91f"; 
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1em;
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    color: var(--color-dark-1);
    font-family: 'icons' !important;
    font-size: 22px;
    text-align: center;
    transition: var(--transition-default);
}
div.toggle_global > dl.toggle > dt > a.active:after,
div.toggle_global > dl.toggle > dt > a.active:hover:after{
    transform: translateY(-50%) rotate(-180deg);
}

div.toggle_global > dl.toggle > dd{

    text-align:left;
    margin: 0 5em 1.55em;
    font-size: 16px;
    line-height: 1.625;
    opacity: 1;
    word-break: keep-all;
    color: var(--color-dark-4);
}

.light-content div.toggle_global{
    border-color: #fff;
}
.light-content div.toggle_global > dt > a{
    color: #fff;
    border-color: #fff;
}
.light-content div.toggle_global > dt > a:after{
    color: #fff;
}
.light-content div.toggle_global > dd{
    color: #fff;
    font-weight: 400;
}

/* 협회주요업무 전용: base.css의 .col-sm-6 { flex:1 } 영향 차단
   - 모바일/태블릿(<=991px)에서는 카드가 2열로 쪼개지지 않도록 1열(100%)로 고정 */
@media only screen and (max-width: 991px) {
    #mainTasks .col-sm-6 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #mainTasks .row.mt-n30 > [class*="col-"].d-flex.align-items-stretch {
        align-items: flex-start !important;
    }
}

/* 협회주요업무 카드: 링크 없음 → 손가락 커서·hover 반응 제거 */
#mainTasks .alt-features-item,
#mainTasks .alt-features-item.box-shadow,
#mainTasks .alt-features-item:hover,
#mainTasks .alt-features-item.box-shadow:hover {
    cursor: default !important;
    transform: none !important;
}

/* 협회주요업무: 반복 아이콘을 업무 성격에 맞게 구분 */
#mainTasks .alt-features-icon:has(+ .main-task-icon--research) svg,
#mainTasks .alt-features-icon:has(+ .main-task-icon--improvement) svg,
#mainTasks .alt-features-icon:has(+ .main-task-icon--guidance) svg,
#mainTasks .alt-features-icon:has(+ .main-task-icon--mediation) svg,
#mainTasks .alt-features-icon:has(+ .main-task-icon--mutual-aid) svg,
#mainTasks .alt-features-icon:has(+ .main-task-icon--registration) svg,
#mainTasks .alt-features-icon:has(+ .main-task-icon--training) svg,
#mainTasks .alt-features-icon:has(+ .main-task-icon--recommendation) svg {
    display: none;
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--research)::before,
#mainTasks .alt-features-icon:has(+ .main-task-icon--improvement)::before,
#mainTasks .alt-features-icon:has(+ .main-task-icon--guidance)::before,
#mainTasks .alt-features-icon:has(+ .main-task-icon--mediation)::before,
#mainTasks .alt-features-icon:has(+ .main-task-icon--mutual-aid)::before,
#mainTasks .alt-features-icon:has(+ .main-task-icon--registration)::before,
#mainTasks .alt-features-icon:has(+ .main-task-icon--training)::before,
#mainTasks .alt-features-icon:has(+ .main-task-icon--recommendation)::before {
    display: block;
    width: 1em;
    height: 1em;
    content: "";
    background-color: currentColor;
    transform: scale(0.9);
    transform-origin: center;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--research)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 8 4.5v9L12 20l-8-4.5v-9L12 2ZM4 6.5l8 4.5 8-4.5M12 11v9'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 8 4.5v9L12 20l-8-4.5v-9L12 2ZM4 6.5l8 4.5 8-4.5M12 11v9'/%3E%3C/svg%3E");
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--improvement)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 5-3 8-7 10-4-2-7-5-7-10V6l7-3ZM9 12l2 2 4-4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 5-3 8-7 10-4-2-7-5-7-10V6l7-3ZM9 12l2 2 4-4'/%3E%3C/svg%3E");
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--guidance)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M3 21v-2a6 6 0 0 1 10-4'/%3E%3Cpath d='m16 16 2 2 4-5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M3 21v-2a6 6 0 0 1 10-4'/%3E%3Cpath d='m16 16 2 2 4-5'/%3E%3C/svg%3E");
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--mediation)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M5 7h14M7 7l-4 7h8L7 7Zm10 0-4 7h8l-4-7ZM8 21h8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M5 7h14M7 7l-4 7h8L7 7Zm10 0-4 7h8l-4-7ZM8 21h8'/%3E%3C/svg%3E");
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--mutual-aid)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--registration)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l3 3v15H6zM15 3v4h4M9 14l2 2 4-4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l3 3v15H6zM15 3v4h4M9 14l2 2 4-4'/%3E%3C/svg%3E");
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--training)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H12v17H6.5A2.5 2.5 0 0 0 4 22V5.5ZM20 5.5A2.5 2.5 0 0 0 17.5 3H12v17h5.5A2.5 2.5 0 0 1 20 22V5.5Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H12v17H6.5A2.5 2.5 0 0 0 4 22V5.5ZM20 5.5A2.5 2.5 0 0 0 17.5 3H12v17h5.5A2.5 2.5 0 0 1 20 22V5.5Z'/%3E%3C/svg%3E");
}

#mainTasks .alt-features-icon:has(+ .main-task-icon--recommendation)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v12H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h3Zm0 12h9.7a2 2 0 0 0 1.9-1.4l2.2-7A2 2 0 0 0 18.9 11H15l.6-4.6A2.5 2.5 0 0 0 13.1 4L7 10Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v12H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h3Zm0 12h9.7a2 2 0 0 0 1.9-1.4l2.2-7A2 2 0 0 0 18.9 11H15l.6-4.6A2.5 2.5 0 0 0 13.1 4L7 10Z'/%3E%3C/svg%3E");
}

/* 아이콘-제목, 제목-설명 사이 간격을 동일하게 유지 */
#mainTasks h4.alt-features-title {
    margin-bottom: 10px;
}

/* 협회주요업무 카드: 4열 PC에서만 긴 설명을 의미 단위로 나눔 */
@media (max-width: 1199px) {
    #mainTasks .main-task-break {
        display: none;
    }
}
