/* pkist 게시판 — 글자크기 조절 */
.view-in { position: relative; }

.pkist-view-tools {
    position: absolute;
    top: 4px;
    right: 8px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.pkist-fs-bar {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.pkist-fs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #4a5568;
    cursor: pointer;
    line-height: 1;
    font-size: 11px;
    font-weight: 700;
    font-family: Gulim, "굴림", AppleGothic, "Apple Gothic", sans-serif;
    letter-spacing: -0.4px;
}

.pkist-fs-btn:hover,
.pkist-fs-btn:focus {
    background: #eef2f6;
    color: #1a365d;
    outline: none;
}

.pkist-fs-btn-reset {
    min-width: 40px;
    padding: 0 6px;
    font-weight: 500;
}

.pkist-fs-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.section-icon.pkist-tts-below,
.section-icon.pkist-fs-below {
    padding-top: 34px;
    box-sizing: border-box;
}

.pkist-fs-bar-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2px;
    margin: 0 0 2px;
    min-height: 28px;
}

.pkist-fs-bar-list .pkist-fs-btn {
    border: 1px solid #d0d5dd;
    background: #fff;
}

.pkist-fs-bar-list .pkist-fs-btn:hover,
.pkist-fs-bar-list .pkist-fs-btn:focus {
    background: #eef2f6;
    border-color: #98a2b3;
}

/* 글자를 키우면 제목 막대 높이가 같이 늘어 글자가 잘리지 않게 */
.view-wrap[data-pkist-fs-on="1"] > h1 {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

@media (max-width: 560px) {
    .pkist-view-tools {
        top: 2px;
        right: 4px;
    }
}

@media print {
    .pkist-fs-bar,
    .pkist-view-tools .pkist-fs-bar {
        display: none !important;
    }
}
