.wise-list-wrap {
    max-width: 900px;
    margin: 40px auto;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 30px 28px 32px 28px;
}
.wise-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.04rem;
}
.wise-list-table th, .wise-list-table td {
    padding: 15px 10px;
    border-bottom: 1.5px solid #efefef;
    text-align: center;
}
.wise-list-table thead th {
    background: #f6f9fb;
    font-weight: 600;
    font-size: 1.08rem;
    border-top: 2.5px solid #2476d2;
    border-bottom: 2.5px solid #2476d2;
    color: #17486b;
}
.wise-list-table tbody tr:hover {
    background: #f1f6fd;
    transition: background 0.2s;
}
.wise-list-table td.title a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    display: block;
    text-align: left;
    padding-left: 8px;
}
.wise-list-table td.title a:hover {
    color: #2476d2;
    text-decoration: underline;
}
.wise-list-table td {
    color: #444;
}
@media (max-width: 700px) {
    .wise-list-wrap {
        padding: 10px;
    }
    .wise-list-table th, .wise-list-table td {
        font-size: 0.95rem;
        padding: 10px 5px;
    }
}

.wise-pagination {
    display: flex;
    justify-content: center;
    margin: 32px 0 0 0;
}
.wise-pagination ul {
    list-style: none;
    display: flex;
    gap: 7px;
    padding: 0;
    margin: 0;
}
.wise-pagination li {
}
.wise-pagination a, .wise-pagination span {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 9px;
    background: #f5f7fa;
    color: #555;
    font-size: 1.04rem;
    text-decoration: none;
    border: 1.5px solid #e3eaf2;
    transition: background .15s, color .15s;
}
.wise-pagination a:hover {
    background: #eaf2fb;
    color: #2476d2;
    border-color: #2476d2;
}
.wise-pagination .active span {
    background: #2476d2;
    color: #fff;
    border-color: #2476d2;
    font-weight: bold;
    cursor: default;
}


.wiseboard-view-wrap {
    max-width: 700px;
    margin: 45px auto 24px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 28px 0 rgba(60,80,110,0.08);
    padding: 42px 38px 34px 38px;
}
.wiseboard-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 17px;
}
.wiseboard-meta {
    display: flex;
    justify-content: space-between;
    color: #909ba7;
    font-size: 1.04rem;
    border-bottom: 1px solid #ececec;
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.wiseboard-content {
    font-size: 1.14rem;
    color: #2b2d32;
    line-height: 1.8;
    min-height: 150px;
    margin-bottom: 36px;
    white-space: pre-line;
}

.wiseboard-comment-title {
    font-size: 1.13rem;
    font-weight: 600;
    color: #2476d2;
    margin-bottom: 13px;
    margin-top: 30px;
}

.wiseboard-comment-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 30px;
}
.wiseboard-comment-form textarea {
    width: 100%;
    height: 72px;
    border: 1.5px solid #e3eaf2;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.07rem;
    resize: vertical;
    background: #f6fafd;
}
.wiseboard-comment-form input[type="text"] {
    width: 180px;
    border: 1.5px solid #e3eaf2;
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 1.07rem;
    background: #f6fafd;
}
.wiseboard-comment-form-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.wiseboard-comment-form button {
    background: #2476d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 24px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.14s;
}
.wiseboard-comment-form button:hover {
    background: #1a5bb0;
}

/* 댓글 리스트 */
.wiseboard-comment-list {
    margin-top: 10px;
}
.wiseboard-comment-item {
    background: #f8fafc;
    border-radius: 9px;
    padding: 15px 17px;
    margin-bottom: 10px;
    font-size: 1.07rem;
    box-shadow: 0 1px 6px 0 rgba(60,80,110,0.07);
}
.wiseboard-comment-item .comment-meta {
    color: #6c7682;
    font-size: 0.98rem;
    margin-bottom: 4px;
    display: flex;
    gap: 13px;
}
.wiseboard-comment-item .comment-content {
    color: #31343c;
    white-space: pre-line;
}

@media (max-width: 900px) {
    .wiseboard-view-wrap { max-width: 98vw; padding: 19px 6vw; }
}

.wiseboard-view-wrap {
    max-width: 700px;
    margin: 45px auto 24px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 28px 0 rgba(60,80,110,0.08);
    padding: 42px 38px 34px 38px;
}
.wiseboard-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 17px;
}
.wiseboard-meta {
    display: flex;
    justify-content: space-between;
    color: #909ba7;
    font-size: 1.04rem;
    border-bottom: 1px solid #ececec;
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.wiseboard-content {
    font-size: 1.14rem;
    color: #2b2d32;
    line-height: 1.8;
    min-height: 150px;
    margin-bottom: 36px;
    white-space: pre-line;
}

.wiseboard-comment-title {
    font-size: 1.13rem;
    font-weight: 600;
    color: #2476d2;
    margin-bottom: 13px;
    margin-top: 30px;
}

.wiseboard-comment-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 30px;
}
.wiseboard-comment-form textarea {
    width: 100%;
    height: 72px;
    border: 1.5px solid #e3eaf2;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.07rem;
    resize: vertical;
    background: #f6fafd;
}
.wiseboard-comment-form input[type="text"] {
    width: 180px;
    border: 1.5px solid #e3eaf2;
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 1.07rem;
    background: #f6fafd;
}
.wiseboard-comment-form-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.wiseboard-comment-form button {
    background: #2476d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 24px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.14s;
}
.wiseboard-comment-form button:hover {
    background: #1a5bb0;
}

/* 댓글 리스트 */
.wiseboard-comment-list {
    margin-top: 10px;
}
.wiseboard-comment-item {
    background: #f8fafc;
    border-radius: 9px;
    padding: 15px 17px;
    margin-bottom: 10px;
    font-size: 1.07rem;
    box-shadow: 0 1px 6px 0 rgba(60,80,110,0.07);
}
.wiseboard-comment-item .comment-meta {
    color: #6c7682;
    font-size: 0.98rem;
    margin-bottom: 4px;
    display: flex;
    gap: 13px;
}
.wiseboard-comment-item .comment-content {
    color: #31343c;
    white-space: pre-line;
}

@media (max-width: 900px) {
    .wiseboard-view-wrap { max-width: 98vw; padding: 19px 6vw; }
}

.comment-form {
    gap: 10px;
    align-items: stretch;   /* 중요! 높이 맞추기 */
}

.comment-form input[type="text"] {
    
    font-size: 16px;
    padding: 8px 10px;
    height: 48px; /* textarea와 맞춤 */
    box-sizing: border-box;
    border: 1px solid #e3eaf2;
}

.comment-form textarea {
    flex: 1;
    font-size: 16px;
    padding: 0 10px;
    min-height: 48px;  /* input, button과 맞춤 */
    resize: vertical;
    box-sizing: border-box;
}

.comment-form button {
    width: 80px;
    font-size: 16px;
    height: 48px;   /* input, textarea와 맞춤 */
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
}

.write-form {max-width:700px; margin:40px auto;}
        .write-form label {display:block; margin-top:18px;}
        .write-form input[type="text"], .write-form textarea {width:100%; padding:8px; border:1px solid #ccc; border-radius:4px;}
        .write-form textarea {min-height:140px;}
        .write-form .btn {margin-top:24px; padding:10px 32px; background:#007bff; color:#fff; border:none; border-radius:6px;}
        .write-form .btn-cancel {background:#aaa; margin-left:10px;}