/* Target the Post Options metabox .inside */
#acf-group_post_options .inside {
    background-color: #f3f4f5;
    margin: 0;
    padding: 6px 12px 12px;
}

/* Target the Page Options metabox .inside */
#acf-group_page_options .inside {
    background-color: #f3f4f5;
    margin: 0;
    padding: 6px 12px 12px;
}

/* Target all ACF metaboxes .inside */
#poststuff .acf-postbox .inside {
    background-color: #f3f4f5;
    margin: 0;
    padding: 6px 12px 12px;
}

/* Radio Image Selector Styles */
.option-tree-ui-radio-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.option-tree-ui-radio-images .option-tree-ui-radio-images {
    display: block;
}

.option-tree-ui-radio-images label {
    cursor: pointer;
    display: block;
}

.option-tree-ui-radio-images img.option-tree-ui-radio-image {
    border: 2px solid #ddd;
    border-radius: 4px;
    height: auto;
    max-width: 80px;
    padding: 4px;
    transition: all 0.2s ease;
}

.internal-post-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.option-tree-ui-radio-images img.option-tree-ui-radio-image:hover {
    border-color: #999;
}

.option-tree-ui-radio-images img.option-tree-ui-radio-image-selected {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px #2271b1;
}

/* Hide original radio inputs - target both page and post layout fields */
.acf-field-radio[class*="-layout"] .acf-radio-list input[type="radio"] {
    display: none;
}

/* Description styling - target both page and post layout fields */
.acf-field-radio[class*="-layout"] .description {
    color: #646970;
    font-size: 12px;
    margin-bottom: 8px;
}

/* Tables post type admin builder */
body.wp-admin.post-type-lcsd_table #acf-group_lcsd_table_content .inside {
    background: linear-gradient(180deg, #f8f6fb 0%, #f3f6f9 100%);
    padding: 18px;
}

body.wp-admin.post-type-page #acf-group_page_options .inside,
body.wp-admin.post-type-post #acf-group_post_tables .inside {
    background: linear-gradient(180deg, #f8f6fb 0%, #f3f6f9 100%);
    padding: 18px;
}

body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-tables > .acf-label label {
    font-size: 18px;
    font-weight: 700;
}

body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-tables > .acf-label .description {
    color: #50575e;
    font-size: 13px;
    max-width: 780px;
}

body.wp-admin.post-type-page .acf-field-page-tables > .acf-label label,
body.wp-admin.post-type-post .acf-field-post-tables > .acf-label label {
    font-size: 18px;
    font-weight: 700;
}

