/* /companies (companies/companies-page.php) and /company/{slug} (companies/company-page.php) */

strong, h4 { font-weight: bold !important; }
.companies-page .main-content { padding-left: 15px; padding-right: 15px; }
.companies-page .main-content-wrapper { margin: 90px auto; }

.breadcrumb-nav { max-width: 1100px; margin: 20px auto 10px; padding: 0 20px; font-size: 14px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; color: #9c9c9c; }
.breadcrumb li + li::before { content: '/'; margin: 0 8px; color: #ccc; }
.breadcrumb a { color: #42b983; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:last-child { color: #000; }

.co-card { max-width: 900px; margin: 10px auto 30px; padding: 30px; background: #fff; border-radius: 12px; box-shadow: 0 0 2px #42b982; color: #000; }
.co-header { display: flex; gap: 20px; align-items: center; margin-bottom: 15px; }
.co-header > div { min-width: 0; overflow-wrap: anywhere; }
.co-logo { width: 72px; height: 72px; border-radius: 14px; object-fit: contain; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; flex-shrink: 0; border: 1px solid #eee; }
.co-card h1 { font-size: 26px; line-height: 1.3; margin: 0 0 6px; text-align: left; }
.co-links { color: #555; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.co-links a { color: #42b983; font-weight: bold; }
.co-card .badges-wrapper { margin: 10px 0 15px; }
.co-card .badges-wrapper .badge { margin: 0 5px 5px 0; display: inline-block; }
.co-about { line-height: 1.7; font-size: 15px; }
.co-about p { margin: 8px 0; background: #fff; color: #000; padding: 0; }
.co-about a { color: #42b983; font-weight: bold; }
.co-empty { background: #f6fbf8; border: 1px solid #cdebdc; padding: 12px 15px; border-radius: 10px; margin: 15px 0 0; text-align: center; }
.co-empty a { color: #42b983; font-weight: bold; }

.co-jobs.jobs-wrapper { max-width: 900px; margin: 0 auto 30px; padding: 0 15px 10px; }
.co-jobs h2, .co-similar h2 { font-size: 20px; color: #000; margin: 0 0 15px; font-weight: 600; text-align: center; margin-left: 0; }
.co-jobs.jobs-wrapper .jobs ul { padding: 0; max-height: none; overflow: visible; margin-top: 10px; }
.co-jobs li.job { list-style: none; }
.co-jobs li.job .title-wrapper a::after { content: ""; position: absolute; inset: 0; }
.co-jobs.closed li.job { opacity: .7; }
@media (max-width: 600px) {
  .co-card { padding: 20px 15px; }
  .co-card h1 { font-size: 22px; }
  .co-jobs.jobs-wrapper { padding: 0 0 10px; }
}

/* Company grid: directory and "similar companies" */
.co-similar { max-width: 900px; margin: 0 auto 40px; padding: 0 15px; }
.co-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.co-grid li { list-style: none; }
.co-tile { position: relative; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 12px; box-shadow: 0 0 2px #42b982; padding: 12px; color: #000; height: 100%; box-sizing: border-box; transition: box-shadow .15s; }
.co-tile:hover { box-shadow: 0 0 0 2px #42b982; }
.co-tile .co-logo { width: 44px; height: 44px; border-radius: 10px; font-size: 20px; }
.co-tile a { color: #000; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.co-tile a::after { content: ""; position: absolute; inset: 0; }
.co-tile .co-meta { color: #666; font-size: 13px; margin-top: 2px; }
.co-tile .co-meta b { color: #42b983; }

.co-directory { max-width: 1100px; margin: 0 auto 40px; padding: 0 15px; color: #000; }
.co-directory h1 { font-size: 30px; text-align: center; margin: 10px 0; }
.co-directory .co-intro { text-align: center; color: #444; max-width: 720px; margin: 0 auto 20px; line-height: 1.6; }
.co-filters { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 20px; }
.co-filters input[type="search"] { width: 100%; max-width: 480px; padding: 12px 16px; border-radius: 10px; border: 1px solid #cfd8d3; font-size: 16px; box-sizing: border-box; }
.co-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.co-chips button { border: 1px solid #cfe9dc; background: #fff; color: #333; border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.co-chips button.active { background: #42b983; border-color: #42b983; color: #fff; }
.co-count { text-align: center; color: #666; font-size: 14px; margin-bottom: 12px; }
.co-noresults { text-align: center; color: #666; display: none; padding: 20px; }

.co-attribution { text-align: center; font-size: 12px; color: #999; margin: 0 0 30px; }
.co-attribution a { color: #999; }
