@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('/expert/font/PretendardVariable.woff2') format('woff2-variations'),
       url('/expert/font/PretendardVariable.woff2') format('woff2');
}
*{box-sizing:border-box}
body.main-body{margin:0;font-family: "Pretendard Variable","Noto Sans KR","Malgun Gothic",Arial,sans-serif;color:#1A1A1A;background:#fff;font-size:13px; margin:0;}
.main-wrap button,.main-wrap input{font:inherit}
.main-wrap button{cursor:pointer}
.main-wrap{width:1520px;max-width:calc(100% - 40px);margin:0 auto; min-width: 1280px;}
.main-header{height:125px;display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid #ddd; padding-bottom:27px}
.main-logo{font-size:22px;font-weight:800;letter-spacing:-1px}
.main-logo span{font-weight:500;color:#888}
.main-lang{display:flex;background:#F2F2F2;border-radius:12px;padding:3px; padding:8px 12px;justify-content: space-between; gap: 8px;}
.main-lang button{border:0;background:transparent;padding:8px 10px;border-radius:8px;font-size:16px; font-weight: 500; }
.main-lang .active{background:#1A1A1A;color:#fff}

.main-img{height:160px;margin-top:0;padding:42px 40px;background:url(img/top_img.png) no-repeat;border-bottom:1px solid #eee;position:relative;overflow:hidden}
.main-img.en{background:url(img/top_img_en.png) no-repeat;}

.main-content{display:flex;gap:20px;padding:30px 0}
aside.filter {
    position: sticky;
    top: 20px; 
    align-self: flex-start; 
}
.filter{width:280px; height:100%;flex:none;border:1px solid #ddd;border-radius:10px;background:#fff;padding:20px}
.filter-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px}
.filter-head strong{font-size:20px}
.reset{border:0;background:none;color:#777;font-size:14px !important}
.reset img{vertical-align: sub;}
.search-count{padding:10px 0;border-bottom:1px solid #eee;font-size:16px; font-weight: 500;}
.search-count span{color:#FF763B}
.filter-section{padding:17px 0 8px;border-bottom:1px solid #eee}
.filter-title{display:flex;justify-content:space-between;align-items:center;font-weight:500; font-size: 16px; margin-bottom: 20px; }
.filter-title button {
    border: 0;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.filter-title .title-icon1{background:url(img/icon_1.svg) no-repeat; background-position: left; padding-left: 25px;}
.filter-title .title-icon2{background:url(img/icon_2.svg) no-repeat; background-position: left; padding-left: 25px;}
.filter-title .title-icon3{background:url(img/icon_3.svg) no-repeat; background-position: left; padding-left: 25px;}
.arrow-icon {
    width: 16px; 
    height: 16px;
    transition: transform 0.2s ease; 
}
.check-row{display:flex;align-items:center;gap:8px;height:29px;color:#1A1A1A; font-size: 16px;}


.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;

}


.custom-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom:16px;
    padding-left: 12px;
}

.checkmark {
    width: 20px;  
    height: 20px;
    display: inline-block;
    background: url('img/checkbox_off.svg') no-repeat center / contain;
}


.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background: url('img/checkbox_on.svg') no-repeat center / contain;
}

.custom-checkbox {
    display: flex; 
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: 100%;
}

.custom-checkbox .num {
    margin-left: auto; 
    color: #808080;
    font-size: 14px;
}

.products-area{flex:1;background:#fafbfc;border-radius:10px;padding:28px 52px 42px;}
.products-head{display:flex;align-items:center;gap:10px;margin-bottom:20px}
.products-head h2{margin:0;font-size:20px; font-weight: 700;}
.products-head span{color:#FF763B;font-size:16px}

.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px; }
.card{background:#fff;border:1px solid #ddd;border-radius:7px;padding:20px;min-height:130px;transition:.2s;}
.card:hover{ border:1px solid #000000}
.card a{color:inherit;text-decoration:none;display:block;height:100%}
.card-title{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:20px;margin-bottom:12px}
.arrow{ background:url(img/arrow_right.svg); width: 24px; height: 24px;}
.card p{margin:0 0 12px;
  color:#808080;font-size:14px;line-height:1.55; font-weight: 500; display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;}
.tags{display:flex;gap:12px;flex-wrap:wrap}
.tag{display:inline-block;padding:6px 8px;border-radius:3px;font-size:12px; font-weight: 500; color: #333;}
.tag.info{background:#DBECCB}
.tag.date{background:#CDE3F4}
.tag.udp{background:#FAF7DB}
.tag.ftp{background:#E6DEFE}
.tag.api{background:#FFDED8}

.menu-toggle{display:none;border:0;background:#222;color:#fff;padding:9px 13px;border-radius:5px}


/* 팝업 */
.pop-body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}


.pop-open-btn {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: background-color 0.2s, transform 0.1s;
}

.pop-open-btn:hover {
    background-color: #1d4ed8;
}

.pop-open-btn:active {
    transform: scale(0.98);
}

/* Modal Overlay (Dimmed Background) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


.modal-container {
    width: 820px;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}


.pop-header {
    background-color: #ABDCFF;
    padding: 30px;
    position: relative;
    flex-shrink: 0;
}

.pop-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pop-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0;
}

.pop-close-btn {
    background-color:#0000004D;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius:8px;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


.pop-header p {
    font-size: 16px;
    color: #1A1A1A;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom:12px;
}


.pop-content {
    padding: 30px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-grow: 1;
    word-break: keep-all;
}

.pop-section {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    border-bottom:1px solid #E6E6E6 ;
}

.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.icon-box img{margin-bottom: 14px;}

.section-content {
    flex-grow: 1;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.section-desc {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    padding: 15px 0 24px 0;
    font-weight: 500;

}



.pop-footer {
    background-color: #FFF3EA;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #fef3c7;
}


.footer-text {
    font-size: 16px;
    color: #FF763B;
    font-weight: 500;
}