/* FCC Business Directory: styles copied from the original Divi Code module embed. */
.fcc-bd {
  --fcc-red: #9a3324;
  --fcc-red-hover: #7a281c;
  --fcc-ink: #2d2926;
  --fcc-muted: #5c5854;
  --fcc-taupe: #d7d2cb;
  --fcc-paper: #efeee8;
  --fcc-slate: #7fa0ac;
  --fcc-slate-soft: #e5edf3;
  --fcc-card: #ffffff;
  --fcc-radius: 4px;
  --fcc-focus: 0 0 0 3px rgba(154,51,36,.22);
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
  color: var(--fcc-ink);
  max-width: 1100px;
  margin: 0 auto;
  background: var(--fcc-paper);
  padding: 1.5rem 1.25rem 1.75rem;
  border: 1px solid var(--fcc-taupe);
}
.fcc-bd * { box-sizing: border-box; }
.fcc-bd ::selection {
  background: rgba(154,51,36,.18);
  color: var(--fcc-ink);
}
.fcc-bd-kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fcc-red);
}
.fcc-bd-title {
  margin: 0 0 .75rem;
  font-family: 'Alice', Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fcc-ink);
}
.fcc-bd-intro {
  margin: 0 0 1.35rem;
  color: var(--fcc-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 42rem;
}
.fcc-bd-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .9rem;
  align-items: center;
}
.fcc-bd-search { flex: 1 1 240px; position: relative; }
.fcc-bd-search input {
  width: 100%;
  min-height: 44px;
  padding: .75rem 1rem .75rem 2.6rem;
  border: 1px solid var(--fcc-taupe);
  border-radius: var(--fcc-radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--fcc-ink);
  background: var(--fcc-card);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fcc-bd-search input::placeholder { color: var(--fcc-muted); opacity: 1; }
.fcc-bd-search input:focus {
  border-color: var(--fcc-red);
  box-shadow: var(--fcc-focus);
}
.fcc-bd-search svg {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--fcc-muted);
  pointer-events: none;
}
.fcc-bd-count {
  color: var(--fcc-muted);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.fcc-bd-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--fcc-taupe);
}
.fcc-bd-cat {
  border: 1px solid var(--fcc-taupe);
  background: var(--fcc-card);
  color: var(--fcc-ink);
  border-radius: var(--fcc-radius);
  padding: .55rem .85rem;
  min-height: 44px;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fcc-bd-cat:hover { border-color: var(--fcc-red); color: var(--fcc-red); }
.fcc-bd-cat:focus { outline: none; }
.fcc-bd-cat:focus-visible {
  border-color: var(--fcc-red);
  box-shadow: var(--fcc-focus);
}
.fcc-bd-cat.is-active { background: var(--fcc-red); border-color: var(--fcc-red); color: #fff; }
.fcc-bd-cat.is-active:hover { color: #fff; }
.fcc-bd-cat.is-active:focus-visible {
  box-shadow: var(--fcc-focus), 0 0 0 1px #fff inset;
}
.fcc-bd-cat span { font-weight: 500; opacity: .85; letter-spacing: 0; }
.fcc-bd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.fcc-bd-card {
  background: var(--fcc-card);
  border: 1px solid var(--fcc-taupe);
  border-top: 3px solid var(--fcc-red);
  border-radius: var(--fcc-radius);
  padding: 1.15rem 1.15rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  transition: box-shadow .25s ease, transform .25s ease;
}
.fcc-bd-card:hover {
  box-shadow: 0 10px 24px rgba(45,41,38,.08);
  transform: translateY(-2px);
}
.fcc-bd-card-top {
  display: flex;
  gap: .85rem;
  align-items: center;
}
.fcc-bd-logo-wrap {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: var(--fcc-radius);
  border: 1px solid #e4e0d8;
  background: #f3f1ed;
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
}
.fcc-bd-logo-wrap.has-logo {
  background: var(--fcc-card);
  border-color: var(--fcc-taupe);
}
.fcc-bd-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
  background: var(--fcc-card);
}
.fcc-bd-logo-wrap img.is-hidden { display: none; }
.fcc-bd-mono {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--fcc-muted);
  background: #f3f1ed;
}
.fcc-bd-logo-wrap.has-logo .fcc-bd-mono { display: none; }
.fcc-bd-card-heading { min-width: 0; flex: 1; }
.fcc-bd-name {
  margin: 0;
  font-family: 'Alice', Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fcc-ink);
}
.fcc-bd-cat-label {
  margin: .2rem 0 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fcc-muted);
  line-height: 1.3;
}
.fcc-bd-type {
  margin: .15rem 0 0;
  color: var(--fcc-ink);
  font-size: .9rem;
  line-height: 1.5;
  flex: 1;
}
.fcc-bd-contact {
  margin: 0;
  font-size: .85rem;
  color: var(--fcc-muted);
  line-height: 1.45;
}
.fcc-bd-contact strong {
  color: var(--fcc-ink);
  font-weight: 600;
}
.fcc-bd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .45rem;
  padding-top: .75rem;
  border-top: 1px solid var(--fcc-paper);
}
.fcc-bd-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .55rem .85rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--fcc-radius);
  border: 1px solid var(--fcc-taupe);
  color: var(--fcc-ink);
  background: var(--fcc-card);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fcc-bd-actions a:hover { border-color: var(--fcc-red); color: var(--fcc-red); }
.fcc-bd-actions a:focus { outline: none; }
.fcc-bd-actions a:focus-visible {
  border-color: var(--fcc-red);
  box-shadow: var(--fcc-focus);
}
.fcc-bd-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.75rem 1.25rem;
  color: var(--fcc-muted);
  background: var(--fcc-card);
  border: 1px dashed var(--fcc-taupe);
  border-radius: var(--fcc-radius);
}
.fcc-bd-empty strong {
  display: block;
  margin-bottom: .4rem;
  color: var(--fcc-ink);
  font-family: 'Alice', Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.fcc-bd-empty p {
  margin: 0 0 1rem;
  font-size: .95rem;
  line-height: 1.5;
}
.fcc-bd-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid var(--fcc-red);
  border-radius: var(--fcc-radius);
  background: var(--fcc-red);
  color: #fff;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fcc-bd-empty-btn:hover { background: var(--fcc-red-hover); border-color: var(--fcc-red-hover); }
.fcc-bd-empty-btn:focus { outline: none; }
.fcc-bd-empty-btn:focus-visible { box-shadow: var(--fcc-focus); }
.fcc-bd-footer {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--fcc-card);
  border: 1px solid var(--fcc-taupe);
  border-left: 4px solid var(--fcc-slate);
  color: var(--fcc-muted);
  font-size: .9rem;
  line-height: 1.55;
}
.fcc-bd-footer a {
  color: var(--fcc-red);
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}
.fcc-bd-footer a:hover { text-decoration: underline; }
.fcc-bd-footer a:focus { outline: none; }
.fcc-bd-footer a:focus-visible {
  outline: 2px solid var(--fcc-red);
  outline-offset: 2px;
}
@media (max-width: 520px) {
  .fcc-bd { padding: 1.15rem 1rem 1.35rem; }
  .fcc-bd-title { font-size: 1.65rem; }
  .fcc-bd-name { font-size: 1.15rem; }
  .fcc-bd-cats { gap: .45rem; }
  .fcc-bd-toolbar { gap: .55rem; }
  .fcc-bd-count { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fcc-bd-card,
  .fcc-bd-cat,
  .fcc-bd-actions a,
  .fcc-bd-search input,
  .fcc-bd-empty-btn {
    transition: none;
  }
  .fcc-bd-card:hover { transform: none; }
}
