/* Markdown typography for notices and editor previews. */

.post-content {
    font:
        400 18px/1.6 Arial,
        sans-serif;
    color: #111;
    overflow-wrap: anywhere;
    text-align: left;
}
.post-content p {
    white-space: pre-line;
    margin: 24px 0;
    color: inherit !important;
    font: inherit !important;
}
.post-content h3 {
    background: linear-gradient(100deg, #ed1015, #151111);
    color: #fff;
    padding: 15px 24px;
    border-radius: 3px;
    font-size: 23px;
    line-height: 1.4;
    margin: 28px 0;
}
.post-content ul,
.post-content ol {
    padding-left: 28px;
    margin: 24px 0;
}
.post-content li {
    font: inherit !important;
    margin: 8px 0;
}
.post-table-scroll {
    overflow-x: auto;
    margin: 28px 0;
}
.post-content table {
    width: 100%;
    border-collapse: collapse;
    font: inherit;
    color: inherit;
}
.post-content th,
.post-content td {
    border: 1px solid #333;
    padding: 5px 10px;
    text-align: left;
    vertical-align: top;
    background: #fff;
    white-space: normal;
}
.post-content th[scope='row'] {
    width: 24%;
    min-width: 130px;
}
.post-content a {
    color: #b51c08;
    text-decoration: underline;
}
.inner-page dialog.admission-detail {
    max-width: 900px;
    border: 3px solid #2929ff;
    border-radius: 0;
    padding: 28px 44px;
}
.inner-page .admission-detail #detail-title {
    color: #bf2104;
    font:
        400 36px/1.25 Arial,
        sans-serif;
    margin: 0 0 38px;
    padding-right: 15px;
}
.admission-detail #detail-category,
.admission-detail #detail-organization {
    display: none;
}
#description-preview {
    padding: 16px;
    border: 1px solid #ddd;
    background: #fff;
    margin-top: 10px;
    max-height: 550px;
    overflow: auto;
}
.format-help {
    font-size: 12px;
    color: #58677a;
    line-height: 1.6;
}
.post-table-builder {
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid #d5dae4;
    border-radius: 5px;
    background: #f7f9fc;
}
.post-table-builder legend {
    font-weight: 700;
    padding: 0 6px;
}
.post-table-builder p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 12px;
}
.post-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
    gap: 8px;
    align-items: end;
    margin-bottom: 10px;
}
.post-table-row label {
    font-size: 12px;
}
.post-table-row button {
    background: transparent;
    color: #b42318;
    padding: 8px 2px;
    font-size: 11px;
}
.post-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 8px;
}
.post-table-actions button {
    white-space: normal;
    font-size: 12px;
}
#post-table-status:empty {
    display: none;
}
.post-table-builder > label {
    margin: 12px 0;
    font-size: 13px;
}
.post-table-builder > .outline {
    font-size: 12px;
    white-space: normal;
}
.post-table-builder .post-table-check {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-table-builder .post-table-check input {
    width: auto;
    height: auto;
    margin: 0;
}
.post-table-grid-scroll {
    max-width: 100%;
    overflow-x: auto;
    margin-top: 12px;
}
.post-admin .post-builder-grid {
    width: 100%;
    white-space: normal;
}
.post-admin .post-builder-grid th,
.post-admin .post-builder-grid td {
    min-width: 180px;
    padding: 8px;
    border: 1px solid #d5dae4;
    vertical-align: top;
}
.post-admin .post-builder-grid th:last-child,
.post-admin .post-builder-grid td:last-child {
    min-width: 85px;
}
.post-builder-grid label {
    font-size: 11px;
    margin-bottom: 8px;
}
.post-builder-grid button {
    background: #fff;
    color: #b42318;
    border: 1px solid #e4cccc;
    border-radius: 4px;
    padding: 4px;
    font-size: 11px;
}
.post-content td a {
    font-weight: 700;
}
.editor-toolbar {
    flex-wrap: wrap;
}
.post-admin .field-column {
    min-width: 0;
}
.post-admin .editor-toolbar button {
    width: auto;
    min-width: 30px;
    height: auto;
    min-height: 30px;
    padding: 5px 8px;
    white-space: nowrap;
    line-height: 1.3;
    font-size: 13px;
}
.post-admin .post-content table {
    font-size: inherit;
    white-space: normal;
}
.post-admin .post-content th,
.post-admin .post-content td {
    border: 1px solid #333;
    padding: 5px 10px;
    height: auto;
    color: inherit;
}
.post-admin .post-content th {
    font-weight: 700;
}
.post-admin #preview-description {
    white-space: normal;
}
@media (max-width: 600px) {
    .inner-page dialog.admission-detail {
        padding: 28px 16px;
    }
    .inner-page .admission-detail #detail-title {
        font-size: 27px;
    }
    .post-content {
        font-size: 16px;
    }
    .post-content h3 {
        font-size: 20px;
        padding: 12px 16px;
    }
}
