.experts-page { background: #f7f8fa; }
.directory-hero { padding: 24px 0 26px; background: linear-gradient(110deg, #3A3790, #221F5A); color: #fff; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: rgba(255,255,255,.83); font-size: 11px; }
.directory-hero h1 { margin: 0; font-size: 28px; letter-spacing: -.04em; line-height: 1.35; }
.directory-hero p { margin: 6px 0 0; color: rgba(255,255,255,.9); font-size: 13px; }
.directory-section { padding: 30px 0 66px; }
.directory-layout.container { width: min(1200px, calc(100% - 32px)); padding: 0 16px; }
.directory-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: start; gap: 32px; }
.directory-sidebar { display: grid; gap: 14px; }
.sidebar-panel { min-width: 0; padding: 17px 16px; border: 1px solid #edf0f3; border-radius: 10px; background: #fff; box-shadow: 0 3px 12px rgba(22,31,40,.035); }
.sidebar-panel h2 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--bni-red); color: #222831; font-size: 13px; line-height: 1.4; }
.sidebar-categories { display: grid; gap: 3px; }
.sidebar-filter { display: flex; min-height: 38px; align-items: center; gap: 13px; padding: 0 11px; border: 0; border-radius: 6px; background: transparent; color: #4b5563; text-align: left; font-size: 11px; cursor: pointer; }
.sidebar-filter span { display: inline-grid; width: 13px; place-items: center; color: #27364b; font-size: 12px; }
.sidebar-filter:hover, .sidebar-filter.is-active { background: var(--bni-red); color: #fff; }
.sidebar-filter:hover span, .sidebar-filter.is-active span { color: #fff; }
.region-panel p { margin: 12px 0; color: #68717c; font-size: 11px; line-height: 1.7; }
.region-panel a { color: var(--bni-red); font-size: 11px; font-weight: 700; }
.directory-content { min-width: 0; }
.directory-search { display: flex; width: min(100%, 500px); height: 46px; margin: 0 auto 19px; padding: 4px; border: 1px solid #dfe4ea; border-radius: 28px; background: #fff; box-shadow: 0 2px 8px rgba(20,31,43,.04); }
.directory-search input { width: 100%; min-width: 0; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #242a32; font-size: 12px; }
.directory-search input::placeholder { color: #8c949d; }
.directory-search button { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: var(--bni-red); color: #fff; font-size: 23px; line-height: 1; cursor: pointer; }
.directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #67717b; font-size: 12px; }
.directory-toolbar p { margin: 0; }
.directory-toolbar strong { color: #303943; font-weight: 700; }
.directory-toolbar select { min-width: 92px; height: 34px; padding: 0 9px; border: 1px solid #dfe4e9; border-radius: 5px; background: #fff; color: #313943; font-size: 11px; }
.directory-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.directory-chip { min-height: 27px; padding: 4px 12px; border: 1px solid #e1e5ea; border-radius: 18px; background: #fff; color: #55606c; font-size: 10px; white-space: nowrap; cursor: pointer; }
.directory-chip:hover, .directory-chip.is-active { border-color: var(--bni-red); background: var(--bni-red); color: #fff; }
.expert-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; gap: 24px; }
.expert-card { min-width: 0; overflow: hidden; border: 1px solid #edf0f3; border-radius: 10px; background: #fff; box-shadow: 0 5px 15px rgba(20,28,36,.055); }
.expert-card[hidden] { display: none; }
.expert-photo { position: relative; display: flex; height: 280px; align-items: end; justify-content: center; overflow: hidden; background: #fff; }
.expert-photo::after { position: absolute; top: 9px; left: 9px; display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #fff; border-radius: 50%; background: var(--bni-red); box-shadow: 0 2px 5px #0002; color: #fff; content: "BNI"; font-size: 7px; font-weight: 800; }
.expert-photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.expert-grade { position: absolute; z-index: 1; right: 18px; bottom: 8px; left: 18px; padding: 4px 10px; border-radius: 3px; background: linear-gradient(90deg, #cfaa26, #94710e); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-align: center; }
.expert-grade.green-club, .expert-grade.green-light { background: linear-gradient(90deg, #16845a, #07553f); }
.expert-info { display: flex; min-height: 371px; flex-direction: column; padding: 24px; }
.expert-category { color: #bb1c2c; font-size: 12px; font-weight: 700; }
.expert-info h2 { margin: 0 0 4px; color: #222a34; font-size: 20px; line-height: 1.3; }
.expert-company { min-height: 0; margin: 0 0 16px; color: #53606b; font-size: 14px; line-height: 1.6; }
.expert-description { min-height: 48px; margin: 0 0 16px; color: #59636d; font-size: 14px; line-height: 1.7; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 8px; min-height: 27px; margin: 0 0 16px; }
.expert-tags span { padding: 4px 12px; border-radius: 16px; background: #f0f3f6; color: #64707b; font-size: 12px; line-height: 1.6; }
.expert-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: auto; }
.expert-contact { display: flex; min-width: 0; min-height: 38px; align-items: center; justify-content: center; gap: 5px; border-radius: 5px; background: #16a05a; color: #fff; font-size: 11px; font-weight: 700; }
.expert-contact:hover { filter: brightness(.93); }
.expert-contact.visitor { background: #f4d500; color: #252525; }
.expert-contact.about { grid-column: 1 / -1; background: #202d42; color: #fff; }
.directory-empty { padding: 44px 10px; color: #69737e; text-align: center; }
.directory-cta { padding: 45px 0 48px; background: linear-gradient(110deg, #3A3790, #221F5A); color: #fff; text-align: center; }
.directory-cta h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.directory-cta p { margin: 8px 0 22px; color: rgba(255,255,255,.85); font-size: 13px; }
.directory-cta .button { min-width: 120px; min-height: 43px; }
.directory-cta .button span { color: var(--bni-red); }
.directory-footer { padding: 35px 0 20px; background: #111827; }
.directory-footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .8fr .85fr; gap: 26px; }
.directory-footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.directory-footer-grid .footer-brand img { width: 135px; }
.directory-footer-grid h2 { margin: 0 0 4px; color: #fff; font-size: 13px; }
.directory-footer-grid p, .directory-footer-grid a:not(.footer-brand), .directory-footer-grid small { margin: 0; color: #aeb8c6; font-size: 11px; }
.directory-footer-grid > div:first-child p { margin-top: 6px; }
.directory-footer-grid a:not(.footer-brand):hover { color: #fff; }
.directory-copyright { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid #293345; }
@media (max-width: 1000px) {
  .directory-layout.container { width: min(1200px, calc(100% - 32px)); padding: 0 16px; }
  .directory-layout { grid-template-columns: 230px minmax(0,1fr); gap: 20px; }
  .expert-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .directory-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
  .directory-chip { flex: 0 0 auto; }
}
@media (max-width: 760px) {
  .directory-hero { padding: 19px 0 22px; }
  .directory-hero h1 { font-size: 24px; }
  .directory-section { padding: 20px 0 42px; }
  .directory-layout.container { width: calc(100% - 34px); padding: 0; }
  .directory-layout { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .directory-sidebar { grid-template-columns: 1fr; }
  .sidebar-panel { padding: 13px; }
  .sidebar-categories { display: flex; min-width: 0; overflow-x: auto; gap: 6px; padding: 1px 0 5px; scrollbar-width: thin; }
  .sidebar-filter { min-height: 32px; flex: 0 0 auto; gap: 7px; padding: 0 10px; border: 1px solid #e6e9ed; border-radius: 18px; font-size: 10px; }
  .sidebar-filter span { display: none; }
  .region-panel { display: none; }
  .directory-search { margin-bottom: 15px; }
  .directory-chips { margin-right: -17px; }
  .expert-grid { gap: 10px; }
  .expert-photo { height: 220px; }
  .expert-info { min-height: 0; padding: 16px; }
  .directory-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 23px 17px; }
}
@media (max-width: 430px) {
  .expert-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .expert-photo { height: 190px; }
  .expert-info { min-height: 0; padding: 13px; }
  .expert-info h2 { font-size: 17px; }
  .expert-company, .expert-description { font-size: 12px; }
  .expert-description { min-height: 42px; }
  .expert-tags span { padding: 4px 8px; font-size: 10px; }
  .directory-cta h2 { font-size: 21px; }
}
