.community-body { min-width: 0; background: #f3f5fa; color: #1d2a40; font-family: "Microsoft YaHei", sans-serif; }
.community-body .footer_content { width: min(1600px, calc(100% - 40px)); min-width: 0; }
/* HOME-005：社区不展示全站推广浮层，企业入口沿用全站顶部导航。 */
.community-body .enterprise-settle-float { display: none !important; }
.community-shell { --community-red: #ed1830; --community-border: #e0e6f0; --community-muted: #71829c; width: min(1200px, calc(100% - 40px)); margin: 28px auto 64px; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.community-shell *, .community-shell *::before, .community-shell *::after { box-sizing: border-box; }
.community-shell [hidden] { display: none !important; }
.community-shell a { color: #455b7e; text-decoration: none; }
.community-shell a:hover { color: var(--community-red); }
.community-shell h1, .community-shell h2, .community-shell h3, .community-shell p { margin: 0 0 14px; }
.community-shell h1 { font-size: 26px; line-height: 1.4; }
.community-shell h2 { font-size: 21px; line-height: 1.5; }
.community-shell h3 { font-size: 18px; line-height: 1.5; }
.community-shell input, .community-shell select, .community-shell textarea, .community-shell button { font: inherit; }
.community-shell input:not([type=checkbox]):not([type=radio]), .community-shell select, .community-shell textarea { width: 100%; min-width: 0; border: 1px solid var(--community-border); border-radius: 5px; padding: 10px 12px; background: white; color: #455b7e; }
.community-shell textarea { resize: vertical; }
.community-shell button { cursor: pointer; }
.community-shell a:focus-visible, .community-shell button:focus-visible, .community-shell input:focus-visible, .community-shell textarea:focus-visible, .community-shell select:focus-visible, .community-shell summary:focus-visible { outline: 3px solid #ed183066; outline-offset: 3px; }
.community-header { display: flex; gap: 32px; align-items: center; padding: 18px 24px; border-radius: 12px; background: white; margin-bottom: 28px; }
.community-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; font-size: 21px; font-weight: 700; color: #1d2a40 !important; }
.community-brand span { color: white; background: var(--community-red); border-radius: 6px; width: 34px; height: 34px; text-align: center; }
.community-nav { display: flex; gap: 28px; flex: 1; }
.community-nav a { white-space: nowrap; border-bottom: 2px solid transparent; padding: 8px 0; }
.community-nav a[aria-current=page] { border-color: var(--community-red); color: var(--community-red); font-weight: 700; }
.community-header-actions, .community-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.community-button { display: inline-flex; justify-content: center; align-items: center; padding: 9px 22px; min-height: 42px; color: white !important; background: var(--community-red); border: 1px solid var(--community-red); border-radius: 6px; text-align: center; white-space: nowrap; }
.community-button:hover { background: #d81229; }
.community-button-secondary { color: #455b7e !important; background: white; border-color: var(--community-border); }
.community-button-secondary:hover { background: #f7f8fc; }
.community-shell button:disabled { cursor: wait; opacity: .6; }
.community-personal-menu { position: relative; }
.community-personal-menu summary { cursor: pointer; padding: 9px 18px; border: 1px solid var(--community-border); border-radius: 6px; }
.community-personal-menu nav { position: absolute; right: 0; z-index: 20; width: 210px; background: white; border: 1px solid var(--community-border); border-radius: 8px; padding: 8px; box-shadow: 0 10px 26px #1d2a4014; }
.community-personal-menu nav a { display: block; padding: 8px 12px; }
.community-columns { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 20px; margin-top: 20px; }
.community-main-column, .community-sidebar { min-width: 0; }
.community-panel { background: white; border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.community-post-owner-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--community-border); }
.community-post-owner-actions .community-button { min-width: 0; padding: 8px 10px; }
.community-post-owner-actions .community-post-delete { color: #c4142a !important; background: #fff7f8; border-color: #f3c9cf; }
.community-post-owner-actions .community-post-delete:hover { background: #ffedf0; border-color: #eeb1bb; }
.community-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.community-section-heading h1, .community-section-heading h2, .community-section-heading h3 { margin: 0; }
.community-list-row { position: relative; padding: 20px 0; border-bottom: 1px solid var(--community-border); }
.community-list-row:last-child { border-bottom: 0; }
.community-hover { transition: transform 160ms ease, box-shadow 160ms ease; }
.community-hover:hover { transform: translateY(-2px); box-shadow: 0 8px 22px #1d2a4010; }
.community-meta, .community-shell time { color: var(--community-muted); font-size: 14px; }
.community-board-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.community-board-links > a { display: block; }
.community-board-links span, .community-salary { color: var(--community-red); }
.community-search { display: flex; gap: 14px; align-items: center; }
.community-search label { flex-shrink: 0; font-weight: 700; }
.community-filter-form { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin-bottom: 16px; }
.community-filter-form > label { flex: 1 1 180px; }
.community-filter-form > input { flex: 1 1 180px; }
.community-resume-filter { align-items: center; flex-wrap: nowrap; }
.community-resume-filter > label { flex: 0 0 auto; }
.community-resume-filter > input { flex: 0 1 300px; }
.community-announcement-filter { align-items: center; }
.community-announcement-filter > label { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; }
.community-announcement-filter input, .community-announcement-filter select, .community-announcement-filter .community-button { height: 44px; line-height: 22px; }
.community-job-filter { display: grid; gap: 18px; }
.community-job-city-row, .community-job-city-row .community-quick-cities, .community-job-city-row .community-city-field, .community-job-filter-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.community-job-city-row > span { flex-shrink: 0; }
.community-job-city-row .community-quick-cities { gap: 8px; }
.community-job-city-row .community-city-field { min-width: 0; gap: 8px; }
.community-job-city-row [data-city-name]:not(:empty) { display: inline-flex; align-items: center; min-height: 32px; max-width: 100%; padding: 3px 12px; border: 1px solid #f3c9cf; border-radius: 5px; background: #fff0f2; color: #c4142a; font-size: 14px; font-weight: 600; line-height: 24px; }
.community-job-city-row [data-city-name]:empty { display: none; }
.community-job-city-row .community-quick-cities button, .community-job-city-row .community-button { min-height: 40px; padding: 6px 12px; }
.community-job-filter-fields { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)); gap: 20px; }
.community-job-filter-fields > label, .community-job-filter-actions > label { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.community-job-filter-fields input, .community-job-filter-fields select, .community-job-filter-actions select, .community-job-filter-actions .community-button { height: 44px; line-height: 22px; }
.community-job-filter-actions > label { width: 220px; }
.community-job-filter-actions > a { margin-left: 2px; white-space: nowrap; }
.community-tabs { display: flex; gap: 22px; flex-wrap: wrap; padding: 18px 24px; }
.community-tabs a { padding: 5px 0; }
.community-empty { text-align: center; padding: 64px 24px; }
.community-empty-inline { padding: 28px 0; color: var(--community-muted); }
.community-badge { display: inline-block; font-size: 13px; color: var(--community-red); background: #fff0f2; padding: 2px 8px; border-radius: 4px; }
.community-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.community-form label, .community-field { display: block; font-weight: 600; }
.community-form input, .community-form select, .community-form textarea, .community-field input { margin-top: 8px; font-weight: 400; }
.community-field { margin-bottom: 24px; }
.community-field-wide { grid-column: 1 / -1; }
.community-repeat-group { margin-top: 32px; }
.community-repeat-entry, .community-form fieldset { border: 1px solid var(--community-border); border-radius: 6px; padding: 20px; margin: 0 0 18px; min-width: 0; }
.community-form legend { padding: 0 8px; font-weight: 600; }
.community-checkbox { display: inline-flex !important; align-items: center; gap: 8px; margin: 6px 14px 6px 0; font-weight: 400 !important; }
.community-checkbox input { margin: 0 !important; width: 18px; height: 18px; }
.community-actions button:not(.community-button), .community-text-button, .community-quick-cities button { border: 1px solid var(--community-border); color: #455b7e; background: white; border-radius: 5px; padding: 6px 12px; }
.community-form-error { color: #b00020; background: #fff0f2; padding: 12px 16px; border-radius: 5px; }
.community-notice { padding: 16px 20px; background: #f5f7fc; border-left: 3px solid var(--community-red); margin: 20px 0; }
.community-table-scroll { overflow-x: auto; }
.community-table { border-collapse: collapse; width: 100%; min-width: 700px; text-align: left; }
.community-table th, .community-table td { padding: 16px 12px; border-bottom: 1px solid var(--community-border); vertical-align: top; }
.community-table th { background: #f7f8fc; white-space: nowrap; }
.community-pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.community-richtext { overflow-wrap: anywhere; margin: 28px 0; font-size: 16px; line-height: 1.9; }
.community-richtext img { max-width: 100%; height: auto; }
.community-richtext table { max-width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.community-richtext td, .community-richtext th { border: 1px solid var(--community-border); padding: 10px; }
.community-richtext h2, .community-resume-body h2 { margin-top: 30px; }
.community-description-grid { display: grid; grid-template-columns: 100px minmax(0, 1fr) 100px minmax(0, 1fr); gap: 12px; }
.community-description-grid dt { color: var(--community-muted); }
.community-description-grid dd { margin: 0; overflow-wrap: anywhere; }
.community-resume-entry { padding: 16px 0; border-bottom: 1px solid var(--community-border); }
.community-choice { display: flex; align-items: center; gap: 14px; }
.community-choice input { width: 20px; height: 20px; }
.community-topic-row { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--community-border); }
.community-topic-icon { font-size: 24px; color: var(--community-red); width: 52px; height: 52px; background: #fff0f2; text-align: center; border-radius: 12px; flex-shrink: 0; }
.community-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.community-tags > span, .community-tags > a { border: 1px solid var(--community-border); border-radius: 16px; padding: 3px 12px; }
.community-post-cover { float: right; object-fit: cover; margin: 0 0 12px 20px; border-radius: 6px; }
.community-list-row::after { display: block; content: ""; clear: both; }
.community-cover-preview { display: block; object-fit: cover; border-radius: 6px; margin: 10px 0; }
.community-reply { border-top: 1px solid var(--community-border); padding: 24px 0; scroll-margin-top: 100px; }
.community-reply blockquote { margin: 16px 0; padding: 12px 18px; background: #f5f7fc; border-left: 3px solid var(--community-border); }
.community-interaction-bar { padding: 24px 0; }
.community-interaction-bar [aria-pressed=true] { color: var(--community-red); border-color: var(--community-red); }
.community-pagination .pagination { display: flex; list-style: none; gap: 8px; padding: 0; flex-wrap: wrap; }
.community-pagination .pagination li > * { display: block; padding: 5px 12px; border: 1px solid var(--community-border); border-radius: 5px; }
.community-pagination .pagination .active > * { color: white; background: var(--community-red); }
.community-dialog { max-width: min(740px, calc(100vw - 32px)); width: 740px; max-height: calc(100dvh - 40px); padding: 24px; border: 0; border-radius: 14px; color: #1d2a40; overflow-y: auto; }
.community-dialog::backdrop { background: #10182780; }
.community-dialog .community-panel { padding: 0; }
.community-city-results { max-height: 330px; overflow-y: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.community-city-results button { background: white; padding: 8px; border: 1px solid var(--community-border); border-radius: 4px; }
.community-city-field { min-width: 150px; }
.community-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #1d2a40; color: white; border-radius: 8px; padding: 12px 20px; max-width: calc(100vw - 32px); z-index: 10020; }
.community-carousel { position: relative; padding: 24px; margin-bottom: 20px; border-radius: 14px; background: white; }
.community-slide { position: relative; min-height: 260px; border-radius: 10px; overflow: hidden; background: white; }
.community-slide > img { display: block; width: 100%; height: 300px; object-fit: cover; }
.community-slide-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: start; padding: 32px 64px; color: #1d2a40; background: linear-gradient(90deg, #fffffffa, #fffffff0 40%, #ffffff00 82%); }
.community-slide-copy h1, .community-slide-copy p { max-width: 52%; }
.community-slide-copy h1 { font-size: 30px; }
.community-carousel-step {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--community-border);
    border-radius: 50%;
    background: #fffffff0;
    color: #455b7e;
    box-shadow: 0 2px 8px #1d2a4026;
}
.community-carousel-step::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateX(-2px) rotate(45deg);
}
.community-carousel-prev { left: 34px; }
.community-carousel-prev::before { transform: translateX(2px) rotate(-135deg); }
.community-carousel-next { right: 34px; }
.community-carousel-step:hover { background: white; color: #1d2a40; }
@media (hover: hover) {
    .community-carousel-step { opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
    .community-carousel:hover .community-carousel-step, .community-carousel-step:focus-visible { opacity: 1; pointer-events: auto; }
}
.community-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.community-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.community-tag-list button { border: 1px solid var(--community-border); background: #f5f7fc; border-radius: 14px; padding: 2px 10px; }
@media (max-width: 1000px) {
    .community-header { flex-wrap: wrap; gap: 16px; }
    .community-nav { order: 3; flex-basis: 100%; justify-content: space-between; }
    .community-header-actions { margin-left: auto; }
    .community-columns { grid-template-columns: minmax(0, 1fr) 240px; }
    .community-job-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .community-job-filter-keyword { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    body.community-body { padding-top: 108px !important; }
    .community-body header.ihead { height: 100px; min-width: 0; padding: 0 12px; align-items: flex-start; }
    .community-body header.ihead .head-logo { width: 100px; height: auto; margin: 12px 0; }
    .community-body header.ihead .head-right { margin-left: auto; height: 50px; }
    .community-body header.ihead .head-vip { margin-right: 0; }
    .community-body header.ihead .head-list { position: absolute; top: 50px; left: 0; display: flex; width: 100%; height: 50px; margin: 0; overflow-x: auto; white-space: nowrap; }
    .community-body header.ihead .head-list-li { flex: 0 0 auto; margin: 0 12px; }
    .community-body .footer_content { width: calc(100% - 24px); min-width: 0; }
    .community-body .footer_content_top { flex-wrap: wrap; }
    .community-shell { width: calc(100% - 24px); margin-top: 16px; }
    .community-header, .community-panel { padding: 18px; border-radius: 8px; }
    .community-columns, .community-board-links, .community-form-grid { grid-template-columns: minmax(0, 1fr); }
    .community-board-links { gap: 0; }
    .community-header { gap: 12px; }
    .community-brand { font-size: 18px; }
    .community-header-actions .community-button { padding: 8px 10px; }
    .community-nav { gap: 10px; font-size: 14px; overflow-x: auto; }
    .community-search { flex-wrap: wrap; }
    .community-search label { width: 100%; }
    .community-search input { flex: 1; width: 0 !important; }
    .community-job-filter-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .community-job-filter-keyword { grid-column: auto; }
    .community-job-filter-fields > label { display: grid; grid-template-columns: 60px minmax(0, 1fr); }
    .community-job-filter-actions > label { width: 100%; display: grid; grid-template-columns: 60px minmax(0, 1fr); }
    .community-description-grid { grid-template-columns: 90px minmax(0, 1fr); }
    .community-slide > img { height: 260px; }
    .community-slide-copy { padding: 24px 54px; background: linear-gradient(90deg, #fffffffa, #fffffff0 55%, #ffffffa6); }
    .community-slide-copy h1, .community-slide-copy p { max-width: 100%; }
    .community-slide-copy h1 { font-size: 24px; }
    .community-carousel { padding: 12px; }
    .community-carousel-prev { left: 18px; }
    .community-carousel-next { right: 18px; }
    .community-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; border-radius: 0; margin: auto 0; padding: 20px; }
    .community-city-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .community-post-cover { width: 100px; height: 72px; }
    .community-repeat-entry { padding: 12px; }
    .community-field-wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .community-hover, .community-carousel-step { transition: none; }
    .community-hover:hover { transform: none; }
}
