.cbs-form,.cbs-feed,.cbs-dashboard{margin:1.5rem 0}.cbs-form input[type=text],.cbs-form input[type=email],.cbs-form input[type=url],.cbs-form input[type=date],.cbs-form select,.cbs-form textarea{width:100%;padding:.7rem;border:1px solid #cbd5e1;border-radius:6px;box-sizing:border-box}.cbs-form button{padding:.8rem 1.2rem;border:0;border-radius:6px;cursor:pointer}.cbs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.cbs-card{border:1px solid #e5e7eb;padding:1rem;border-radius:8px;margin-bottom:1rem}.cbs-meta{display:flex;flex-wrap:wrap;gap:12px;color:#475569;font-size:.9rem;margin-bottom:.75rem}.cbs-notice{padding:1rem;border-radius:6px}.cbs-warning{background:#fff7ed;border:1px solid #fdba74}.cbs-table{width:100%;border-collapse:collapse}.cbs-table th,.cbs-table td{border:1px solid #e5e7eb;padding:.75rem;text-align:left}

.cbs-board-page { display: grid; gap: 1.5rem; }
.cbs-board-header, .cbs-board-submit, .cbs-board-feed { border: 1px solid #ddd; border-radius: 8px; padding: 1rem; background: #fff; }
.cbs-board-header h2, .cbs-board-submit h3, .cbs-board-feed h3 { margin-top: 0; }

.cbs-post-details{border:1px solid #e5e7eb;border-radius:8px;padding:.85rem;margin:.85rem 0;background:#f8fafc}.cbs-post-details-single{padding:1rem;margin-top:1.25rem}.cbs-post-details h3{margin-top:0}.cbs-detail-row{margin:.25rem 0}.cbs-detail-row strong{display:inline-block;min-width:145px}.cbs-media-gallery{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.cbs-media-item img{display:block;border-radius:6px;max-width:120px;height:auto}.cbs-post-details-single .cbs-media-item img{max-width:220px}.cbs-media-video{display:inline-block;padding:.5rem .75rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;text-decoration:none}

/* Compact clickable media thumbnails */
.cbs-media-gallery{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
.cbs-media-item{position:relative;display:flex;align-items:center;justify-content:center;width:96px;height:96px;border:1px solid #dbe3ea;border-radius:8px;overflow:hidden;background:#fff;text-decoration:none;box-shadow:0 1px 2px rgba(15,23,42,.06)}
.cbs-media-item:hover{box-shadow:0 2px 6px rgba(15,23,42,.14)}
.cbs-media-thumb,.cbs-media-item img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0;max-width:none}
.cbs-media-video-link{background:#0f172a;color:#fff}
.cbs-media-video-icon{font-size:1.75rem;line-height:1}
.cbs-media-video-label{position:absolute;left:0;right:0;bottom:0;padding:.2rem .35rem;background:rgba(15,23,42,.78);color:#fff;font-size:.75rem;text-align:center}
.cbs-post-details-single .cbs-media-item{width:120px;height:120px}

.cbs-info{background:#eff6ff;border:1px solid #93c5fd}.cbs-success{background:#f0fdf4;border:1px solid #86efac}.cbs-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.cbs-empty-state{border:1px dashed #cbd5e1;border-radius:10px;padding:1.25rem;background:#f8fafc;text-align:left}.cbs-empty-state h4{margin:.1rem 0 .35rem;font-size:1.05rem}.cbs-empty-state p{margin:.25rem 0 .85rem;color:#475569}.cbs-empty-state__button{display:inline-block;padding:.65rem .9rem;border-radius:6px;background:#0f172a;color:#fff;text-decoration:none;font-weight:700}.cbs-empty-state__button:hover,.cbs-empty-state__button:focus{color:#fff;text-decoration:underline}.cbs-form small{display:block;margin-top:.35rem;color:#475569}.cbs-form button:disabled{cursor:not-allowed;opacity:.55}

/* Dashboard upgrade - 1.0.7 */
.cbs-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.7rem 1rem;border-radius:999px;background:#083c7a;color:#fff!important;text-decoration:none;font-weight:800}.cbs-button:hover,.cbs-button:focus{text-decoration:none;background:#061d3b}.cbs-button-secondary{background:#fff;color:#083c7a!important;border:1px solid #083c7a}.cbs-dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.cbs-dashboard-header h2{margin:.1rem 0}.cbs-dashboard-header p{margin:.25rem 0 0;color:#475569}.cbs-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:1rem 0 1.25rem}.cbs-dashboard-stats div{padding:1rem;border:1px solid #dbe3ea;border-radius:14px;background:#f8fafc}.cbs-dashboard-stats span{display:block;color:#475569;font-size:.85rem;font-weight:800}.cbs-dashboard-stats strong{display:block;margin-top:.25rem;font-size:1.55rem;color:#3f7f1f}.cbs-dashboard-list{display:grid;gap:.85rem}.cbs-dashboard-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #dbe3ea;border-radius:16px;background:#fff}.cbs-dashboard-type{display:inline-flex;margin-bottom:.35rem;padding:.24rem .55rem;border-radius:999px;background:#eff6ff;color:#083c7a;font-size:.78rem;font-weight:900}.cbs-dashboard-card h3{margin:.1rem 0 .2rem}.cbs-dashboard-meta,.cbs-dashboard-note{margin:.2rem 0;color:#475569}.cbs-dashboard-note{font-weight:700}.cbs-dashboard-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.65rem}.cbs-dashboard-actions a{font-weight:800}.cbs-danger-link{color:#b42318}.cbs-status-pending{border-left:5px solid #f59e0b}.cbs-status-publish{border-left:5px solid #3f7f1f}.cbs-status-draft{border-left:5px solid #64748b}.cbs-status-trash{opacity:.72}.cbs-dashboard-logged-out .cbs-notice h3{margin-top:0}@media (max-width: 760px){.cbs-dashboard-header,.cbs-dashboard-card{display:block}.cbs-dashboard-header .cbs-button{margin-top:.75rem}.cbs-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cbs-dashboard-actions{justify-content:flex-start;margin-top:.75rem}}@media (max-width: 480px){.cbs-dashboard-stats{grid-template-columns:1fr}}


/* Submit hub workflow stabilization - 1.0.10 */
.cbs-submit-hub{margin:1.5rem 0}.cbs-submit-hub__intro{margin-bottom:1rem}.cbs-submit-hub__intro h2{margin:.1rem 0 .35rem}.cbs-submit-hub__intro p{margin:0;color:#475569}.cbs-submit-hub__account{margin-bottom:1rem}.cbs-submit-hub__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.cbs-submit-card{display:block;padding:1.15rem;border:1px solid #dbe3ea;border-radius:16px;background:#fff;text-decoration:none;color:#17212b;box-shadow:0 8px 24px rgba(8,47,95,.07)}.cbs-submit-card:hover,.cbs-submit-card:focus{transform:translateY(-2px);text-decoration:none;box-shadow:0 14px 34px rgba(8,47,95,.12)}.cbs-submit-card h3{margin:.55rem 0 .4rem;color:#083c7a}.cbs-submit-card p{margin:0 0 .8rem;color:#475569}.cbs-submit-card strong{color:#3f7f1f}.cbs-submit-card__badge{display:inline-flex;padding:.24rem .55rem;border-radius:999px;background:#e8f6de;color:#3f7f1f;font-size:.78rem;font-weight:900}@media (max-width:760px){.cbs-submit-hub__grid{grid-template-columns:1fr}.cbs-submit-card{padding:1rem}}

/* Member dashboard polish - 1.0.12 */
.nc-member-dashboard{display:grid;gap:1.25rem}.nc-member-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.nc-member-summary-card{padding:1.1rem;border:1px solid #dbe3ea;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(8,47,95,.07)}.nc-member-summary-card span{display:block;color:#475569;font-size:.82rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.nc-member-summary-card strong{display:block;margin-top:.35rem;color:#083c7a;font-size:2rem;line-height:1}.nc-member-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:1rem}.nc-member-action-list{display:grid;gap:.75rem}.nc-member-action-list a{display:block;padding:1rem;border:1px solid #dbe3ea;border-radius:16px;background:#f8fafc;text-decoration:none;color:#17212b}.nc-member-action-list a:hover,.nc-member-action-list a:focus{background:#fff;box-shadow:0 12px 28px rgba(8,47,95,.1);text-decoration:none}.nc-member-action-list strong{display:block;color:#083c7a}.nc-member-action-list span{display:block;margin-top:.25rem;color:#475569}.cbs-dashboard-kicker{display:block;margin-bottom:.25rem;color:#3f7f1f;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.nc-dashboard-content{min-width:0}.nc-dashboard-content .cbs-dashboard{margin:0}.cbs-dashboard-card__main{min-width:0}.cbs-dashboard-card h3{overflow-wrap:anywhere}.cbs-dashboard-actions a{display:inline-flex;align-items:center;min-height:36px;padding:.35rem .6rem;border-radius:999px;background:#f8fafc;text-decoration:none}.cbs-dashboard-actions a:hover,.cbs-dashboard-actions a:focus{background:#eff6ff;text-decoration:none}.cbs-dashboard-actions .cbs-danger-link{background:#fff1f2;color:#b42318}@media (max-width:900px){.nc-member-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.nc-member-grid{grid-template-columns:1fr}}@media (max-width:560px){.nc-member-summary{grid-template-columns:1fr}.nc-member-summary-card{padding:1rem}.nc-member-summary-card strong{font-size:1.65rem}.cbs-dashboard-card{display:block}.cbs-dashboard-actions{justify-content:flex-start;margin-top:.75rem}.cbs-dashboard-actions a{width:100%;justify-content:center}.cbs-button{width:100%}}


/* Front-end profile management - 1.0.13 */
.cbs-dashboard-profile-wrap{margin:1.25rem 0}.cbs-profile-panel{padding:1rem;border:1px solid #dbe3ea;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(8,47,95,.06)}.cbs-profile-form{margin:0}.cbs-profile-form label{display:block;margin-bottom:.35rem;font-weight:900;color:#17212b}.cbs-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.cbs-profile-form select,.cbs-profile-form textarea,.cbs-profile-form input[type=text]{width:100%;padding:.75rem;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-sizing:border-box}.cbs-profile-readonly{margin:.85rem 0;padding:.8rem;border-radius:12px;background:#f8fafc;color:#475569}.cbs-profile-form .cbs-button{border:0;cursor:pointer}@media (max-width:720px){.cbs-profile-grid{grid-template-columns:1fr}.cbs-profile-panel{padding:.9rem}}

/* Member dashboard refinement - compact, profile-card first layout */
.cbs-dashboard--member{display:grid;gap:1rem;margin:0}.cbs-dashboard-topgrid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.75fr);gap:1rem;align-items:start}.cbs-dashboard-panel{padding:1rem;border:1px solid #dbe3ea;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(8,47,95,.055)}.cbs-dashboard-header--compact{margin:0 0 .8rem}.cbs-dashboard-header--compact h2{font-size:1.15rem;line-height:1.15}.cbs-dashboard-header--compact p{font-size:.92rem}.cbs-dashboard-header--compact .cbs-button{min-height:38px;padding:.55rem .85rem}.cbs-dashboard-stats--compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:.7rem 0 0}.cbs-dashboard-stats--compact div{padding:.7rem;border-radius:12px}.cbs-dashboard-stats--compact span{font-size:.72rem}.cbs-dashboard-stats--compact strong{font-size:1.25rem}.cbs-dashboard-activity-panel{padding:1rem}.cbs-dashboard-activity-panel .cbs-dashboard-list{gap:.65rem}.cbs-dashboard-activity-panel .cbs-dashboard-card{padding:.8rem;border-radius:14px;box-shadow:none}.cbs-dashboard-activity-panel .cbs-dashboard-type{font-size:.7rem;margin-bottom:.25rem}.cbs-dashboard-activity-panel .cbs-dashboard-card h3{font-size:1rem;margin:.05rem 0}.cbs-dashboard-activity-panel .cbs-dashboard-meta,.cbs-dashboard-activity-panel .cbs-dashboard-note{font-size:.86rem}.cbs-profile-panel--compact{padding:1rem;border:1px solid #dbe3ea;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(8,47,95,.055)}.cbs-profile-card-head{display:flex;gap:.85rem;align-items:flex-start}.cbs-profile-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border-radius:16px;background:#083c7a;color:#fff;font-weight:900;font-size:1.25rem;text-transform:uppercase}.cbs-profile-card-title h3{margin:.1rem 0 .25rem;font-size:1.25rem}.cbs-profile-card-title p{margin:0;color:#475569;font-size:.92rem}.cbs-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:.9rem 0}.cbs-profile-facts div{min-width:0;padding:.65rem;border:1px solid #e5eaf0;border-radius:12px;background:#f8fafc}.cbs-profile-facts span{display:block;color:#64748b;font-size:.7rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.cbs-profile-facts strong{display:block;margin-top:.15rem;color:#17212b;font-size:.9rem;overflow-wrap:anywhere}.cbs-profile-editor{border-top:1px solid #e5eaf0;padding-top:.75rem}.cbs-profile-editor summary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:.55rem .85rem;border-radius:999px;background:#083c7a;color:#fff;font-weight:900;cursor:pointer;list-style:none}.cbs-profile-editor summary::-webkit-details-marker{display:none}.cbs-profile-editor[open] summary{margin-bottom:.8rem;background:#061d3b}.cbs-profile-form .cbs-profile-grid{gap:.75rem}.cbs-profile-form p{margin:.65rem 0}.cbs-profile-form label{font-size:.86rem}.cbs-profile-form select,.cbs-profile-form textarea,.cbs-profile-form input[type=text]{padding:.62rem;border-radius:10px}.cbs-profile-submit{margin-bottom:0}.cbs-profile-message{margin-bottom:.75rem}.nc-dashboard-cards--actions{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.65rem}.nc-dashboard-cards--actions a{padding:.8rem;border-radius:16px}.nc-dashboard-cards--actions a span{font-size:.72rem}.nc-dashboard-cards--actions a strong{font-size:.98rem;line-height:1.2}@media (max-width:900px){.cbs-dashboard-topgrid{grid-template-columns:1fr}.cbs-dashboard-stats--compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.cbs-dashboard-panel,.cbs-profile-panel--compact{padding:.85rem;border-radius:16px}.cbs-profile-card-head{gap:.7rem}.cbs-profile-avatar{width:40px;height:40px;flex-basis:40px;border-radius:14px}.cbs-profile-facts{grid-template-columns:1fr}.cbs-dashboard-stats--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.cbs-dashboard-activity-panel .cbs-dashboard-actions a{width:auto;min-width:calc(50% - .35rem);flex:1}.nc-dashboard-cards--actions{grid-template-columns:1fr 1fr}.nc-dashboard-cards--actions a{padding:.7rem}.cbs-profile-editor summary{width:100%}}@media (max-width:400px){.nc-dashboard-cards--actions{grid-template-columns:1fr}.cbs-dashboard-stats--compact{grid-template-columns:1fr}}

/* Unified dashboard forum activity - 1.0.15 */
.nc-dashboard-forum{min-width:0}.nc-member-forum-panel{padding:1rem}.nc-member-forum-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.75rem 0 1rem}.nc-member-forum-stats a{display:block;padding:.75rem;border:1px solid #dbe3ea;border-radius:14px;background:#f8fafc;text-decoration:none;color:#17212b}.nc-member-forum-stats a:hover,.nc-member-forum-stats a:focus{background:#fff;box-shadow:0 10px 24px rgba(8,47,95,.08);text-decoration:none}.nc-member-forum-stats span{display:block;color:#64748b;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.nc-member-forum-stats strong{display:block;margin-top:.18rem;color:#083c7a;font-size:1.05rem}.nc-member-forum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.nc-member-forum-list h3{margin:.1rem 0 .65rem;font-size:1rem;color:#17212b}.nc-mini-activity-list{display:grid;gap:.6rem}.nc-mini-activity-item{padding:.75rem;border:1px solid #e5eaf0;border-radius:14px;background:#fff}.nc-mini-activity-item span{display:block;margin-bottom:.22rem;color:#64748b;font-size:.74rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.nc-mini-activity-item h4{margin:0;font-size:.98rem;line-height:1.25}.nc-mini-activity-item h4 a{color:#083c7a;text-decoration:none}.nc-mini-activity-item h4 a:hover,.nc-mini-activity-item h4 a:focus{text-decoration:underline}.nc-mini-activity-item p{margin:.35rem 0 0;color:#475569;font-size:.88rem}.nc-mini-empty{padding:.85rem;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc}.nc-mini-empty p{margin:.1rem 0 .55rem;color:#475569}.nc-mini-empty a{font-weight:900;color:#083c7a}.nc-member-dashboard .nc-dashboard-content{margin-top:0}@media (max-width:760px){.nc-member-forum-grid{grid-template-columns:1fr}.nc-member-forum-stats{grid-template-columns:1fr}.nc-member-forum-panel{padding:.85rem}}


/* Submission visibility and confirmation polish - 1.0.17 */
.cbs-public-info-box{margin:1rem 0;padding:1rem;border:1px solid #bfdbfe;border-left:4px solid #083c7a;border-radius:14px;background:#eff6ff;color:#17212b}.cbs-public-info-box h4{margin:.05rem 0 .45rem;color:#083c7a;font-size:1rem}.cbs-public-info-box p{margin:.35rem 0;color:#334155}.cbs-public-tag{display:inline-flex;vertical-align:middle;margin-left:.35rem;padding:.12rem .42rem;border-radius:999px;background:#e8f6de;color:#2f6b14;font-size:.68rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.cbs-notice strong{font-weight:900}.cbs-notice-link{display:inline-flex;margin-left:.45rem;font-weight:900;color:#083c7a}.cbs-form small{display:block;margin-top:.35rem;color:#64748b;line-height:1.4}@media (max-width:560px){.cbs-public-info-box{padding:.85rem}.cbs-public-tag{display:inline-flex;margin:.25rem 0 0 0}.cbs-notice-link{display:block;margin:.45rem 0 0}}

/* Safety report privacy relay - 1.0.21 */
.cbs-privacy-first-box{border-color:#bbf7d0;border-left-color:#15803d;background:#f0fdf4}.cbs-privacy-options{margin:1rem 0;padding:1rem;border:1px solid #dbeafe;border-radius:14px;background:#f8fafc}.cbs-privacy-options h4{margin:.05rem 0 .65rem;color:#083c7a}.cbs-checkbox-row{display:flex;align-items:flex-start;gap:.55rem;margin:.45rem 0;font-weight:800;color:#17212b;line-height:1.35}.cbs-checkbox-row input{margin-top:.15rem;flex:0 0 auto}.cbs-private-tag{display:inline-flex;vertical-align:middle;margin-left:.35rem;padding:.12rem .42rem;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:.68rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.cbs-relay-box{margin-top:1.25rem;padding:1rem;border:1px solid #dbeafe;border-radius:16px;background:#f8fafc}.cbs-relay-box h3{margin:.05rem 0 .4rem;color:#083c7a}.cbs-relay-box p{margin:.35rem 0;color:#334155}.cbs-relay-form{margin-top:.75rem}.cbs-relay-box-disabled{background:#fff7ed;border-color:#fed7aa}.cbs-relay-box-disabled h3{color:#9a3412}@media (max-width:560px){.cbs-privacy-options,.cbs-relay-box{padding:.85rem}.cbs-private-tag{display:inline-flex;margin:.25rem 0 0 0}.cbs-checkbox-row{font-size:.94rem}}

/* Safety report owner editing */
.cbs-report-edit-panel {
  margin-bottom: 1.25rem;
}

.cbs-report-edit-form .cbs-privacy-options,
.cbs-existing-media {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.7);
  margin: 1rem 0;
}

.cbs-existing-media legend {
  padding: 0 .35rem;
  font-weight: 700;
}

.cbs-media-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .8rem;
}

.cbs-media-edit-item {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  align-items: flex-start;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  padding: .7rem;
  background: #fff;
}

.cbs-media-edit-item img,
.cbs-media-edit-item .cbs-media-thumb {
  width: 100%;
  max-width: 150px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}

.cbs-owner-actions {
  margin: 1rem 0;
}

@media (max-width: 640px) {
  .cbs-media-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cbs-report-edit-form .cbs-grid {
    grid-template-columns: 1fr;
  }
}


/* Keep community board uploaded images from overwhelming the page, including theme featured images. */
.single-community_report .post-thumbnail img,
.single-help_wanted .post-thumbnail img,
.single-local_offer .post-thumbnail img,
.single-community_report .wp-post-image,
.single-help_wanted .wp-post-image,
.single-local_offer .wp-post-image{max-width:min(100%,720px);max-height:420px;width:auto;height:auto;object-fit:contain;border-radius:12px}
.cbs-post-details-single .cbs-media-gallery{max-width:760px}
.cbs-post-details-single .cbs-media-item{width:112px;height:112px}
@media (max-width:640px){.single-community_report .post-thumbnail img,.single-help_wanted .post-thumbnail img,.single-local_offer .post-thumbnail img,.single-community_report .wp-post-image,.single-help_wanted .wp-post-image,.single-local_offer .wp-post-image{max-height:300px}.cbs-post-details-single .cbs-media-item{width:92px;height:92px}}

/* Business ad presentation */
.cbs-card-offer{position:relative;border:1px solid #bfd7ef;border-left:6px solid #083c7a;border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 14px 34px rgba(8,47,95,.08);overflow:hidden}.cbs-card-offer:before{content:'Business Ad';display:inline-flex;margin-bottom:.55rem;padding:.2rem .55rem;border-radius:999px;background:#e8f6de;color:#2f6b14;font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.cbs-card-offer h3{margin-top:.1rem;font-size:1.25rem}.cbs-card-offer .cbs-detail-cbs_price strong,.cbs-card-offer .cbs-detail-cbs_expiration_date strong{color:#083c7a}.cbs-business-link{display:inline-flex;align-items:center;min-height:34px;padding:.35rem .7rem;border-radius:999px;background:#083c7a;color:#fff!important;text-decoration:none;font-weight:900}.cbs-business-link:hover,.cbs-business-link:focus{background:#061d3b;text-decoration:none}.single-local_offer .entry-content > img,.single-local_offer .entry-content figure img,.single-local_offer article img.wp-post-image,.single-local_offer .post-thumbnail img,.single-local_offer .wp-post-image{display:block;max-width:min(100%,520px)!important;max-height:320px!important;width:auto!important;height:auto!important;object-fit:contain!important;margin-left:auto;margin-right:auto;border-radius:14px}.single-local_offer .cbs-post-details-single .cbs-media-gallery{justify-content:flex-start}.single-local_offer .cbs-post-details-single .cbs-media-item{width:96px;height:96px}@media (max-width:640px){.single-local_offer .entry-content > img,.single-local_offer .entry-content figure img,.single-local_offer article img.wp-post-image,.single-local_offer .post-thumbnail img,.single-local_offer .wp-post-image{max-height:240px!important}.single-local_offer .cbs-post-details-single .cbs-media-item{width:82px;height:82px}}


/* Single business ad image hard limit: prevent uploaded/featured images from taking over the ad page. */
.single-local_offer .cbs-offer-featured-frame,
.single-local_offer .post-thumbnail,
.single-local_offer .entry-thumbnail,
.single-local_offer .featured-image,
.single-local_offer figure.wp-block-post-featured-image{max-width:460px!important;margin:0 auto 1.25rem!important;overflow:hidden!important;border-radius:16px!important;background:#f3f6fa!important;box-shadow:0 10px 24px rgba(8,47,95,.10)!important}
.single-local_offer .cbs-offer-featured-frame img,
.single-local_offer .post-thumbnail img,
.single-local_offer .entry-thumbnail img,
.single-local_offer .featured-image img,
.single-local_offer figure.wp-block-post-featured-image img,
.single-local_offer img.cbs-offer-featured-image,
body.single-local_offer img.wp-post-image{display:block!important;width:100%!important;max-width:460px!important;height:260px!important;max-height:260px!important;object-fit:cover!important;margin:0 auto!important;border-radius:16px!important}
.single-local_offer .entry-content > p:first-child img,
.single-local_offer .entry-content > figure:first-child img{display:block!important;width:100%!important;max-width:460px!important;height:260px!important;max-height:260px!important;object-fit:cover!important;margin:0 auto 1.25rem!important;border-radius:16px!important}
@media (max-width:640px){.single-local_offer .cbs-offer-featured-frame,.single-local_offer .post-thumbnail,.single-local_offer .entry-thumbnail,.single-local_offer .featured-image,.single-local_offer figure.wp-block-post-featured-image{max-width:100%!important}.single-local_offer .cbs-offer-featured-frame img,.single-local_offer .post-thumbnail img,.single-local_offer .entry-thumbnail img,.single-local_offer .featured-image img,.single-local_offer figure.wp-block-post-featured-image img,.single-local_offer img.cbs-offer-featured-image,body.single-local_offer img.wp-post-image,.single-local_offer .entry-content > p:first-child img,.single-local_offer .entry-content > figure:first-child img{max-width:100%!important;height:210px!important;max-height:210px!important}}


/* Single business ad compact image override - 1.0.26 */
body.single-local_offer .site-main img.wp-post-image,
body.single-local_offer main img.wp-post-image,
body.single-local_offer article img.wp-post-image,
body.single-local_offer .entry-content > p:first-child > img,
body.single-local_offer .entry-content > figure:first-child img,
body.single-local_offer .post-thumbnail img,
body.single-local_offer .featured-image img,
body.single-local_offer .cbs-offer-featured-image {
  width: 220px !important;
  max-width: 220px !important;
  height: 150px !important;
  max-height: 150px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 0 1rem 0 !important;
  border-radius: 12px !important;
}
body.single-local_offer .cbs-offer-featured-frame,
body.single-local_offer .post-thumbnail,
body.single-local_offer .featured-image,
body.single-local_offer figure.wp-block-post-featured-image {
  width: 220px !important;
  max-width: 220px !important;
  margin: 0 0 1rem 0 !important;
  box-shadow: none !important;
}
body.single-local_offer .conversation-area {
  margin-top: 1.25rem;
}
.cbs-reply-options small {
  display: block;
  margin-top: .35rem;
  color: #64748b;
}
@media (max-width: 640px) {
  body.single-local_offer .site-main img.wp-post-image,
  body.single-local_offer main img.wp-post-image,
  body.single-local_offer article img.wp-post-image,
  body.single-local_offer .entry-content > p:first-child > img,
  body.single-local_offer .entry-content > figure:first-child img,
  body.single-local_offer .post-thumbnail img,
  body.single-local_offer .featured-image img,
  body.single-local_offer .cbs-offer-featured-image,
  body.single-local_offer .cbs-offer-featured-frame,
  body.single-local_offer .post-thumbnail,
  body.single-local_offer .featured-image,
  body.single-local_offer figure.wp-block-post-featured-image {
    width: 180px !important;
    max-width: 180px !important;
    height: 120px !important;
    max-height: 120px !important;
  }
}

/* Single business ad image hard stop - 1.0.28
   The plugin suppresses the theme featured image in PHP. These selectors are a fallback
   for block themes that render the featured image outside the normal filter path. */
body.single-local_offer figure.wp-block-post-featured-image,
body.single-local_offer .wp-block-post-featured-image,
body.single-local_offer .post-thumbnail,
body.single-local_offer .entry-thumbnail,
body.single-local_offer .featured-image {
  display: none !important;
}
body.single-local_offer .cbs-media-gallery {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .65rem !important;
  align-items: flex-start !important;
}
body.single-local_offer .cbs-media-item,
body.single-local_offer .cbs-media-thumb {
  width: 140px !important;
  max-width: 140px !important;
  height: 100px !important;
  max-height: 100px !important;
  object-fit: cover !important;
}
@media (max-width: 640px) {
  body.single-local_offer .cbs-media-item,
  body.single-local_offer .cbs-media-thumb {
    width: 120px !important;
    max-width: 120px !important;
    height: 86px !important;
    max-height: 86px !important;
  }
}

/* Video link field display - 1.0.28 */
.cbs-video-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid currentColor;
}
.cbs-video-link::before {
  content: "▶";
  font-size: .85em;
}

/* Community Board Suite 1.0.30 refinements */
.cbs-relay-accordion {
  padding: 0 !important;
  overflow: hidden;
}
.cbs-relay-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 0;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-weight: 800;
  text-align: left;
  padding: 1rem 1.1rem;
  cursor: pointer;
}
.cbs-relay-toggle:hover,
.cbs-relay-toggle:focus {
  background: #eef2ff;
  outline: 2px solid transparent;
}
.cbs-relay-toggle:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: -3px;
}
.cbs-relay-toggle-icon {
  transition: transform .18s ease;
}
.cbs-relay-toggle[aria-expanded="true"] .cbs-relay-toggle-icon {
  transform: rotate(180deg);
}
.cbs-relay-panel {
  padding: 0 1.1rem 1.1rem;
}
.cbs-member-replies-notice {
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 1rem;
  margin: 1.25rem 0;
  background: #f8fafc;
}
.cbs-member-replies-notice h3 {
  margin-top: 0;
}
body.cbs-guest-replies-hidden .conversation-area,
body.cbs-guest-replies-hidden #conversation,
body.cbs-guest-replies-hidden .wp-block-conversation,
body.cbs-guest-replies-hidden .comment-respond,
body.cbs-guest-replies-hidden .comment-list {
  display: none !important;
}
body.single-community_report .post-navigation,
body.single-help_wanted .post-navigation,
body.single-local_offer .post-navigation,
body.single-community_report nav.navigation.post-navigation,
body.single-help_wanted nav.navigation.post-navigation,
body.single-local_offer nav.navigation.post-navigation {
  display: none !important;
}
.cbs-related-posts {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.cbs-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
}
.cbs-related-card {
  display: grid;
  gap: .35rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: .85rem;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}
.cbs-related-card:hover,
.cbs-related-card:focus {
  border-color: #94a3b8;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}
.cbs-related-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.cbs-related-date {
  color: #64748b;
  font-size: .82rem;
}
.cbs-related-card strong {
  color: #0f172a;
}
.cbs-related-card span:not(.cbs-related-date) {
  color: #475569;
  font-size: .92rem;
}
.cbs-related-card em {
  color: #1d4ed8;
  font-style: normal;
  font-weight: 700;
  margin-top: .25rem;
}
@media (max-width: 640px) {
  .cbs-related-grid {
    grid-template-columns: 1fr;
  }
}

/* CBS 1.0.35: uploaded videos use clickable tiles that open the original video file. */
.cbs-post-details-single .cbs-media-video-link{width:120px;height:120px}
.cbs-post-details-single .cbs-media-video-link .cbs-media-video-icon{font-size:2rem}
.cbs-post-details-single .cbs-media-video-link .cbs-media-video-label{font-weight:700}
@media (max-width:640px){.cbs-post-details-single .cbs-media-video-link{width:96px;height:96px}}


.cbs-business-logo {
  margin: 0 0 0.85rem;
}

.cbs-business-logo-img {
  display: block;
  width: auto;
  max-width: min(180px, 100%);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  border-radius: 12px;
}

.cbs-business-logo-feed .cbs-business-logo-img {
  max-width: 120px;
  max-height: 80px;
}

.cbs-business-logo-edit,
.cbs-business-logo-current {
  display: block;
  width: 100%;
}

.cbs-business-logo-current {
  margin: 0.35rem 0 0.75rem;
}

@media (max-width: 600px) {
  .cbs-business-logo-img,
  .cbs-business-logo-feed .cbs-business-logo-img {
    max-width: 96px;
    max-height: 72px;
  }
}
