/* Access 수입지출보고: 제목 중심의 가로 목록을 본문 영역 전체에 표시한다. */
body:has(.board-search-form[action="/content/access_report"]) .board-wrapper .board-container {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 28px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* 정책자료는 넓은 카드 두 개가 한 줄을 이루도록 제한한다. */
.data-grid.access-policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body:has(.board-search-form[action="/content/access_report"]) .board-table {
    width: 100%;
    table-layout: fixed;
}
body:has(.board-search-form[action="/content/access_report"]) .board-table .board-title a {
    overflow-wrap: anywhere;
}

/* Match the reading width of the institutional board layouts. */
body .board-wrapper,
body .detail-board-browser {
    width: 100%;
    max-width: 1040px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    min-width: 0;
}
body .board-wrapper:has(> .board-container > .post-header) > .board-container,
body .board-wrapper:has(> .board-container > .data-header) > .board-container {
    max-width: 912px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body .board-wrapper .post-content,
body .board-wrapper .data-content {
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}
body .board-wrapper .data-content {
    border-top: 0;
    padding-top: 8px;
    margin-bottom: 36px;
}
body .board-wrapper .post-content p,
body .board-wrapper .data-content p {
    margin: 0 0 1.1em;
}
body .board-wrapper .post-content > :last-child,
body .board-wrapper .data-content > :last-child {margin-bottom: 0;}
/* Pasted preformatted documents retain whitespace but wrap inside the article. */
body .board-wrapper .post-content pre,
body .board-wrapper .data-content pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-family: inherit;
    line-height: inherit;
}
body .board-wrapper .post-content pre code,
body .board-wrapper .data-content pre code {
    white-space: inherit;
    overflow-wrap: inherit;
    word-break: inherit;
}
body .board-wrapper .data-files {
    background: #fff;
    border: 0;
    border-top: 1px solid #dce3df;
    border-radius: 0;
    padding: 26px 0 0;
}
body .board-wrapper .file-item,
body .board-wrapper .file-link,
body .board-wrapper .gallery-file-link {
    min-width: 0;
    max-width: 100%;
}
body .board-wrapper .file-info,
body .board-wrapper .gallery-file-info {
    min-width: 0;
    flex: 1;
}
body .board-wrapper .file-name,
body .board-wrapper .gallery-file-info strong {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
body .board-wrapper .file-download-btn {flex-shrink: 0;}
@media (max-width: 600px) {
    .data-grid.access-policy-grid {grid-template-columns: minmax(0, 1fr);}
    body .board-wrapper,
    body .detail-board-browser {padding-left: 22px; padding-right: 22px;}
    body .board-wrapper .post-content,
    body .board-wrapper .data-content {font-size: 16px;}
    body .board-wrapper .file-item {flex-wrap: wrap; gap: 12px;}
}
/* The list beneath a detail aligns with that detail's 912px reading area. */
body .detail-board-browser {max-width: 960px;}
