/*--------------------------------------------------------------
# Search Page
--------------------------------------------------------------*/
.schpageWarp {
    margin: 0 auto 20px;
}
.sch-resProp-wrapper {
    position: relative;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px 12px 12px 12px;
    margin-bottom: 20px;
    overflow: visible;
}
.sch-resProp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1.6;
    overflow: hidden;
    max-height: 50px;
    transition: max-height 0.3s ease;
    position: relative;
    padding-right: 0;
}
.sch-resProp.expanded {
    max-height: 500px;
    overflow: visible;
    padding-right: 0;
}
.sch-resProp::before {
    content: '관련 ';
    margin-right: 10px;
    color: #767676;
    flex-shrink: 0;
    font-weight: 500;
}
.sch-resProp > a {
    margin: 0 0.8em 0 0;
    color: #1a0dab;
    flex-shrink: 0;
    white-space: nowrap;
}
.sch-resProp > a:hover {text-decoration: underline;}
/*.sch-resProp > a:not(:last-child)::after{content: ',';}*/
.sch-resProp-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    transition: transform 0.2s ease;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.sch-resProp-toggle:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.sch-resProp-toggle .toggle-text {
    display: none;
}
.sch-resProp-toggle::after {
    content: '▼';
    font-size: 10px;
    color: #495057;
    line-height: 1;
    transition: transform 0.2s ease;
}
.sch-resProp.expanded .sch-resProp-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.sch-resProp.expanded .sch-resProp-toggle::after {
    content: '▲';
}

.sch-resDirt {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 10px;
}
.dirBox1 {
    display: flex;
    align-items: center;
    margin-bottom: 0.4em;
    flex-wrap: wrap;
    gap: 0;
}
.dirBox1 .tit-drt {
    text-decoration: underline;
    font-weight: 600;
}
.dirBox1 .stit-drt {
    font-size: 14px;
    font-weight: 300;
    color: #3a7c45;
    text-decoration: none;
    margin: 0 10px 0 7px;
}
.dirBox1 .btn-drt {
    padding: 6px 14px;
    background-color: #2967b2;
    color: #fff;
    font-size: 0.9em;
    font-weight: 550;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(41, 103, 178, 0.2);
}
.dirBox1 .btn-drt:hover {
    background-color: #1e4d8a;
    box-shadow: 0 2px 6px rgba(41, 103, 178, 0.3);
    transform: translateY(-1px);
}
.dirBox1 .btn-drt:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(41, 103, 178, 0.2);
}
.sch-resDirt, .sch-resProp, .sch-resBox {
    /*padding: 20px 3px;*/
    /*border-bottom: 1px solid rgba(0,0,0,0.13);*/
    box-sizing: border-box;
}
.wrap-schbx {
    min-height: 0;
}
.wrap-schbx:empty,
.wrap-schbx #top-banner-container[style*="display: none"] {
    display: none !important;
    height: 0;
    margin: 0;
    padding: 0;
}
#top-banner-container[style*="display: none"] {
    display: none !important;
    height: 0;
    margin: 0;
    padding: 0;
}
.tit-srBox {
    font-size: 1.15em;
    font-weight: 550;
    padding: 0 0 17px;
}
.elem-svb {
    display: flex;
    margin: 0 auto 25px;
}
.elem-svb .thum-svc {}
.elem-svb .thum-svc img {
    width: 90px; min-height: 90px; 
    border: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
    box-sizing: border-box;
    margin-right: 7px;
}
.elem-svb .cont-svc {flex: 1;}
.cont-svc .tit-sve, .cont-svc .desc-sve {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.5em;
    max-height: 3.0em;
    overflow: hidden;    
}
.cont-svc .tit-sve, .dirBox1 .tit-drt{
    font-size: 1.1em;
    color: #1a0dab;
}
.cont-svc .tit-sve {
    margin: -0.2em 0 0.184em;
    font-weight: 550;
}
.cont-svc .desc-sve {margin-bottom: 0.15em;}
.cont-svc .addin-sve {
    font-size: 0.91em;
    color: #888888;
}
.addin-sve .bsve1 {}
.addin-sve .bsve3 {
    position: relative;
    margin-left: 0.6em;
    vertical-align:baseline;
}
.addin-sve .bsve3::before {
    content: '';
    display: block;
    width: 1px; height: 60%;
    position: absolute; top: 50%;  transform:translateY(-50%); left: -0.4em;
    background-color: rgba(0,0,0,0.4);
}
.addin-sve .bsve4 {}

.moretBtn {
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
}
.moretBtn > a {color: #1a0dab; text-decoration: underline;}

@media screen and (max-width:768px) {
    .cont-svc .tit-sve, .cont-svc .desc-sve {line-height: 1.4em;}    
    .elem-svb {margin: 0 auto 28px;}
    .elem-svb .thum-svc img {
        width: 85px; min-height: 85px; 
    }
    .cont-svc .tit-sve, .dirBox1 .tit-drt{
        font-size: 1.07em;
    }
    .cont-svc .tit-sve {
        margin: -4px 0 0.184em;
        font-weight: 550;
    }
    .cont-svc .desc-sve {
        font-size: 0.95em;
    }
    /* 모바일에서 버튼이 줄바꿈될 때 상단 마진 */
    .dirBox1 {
        row-gap: 5px;
    }
    .dirBox1 .btn-drt {
        align-self: flex-start;
    }
}
