@charset "UTF-8";
/* CSS Document */


.directory-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 20px 70px;
}

/* Search / Filter */
.directory-filter-wrap {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 7px;
  background: rgba(255,255,255,0.92);
  border-radius: 9px;
  display: grid;
  grid-template-columns: 165px 330px 190px;
  gap: 6px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
}

.directory-filter-wrap label {
  display: none;
}

.directory-filter-wrap select,
.directory-filter-wrap input[type="text"] {
  width: 100%;
  height: 38px;
  padding: 0 9px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  font-size: 13px;
  box-sizing: border-box;
  background: #fff;
  margin: 0;
}

.directory-filter-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 38px;
}

.directory-search-btn,
.directory-reset-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 92px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 6px;
  border: none !important;
  font-weight: 700;
  font-size: 13px;
  line-height: 38px !important;
  text-decoration: none !important;
  box-sizing: border-box;
  white-space: nowrap;
  font-family: inherit;
  vertical-align: top;
}

.directory-search-btn {
  background: #29AEAE;
  color: #fff !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.directory-reset-btn {
  background: #133a3a;
  color: #fff !important;
}

.directory-search-btn:hover,
.directory-reset-btn:hover {
  background: #133a3a;
  color: #fff !important;
}

/* View Toggle */
.directory-heading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
}

.directory-heading-row h2 {
  margin: 0;
  color: #133a3a;
}

.directory-view-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.directory-view-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #c9d7d5;
  border-radius: 7px;
  background: #fff;
  color: #133a3a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.directory-view-toggle a.is-active {
  border-color: #29AEAE;
  background: #29AEAE;
  color: #fff;
}

/* Card Grid */
.directory-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  row-gap: 22px;
  align-items: stretch;
  width: 100%;
}

/* Member Cards */
.member-card {
  background: #fff;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 28px 14px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
}

.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.member-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.2;
  color: #133a3a;
  text-align: left !important;
}

.member-logo {
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 14px;
  overflow: visible;
}

.member-logo img {
  max-width: 90%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.member-category-label {
  text-align: left;
  color: #29AEAE;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  line-height: 1.2;
}

.member-card p,
.member-details {
  text-align: left !important;
}

.member-description,
.member-card p {
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 7px 0 10px;
}

.member-contact {
  font-size: 0.82rem;
  margin-bottom: 7px;
}

.member-details {
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: auto;
  word-break: break-word;
}

.member-details div {
  margin-bottom: 5px;
}

.read-more-btn {
  display: inline-block;
  margin: 5px 0 10px;
  color: #29AEAE;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  text-align: left;
  align-self: flex-start;
}

.read-more-btn:hover {
  text-decoration: underline;
}

.member-actions {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
}

.member-actions a {
  background: #133a3a;
  color: #fff;
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 0.76rem;
}

.member-actions a:hover {
  background: #29AEAE;
  color: #fff;
}

/* Featured Members */
.featured-directory-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.featured-directory-grid .member-card {
  width: 100%;
  padding: 34px 20px 24px;
  border: 2px solid #29AEAE;
}

.featured-directory-grid .member-card h3 {
  font-size: 22px;
}

.featured-directory-grid .member-logo {
  height: 125px;
}

.featured-directory-grid .member-logo img {
  max-width: 90%;
  max-height: 105px;
}

.featured-badge {
  width: auto !important;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  text-align: center;
}

.no-members {
  text-align: center;
  padding: 40px 20px;
}

/* Listing View */
.directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-list-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 13px 15px;
  border: 1px solid #d9e1df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.member-list-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 7px;
  background: #eef4f3;
  color: #0b6867;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
}

.member-list-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.member-list-copy {
  min-width: 0;
}

.member-list-copy h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.25;
  color: #133a3a;
}

.member-list-copy h3 a {
  color: #133a3a;
  text-decoration: none;
}

.member-list-category {
  margin-bottom: 4px;
  color: #29AEAE;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.member-list-copy p {
  margin: 0;
  color: #444;
  font-size: 13px;
  line-height: 1.35;
}

.member-list-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 6px;
  background: #133a3a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.member-list-action:hover {
  background: #29AEAE;
}

/* Responsive */
@media (max-width: 1180px) {
  .directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .directory-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #Subheader {
    padding: 46px 0 38px !important;
  }

  #Subheader h1.title {
    font-size: 30px !important;
  }

  #Subheader h3 {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .directory-grid,
  .featured-directory-grid {
    grid-template-columns: 1fr !important;
  }

  .directory-filter-wrap {
    grid-template-columns: 1fr;
    max-width: 86%;
    margin: 12px auto 0;
    padding: 6px;
    gap: 5px;
    border-radius: 8px;
  }

  .directory-filter-wrap select,
  .directory-filter-wrap input[type="text"] {
    font-size: 12px;
    height: 34px;
  }

  .directory-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    height: 34px;
  }

  .directory-search-btn,
  .directory-reset-btn {
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    font-size: 12px;
    line-height: 34px !important;
  }

  .member-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .directory-heading-row {
    justify-content: center;
    text-align: center;
  }

  .member-list-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .member-list-image {
    width: 62px;
    height: 62px;
  }

  .member-list-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}