body.wp-admin.post-type-page .acf-field-page-tables > .acf-label .description,
body.wp-admin.post-type-post .acf-field-post-tables > .acf-label .description {
    color: #50575e;
    font-size: 13px;
    max-width: 780px;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder > .acf-input > .acf-repeater {
    display: grid;
    gap: 18px;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder > .acf-input > .acf-repeater,
body.wp-admin.post-type-post .lcsd-legacy-table-builder > .acf-input > .acf-repeater {
    display: grid;
    gap: 18px;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder > .acf-input > .acf-repeater > .acf-table,
body.wp-admin.post-type-lcsd_table .lcsd-table-builder__rows > .acf-input > .acf-repeater > .acf-table,
body.wp-admin.post-type-lcsd_table .lcsd-table-builder__columns > .acf-input > .acf-repeater > .acf-table {
    border-color: #c3c4c7;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder > .acf-input > .acf-repeater > .acf-table,
body.wp-admin.post-type-page .lcsd-legacy-table-builder__rows > .acf-input > .acf-repeater > .acf-table,
body.wp-admin.post-type-page .lcsd-legacy-table-builder__columns > .acf-input > .acf-repeater > .acf-table,
body.wp-admin.post-type-post .lcsd-legacy-table-builder > .acf-input > .acf-repeater > .acf-table,
body.wp-admin.post-type-post .lcsd-legacy-table-builder__rows > .acf-input > .acf-repeater > .acf-table,
body.wp-admin.post-type-post .lcsd-legacy-table-builder__columns > .acf-input > .acf-repeater > .acf-table {
    border-color: #c3c4c7;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
    background: #fff;
    border: 1px solid #d7dbe0;
    border-left: 4px solid #745890;
    border-radius: 14px;
    box-shadow: 0 10px 24px -24px rgba(31, 35, 40, 0.55);
    display: grid;
    gap: 16px;
    padding: 18px;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields,
body.wp-admin.post-type-post .lcsd-legacy-table-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
    background: #fff;
    border: 1px solid #d7dbe0;
    border-left: 4px solid #745890;
    border-radius: 14px;
    box-shadow: 0 10px 24px -24px rgba(31, 35, 40, 0.55);
    display: grid;
    gap: 16px;
    padding: 18px;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder__rows {
    background: #f8fafc;
    border: 1px solid #dcdcde;
    border-radius: 12px;
    margin-top: 16px;
    padding: 14px;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder__rows,
body.wp-admin.post-type-post .lcsd-legacy-table-builder__rows {
    background: #f8fafc;
    border: 1px solid #dcdcde;
    border-radius: 12px;
    margin-top: 16px;
    padding: 14px;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder__rows > .acf-label {
    margin-bottom: 10px;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder__rows > .acf-label,
body.wp-admin.post-type-post .lcsd-legacy-table-builder__rows > .acf-label {
    margin-bottom: 10px;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder__columns {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    margin: 10px 0 0;
    overflow-x: auto;
    padding: 10px;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder__columns,
body.wp-admin.post-type-post .lcsd-legacy-table-builder__columns {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    margin: 10px 0 0;
    overflow-x: auto;
    padding: 10px;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder__columns .acf-table > thead th {
    background: #f1ecf7;
    color: #1d2327;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder__columns .acf-table > thead th,
body.wp-admin.post-type-post .lcsd-legacy-table-builder__columns .acf-table > thead th {
    background: #f1ecf7;
    color: #1d2327;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder__columns .acf-table {
    min-width: 720px;
    table-layout: fixed;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder__columns .acf-table,
body.wp-admin.post-type-post .lcsd-legacy-table-builder__columns .acf-table {
    min-width: 720px;
    table-layout: fixed;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder__columns .acf-table tbody td {
    vertical-align: top;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder__columns .acf-table tbody td,
body.wp-admin.post-type-post .lcsd-legacy-table-builder__columns .acf-table tbody td {
    vertical-align: top;
}

body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-cell-content textarea {
    font-size: 14px;
    line-height: 1.5;
    min-height: 64px;
    resize: vertical;
}

body.wp-admin.post-type-page .acf-field-cell-content .acf-editor-wrap iframe,
body.wp-admin.post-type-page .acf-field-cell-content .mce-edit-area iframe,
body.wp-admin.post-type-post .acf-field-post-cell-content .acf-editor-wrap iframe,
body.wp-admin.post-type-post .acf-field-post-cell-content .mce-edit-area iframe {
    height: 110px !important;
    min-height: 110px !important;
}

body.wp-admin.post-type-page .acf-field-cell-content .wp-editor-area,
body.wp-admin.post-type-post .acf-field-post-cell-content .wp-editor-area {
    min-height: 110px !important;
}

body.wp-admin.post-type-page .acf-field-cell-content .mce-statusbar,
body.wp-admin.post-type-post .acf-field-post-cell-content .mce-statusbar {
    display: none !important;
}

body.wp-admin.post-type-page .acf-field-cell-content .mce-toolbar-grp,
body.wp-admin.post-type-post .acf-field-post-cell-content .mce-toolbar-grp {
    padding: 0 !important;
}

body.wp-admin.post-type-page .acf-field-cell-content .mce-btn button,
body.wp-admin.post-type-post .acf-field-post-cell-content .mce-btn button {
    height: 24px !important;
    line-height: 24px !important;
}

body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-cell-tag select,
body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-cell-scope select {
    max-width: 100%;
}

body.wp-admin.post-type-page .acf-field-cell-tag select,
body.wp-admin.post-type-page .acf-field-cell-scope select,
body.wp-admin.post-type-post .acf-field-post-cell-tag select,
body.wp-admin.post-type-post .acf-field-post-cell-scope select {
    max-width: 100%;
}

body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-rows > .acf-label label,
body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-row-cells > .acf-label label {
    font-weight: 700;
}

body.wp-admin.post-type-page .acf-field-table-rows > .acf-label label,
body.wp-admin.post-type-page .acf-field-row-cells > .acf-label label,
body.wp-admin.post-type-post .acf-field-post-table-rows > .acf-label label,
body.wp-admin.post-type-post .acf-field-post-row-cells > .acf-label label {
    font-weight: 700;
}

body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-rows > .acf-label .description,
body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-row-cells > .acf-label .description {
    color: #646970;
    font-size: 12px;
}

body.wp-admin.post-type-page .acf-field-table-rows > .acf-label .description,
body.wp-admin.post-type-page .acf-field-row-cells > .acf-label .description,
body.wp-admin.post-type-post .acf-field-post-table-rows > .acf-label .description,
body.wp-admin.post-type-post .acf-field-post-row-cells > .acf-label .description {
    color: #646970;
    font-size: 12px;
}

body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-title .acf-label label,
body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-caption .acf-label label {
    font-size: 14px;
    font-weight: 700;
}

body.wp-admin.post-type-page .acf-field-table-title .acf-label label,
body.wp-admin.post-type-page .acf-field-table-caption .acf-label label,
body.wp-admin.post-type-post .acf-field-post-table-title .acf-label label,
body.wp-admin.post-type-post .acf-field-post-table-caption .acf-label label {
    font-size: 14px;
    font-weight: 700;
}

body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-title input,
body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-caption input {
    min-height: 42px;
}

body.wp-admin.post-type-page .acf-field-table-title input,
body.wp-admin.post-type-page .acf-field-table-caption input,
body.wp-admin.post-type-post .acf-field-post-table-title input,
body.wp-admin.post-type-post .acf-field-post-table-caption input {
    min-height: 42px;
}

body.wp-admin.post-type-lcsd_table .lcsd-table-builder .acf-actions .button {
    border-radius: 999px;
    padding-left: 16px;
    padding-right: 16px;
}

body.wp-admin.post-type-page .lcsd-legacy-table-builder .acf-actions .button,
body.wp-admin.post-type-post .lcsd-legacy-table-builder .acf-actions .button {
    border-radius: 999px;
    padding-left: 16px;
    padding-right: 16px;
}

@media only screen and (min-width: 1100px) {
    body.wp-admin.post-type-lcsd_table .lcsd-table-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wp-admin.post-type-lcsd_table .acf-field-lcsd-table-rows {
        grid-column: 1 / -1;
    }

    body.wp-admin.post-type-page .lcsd-legacy-table-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields,
    body.wp-admin.post-type-post .lcsd-legacy-table-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wp-admin.post-type-page .acf-field-table-rows,
    body.wp-admin.post-type-post .acf-field-post-table-rows {
        grid-column: 1 / -1;
    }
}

body.wp-admin.post-type-lcsd_images_page #acf-group_lcsd_images_page_images .inside {
    background: #f6f7f7;
    padding: 12px;
}

body.wp-admin.post-type-lcsd_images_page .acf-field-lcsd-images-page-images > .acf-label label {
    font-size: 18px;
    font-weight: 700;
}

body.wp-admin.post-type-lcsd_images_page .acf-field-lcsd-images-page-images > .acf-label .description {
    color: #50575e;
    font-size: 13px;
    max-width: 780px;
}

body.wp-admin.post-type-lcsd_policies_page #acf-group_lcsd_policy_details .inside,
body.wp-admin.post-type-lcsd_meeting_minutes #acf-group_lcsd_meeting_minutes_guide .inside,
body.wp-admin.post-type-lcsd_meeting_minutes #acf-group_lcsd_meeting_schedule_table .inside,
body.wp-admin.post-type-lcsd_board_policy #acf-group_lcsd_board_policy_details .inside {
    background: #f6f7f7;
    padding: 12px;
}


body.wp-admin.post-type-lcsd_policies_page .editor-styles-wrapper,
body.wp-admin.post-type-lcsd_policies_page .editor-styles-wrapper.block-editor-writing-flow,
body.wp-admin.post-type-lcsd_board_policy .editor-styles-wrapper,
body.wp-admin.post-type-lcsd_board_policy .editor-styles-wrapper.block-editor-writing-flow {
    height: auto !important;
    min-height: 180px !important;
    padding-bottom: 20px !important;
}

body.wp-admin.post-type-lcsd_policies_page .editor-visual-editor__post-title-wrapper,
body.wp-admin.post-type-lcsd_board_policy .editor-visual-editor__post-title-wrapper {
    margin-top: 1.5rem !important;
}

body.wp-admin.post-type-lcsd_policies_page .editor-styles-wrapper .block-editor-writing-flow,
body.wp-admin.post-type-lcsd_policies_page .editor-styles-wrapper .block-editor-block-list__layout,
body.wp-admin.post-type-lcsd_board_policy .editor-styles-wrapper .block-editor-writing-flow,
body.wp-admin.post-type-lcsd_board_policy .editor-styles-wrapper .block-editor-block-list__layout {
    min-height: 120px !important;
    padding-bottom: 16px !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-documents-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
    background: #fff;
    border-left: 4px solid #2271b1;
    display: grid !important;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    padding: 14px !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-documents-builder .acf-field-lcsd-meeting-document-packet,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-documents-builder .acf-field-lcsd-meeting-document-recording,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-documents-builder .acf-field-lcsd-meeting-document-budget {
    border: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .acf-field-lcsd-meeting-title > .acf-label label,
body.wp-admin.post-type-lcsd_meeting_minutes .acf-field-lcsd-meeting-documents > .acf-label label {
    font-size: 18px;
    font-weight: 700;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
    align-items: start;
    background: #fff;
    border-left: 4px solid #2271b1;
    display: grid !important;
    gap: 10px;
    grid-template-columns: minmax(120px, 1fr) minmax(100px, .8fr) minmax(180px, 1.3fr) minmax(150px, 1fr);
    min-height: 0 !important;
    padding: 14px !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .acf-field-lcsd-meeting-schedule-date,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .acf-field-lcsd-meeting-schedule-start-time,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .acf-field-lcsd-meeting-schedule-event,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .acf-field-lcsd-meeting-schedule-location {
    border: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .acf-label {
    margin: 0 0 4px !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .acf-label label {
    color: #1d2327;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .acf-editor-wrap iframe,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-edit-area iframe {
    height: 74px !important;
    min-height: 74px !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .wp-editor-area {
    height: 74px !important;
    min-height: 74px !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-statusbar {
    display: none !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-toolbar-grp {
    padding: 0 !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-btn button {
    height: 24px !important;
    line-height: 24px !important;
    padding: 2px 3px !important;
    width: 24px !important;
}

body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-btn[aria-label^="Underline"],
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-btn[aria-label^="Blockquote"],
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-btn[aria-label^="Strikethrough"],
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-btn[aria-label^="Bulleted list"],
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-btn[aria-label^="Numbered list"],
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-btn[aria-label^="Align"],
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder .mce-btn[aria-label^="Fullscreen"] {
    display: none !important;
}

@media (max-width: 1100px) {
    body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 782px) {
    body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-schedule-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
        grid-template-columns: 1fr;
    }

    body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-meeting-documents-builder > .acf-input > .acf-repeater > .acf-table > tbody > .acf-row > .acf-fields {
        grid-template-columns: 1fr;
    }
}

body.wp-admin.post-type-lcsd_policies_page .lcsd-editor-tutorial,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-editor-tutorial,
body.wp-admin.post-type-lcsd_board_policy .lcsd-editor-tutorial {
    background: #fff;
    border-left: 4px solid #2271b1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    margin: 0 0 12px;
}

body.wp-admin.post-type-lcsd_policies_page .lcsd-editor-tutorial .acf-label label,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-editor-tutorial .acf-label label,
body.wp-admin.post-type-lcsd_board_policy .lcsd-editor-tutorial .acf-label label {
    font-size: 18px;
    font-weight: 700;
}

body.wp-admin.post-type-lcsd_policies_page .lcsd-editor-tutorial ol,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-editor-tutorial ol,
body.wp-admin.post-type-lcsd_board_policy .lcsd-editor-tutorial ol {
    margin-left: 20px;
}

body.wp-admin.post-type-lcsd_policies_page .lcsd-editor-tutorial p:last-child,
body.wp-admin.post-type-lcsd_policies_page .lcsd-editor-tutorial li:last-child,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-editor-tutorial p:last-child,
body.wp-admin.post-type-lcsd_meeting_minutes .lcsd-editor-tutorial li:last-child,
body.wp-admin.post-type-lcsd_board_policy .lcsd-editor-tutorial p:last-child,
body.wp-admin.post-type-lcsd_board_policy .lcsd-editor-tutorial li:last-child {
    margin-bottom: 0;
}

/* Table Styles for Frontend */
.lcsd-tables-wrapper {
    display: grid;
    gap: 32px;
    margin-top: 36px;
}

.lcsd-table-container {
    margin: 0;
}

.lcsd-table-title {
    color: #3f3f3f;
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 16px;
    text-align: left;
}

.lcsd-table-frame {
    background: linear-gradient(180deg, #fff 0%, #fcfbfd 100%);
    border: 1px solid #e4deeb;
    box-shadow: 0 16px 40px -30px rgba(60, 39, 84, 0.55);
    overflow-x: auto;
    overflow-y: hidden;
}

.lcsd-tables-wrapper .lcsd-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    background: transparent;
}

.lcsd-tables-wrapper .lcsd-table caption {
    caption-side: top;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    padding: 18px 22px 0;
    text-align: left;
}

.lcsd-tables-wrapper .lcsd-table tr > *:last-child {
    border-right: none;
}

.lcsd-tables-wrapper .lcsd-table tr:last-child > * {
    border-bottom: none;
}

.lcsd-tables-wrapper .lcsd-table th,
.lcsd-tables-wrapper .lcsd-table td {
    border-bottom: 1px solid #ece7f2;
    border-right: 1px solid #ece7f2;
    padding: 15px 18px;
    text-align: left;
    vertical-align: top;
}

.lcsd-tables-wrapper .lcsd-table th {
    background: #f4f1f8;
    color: #3f3f3f;
    font-size: 16px;
    font-weight: 600;
}

.lcsd-tables-wrapper .lcsd-table td {
    background: #fff;
    color: #666;
    font-size: 16px;
    line-height: 1.65;
}

.lcsd-tables-wrapper .lcsd-table tr:nth-child(even) td {
    background: #fbf9fd;
}

.lcsd-tables-wrapper .lcsd-table tr:hover td,
.lcsd-tables-wrapper .lcsd-table tr:focus-within td {
    background: #f6f2fb;
}

.lcsd-tables-wrapper .lcsd-table a {
    color: #7c5a9b;
    font-weight: 700;
    text-decoration: none;
}

.lcsd-tables-wrapper .lcsd-table a:hover,
.lcsd-tables-wrapper .lcsd-table a:focus {
    color: #5a3a76;
    text-decoration: underline;
}

.lcsd-tables-wrapper .lcsd-table td > :first-child,
.lcsd-tables-wrapper .lcsd-table th > :first-child {
    margin-top: 0;
}

.lcsd-tables-wrapper .lcsd-table td > :last-child,
.lcsd-tables-wrapper .lcsd-table th > :last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
    .lcsd-tables-wrapper {
        gap: 24px;
        margin-top: 30px;
    }

    .lcsd-table-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .lcsd-table-frame {
        border-radius: 14px;
    }

    .lcsd-tables-wrapper .lcsd-table caption {
        padding: 16px 16px 0;
    }

    .lcsd-tables-wrapper .lcsd-table th,
    .lcsd-tables-wrapper .lcsd-table td {
        font-size: 15px;
        padding: 13px 14px;
    }
}

.lcsd-meeting-schedule-wrapper {
    margin-top: 30px;
    overflow-x: auto;
}

.lcsd-meeting-schedule-table td > :last-child {
    margin-bottom: 0;
}

.lcsd-links-page-link,
.lcsd-links-page-text {
    display: inline-block;
}

.lcsd-links-page-link > :last-child,
.lcsd-links-page-text > :last-child {
    margin-bottom: 0;
}

.lcsd-images-page-wrapper {
    display: grid;
    gap: 28px;
    justify-items: center;
    margin-top: 30px;
    width: 100%;
}

.lcsd-images-page-figure {
    margin: 0;
    text-align: center;
    width: 100%;
}

.lcsd-images-page-link {
    display: block;
    width: 100%;
}

.lcsd-images-page-image {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.lcsd-images-page-caption {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
}

.lcsd-policy-summary,
.lcsd-meeting-notice,
.lcsd-board-policy-summary {
    color: #666;
    margin-bottom: 1em;
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 18px;
}

.lcsd-policy-meta,
.lcsd-meeting-meta,
.lcsd-board-policy-meta {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 0 0 24px;
}

.lcsd-policy-meta__item,
.lcsd-meeting-meta__item,
.lcsd-board-policy-meta__item {
    background: #fff;
    border: 1px solid #d8dde3;
    padding: 12px 14px;
}

.lcsd-policy-meta dt,
.lcsd-meeting-meta dt,
.lcsd-board-policy-meta dt {
    color: #50575e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.lcsd-policy-meta dd,
.lcsd-meeting-meta dd,
.lcsd-board-policy-meta dd {
    margin: 0;
}

.lcsd-policy-directory__list,
.lcsd-policy-documents ul,
.lcsd-board-policy-documents ul,
.lcsd-meeting-documents ul,
.lcsd-related-content ul,
.lcsd-meeting-archive {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.lcsd-policy-directory__item,
.lcsd-meeting-archive__item {
    padding: 12px 0;
    display: flex;
    justify-content: flex-start;
}

.postid-363 .lcsd-policy-directory__item {
    display: flex;
    justify-content: center;
}

.lcsd-policy-directory__item .lcsd-policy-directory__list {
    border-left: 1px solid #d8dde3;
    margin: 10px 0 0 16px;
    padding-left: 16px;
}

.lcsd-policy-directory__item .lcsd-policy-directory__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.lcsd-policy-directory__link {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lcsd-policy-directory__code {
    color: #7c5a9b;
    font-weight: 700;
}

.lcsd-policy-directory__summary {
    color: #4f5b66;
    margin-top: 6px;
}

.lcsd-policy-directory__summary > :last-child {
    margin-bottom: 0;
}

.lcsd-policy-section {
    margin-top: 28px;
}

.lcsd-policy-section--page {
    border-top: 1px solid #d8dde3;
    padding-top: 18px;
}

.lcsd-policy-section__title {
    margin-bottom: 8px;
}

.lcsd-policy-section__title a {
    color: inherit;
    text-decoration: none;
}

.lcsd-policy-section__title a:hover,
.lcsd-policy-section__title a:focus {
    color: #2271b1;
    text-decoration: underline;
}

.lcsd-policy-section__summary {
    color: #4f5b66;
    margin-bottom: 12px;
}

.lcsd-policy-section__summary > :last-child {
    margin-bottom: 0;
}

.lcsd-board-policy-index,
.lcsd-board-policy-setup-links {
    margin: 0 0 24px;
}

.lcsd-board-policy-index__title,
.lcsd-board-policy-index__link {
    margin-bottom: 14px;
}

.lcsd-board-policy-index__code {
    font-weight: 400;
}

.lcsd-board-policy-index__anchor {
    display: inline;
}

.lcsd-board-policy-setup-link {
    border-bottom: 1px solid #d8dde3;
    padding: 12px 0;
}

.lcsd-board-policy-setup-link__heading {
    margin: 0 0 6px;
}

.lcsd-board-policy-setup-link__anchor {
    display: block;
}

.lcsd-board-policy-setup-link__text > :last-child,
.lcsd-board-policy-setup-link__anchor > :last-child {
    margin-bottom: 0;
}

.lcsd-meeting-table-wrapper {
    margin-bottom: 24px;
    overflow-x: auto;
}

.lcsd-meeting-section {
    margin-bottom: 34px;
}

.lcsd-meeting-section:last-child {
    margin-bottom: 0;
}

.lcsd-meeting-section__title {
    margin: 0 0 12px;
    font-size: 22px;
}

.lcsd-meeting-section__empty {
    background: #f6f7f7;
    border-left: 4px solid #d8dde3;
    margin: 0 0 24px;
    padding: 12px 14px;
}

.lcsd-meeting-page-text {
    margin: 0 0 20px;
}

.lcsd-meeting-section + .lcsd-meeting-page-text,
.lcsd-meeting-page-text + .lcsd-meeting-section {
    margin-top: 10px;
}

.lcsd-meeting-page-text > :last-child {
    margin-bottom: 0;
}

.lcsd-header-sidebar-content.page-title.hu-pad.group {
  background: #fff;
  position: relative;
  padding: 18px 30px 17px;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.5rem;
}

.lcsd-header-sidebar-content.page-title.hu-pad.group h1 {
    color: #666;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    margin: 0;
}


.lcsd-meeting-table {
    border-collapse: collapse;
    width: 100%;
}

.lcsd-meeting-table th,
.lcsd-meeting-table td {
    border: 1px solid #d8dde3;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.lcsd-meeting-table th {
    background: #f0f4f8;
    font-weight: 700;
}

.lcsd-meeting-table tbody tr:nth-child(even) td {
    background: #f6f7f7;
}

.lcsd-meeting-date-note {
    color: #50575e;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 4px;
}

.lcsd-meeting-cell-links {
    margin-top: 8px;
}

.lcsd-meeting-archive__documents {
    color: #50575e;
    font-size: 14px;
    list-style: none;
    margin: 8px 0 0;
    padding-left: 0;
}

.lcsd-meeting-archive__documents li {
    margin-bottom: 4px;
}

.lcsd-meeting-archive__documents li:last-child {
    margin-bottom: 0;
}

.lcsd-board-policy-tree {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.lcsd-board-policy-tree--nested {
    border-left: 2px solid #d8dde3;
    margin-top: 10px;
    margin-left: 14px;
    padding-left: 18px;
}

.lcsd-board-policy-tree__item {
    border-bottom: 1px solid #d8dde3;
    padding: 12px 0;
}

.lcsd-board-policy-tree__link {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lcsd-board-policy-tree__code {
    color: #50575e;
    font-weight: 700;
}

.lcsd-board-policy-tree__summary {
    color: #4f5b66;
    margin-top: 6px;
}

.lcsd-board-policy-tree__summary > :last-child {
    margin-bottom: 0;
}
