/* Public directory and listing headers. Keep both kinds of logo proportional. */
.wf-directory .wf-header .wf-brand {
  display:flex;
  align-items:center;
  flex:0 1 260px;
  max-width:100%;
  min-width:0;
  line-height:0;
}
.wf-directory .wf-header .wf-site-logo {
  display:block;
  width:260px;
  max-width:100%;
  height:auto;
  max-height:88px;
  object-fit:contain;
  object-position:left center;
  flex:0 1 auto;
}
.wf-directory .wf-detail .wf-card > .wf-winery-logo-header {
  display:grid;
  place-items:center;
  min-height:180px;
  padding:20px 24px;
  background:#fff;
  border-bottom:1px solid var(--wf-line, #e6dbdf);
}
.wf-directory .wf-detail .wf-winery-logo-header > img.wf-winery-logo {
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:220px;
  object-fit:contain;
  object-position:center;
  padding:0;
  border-radius:0;
}
@media(max-width:640px) {
  .wf-directory .wf-header .wf-brand { flex-basis:auto; }
  .wf-directory .wf-header .wf-site-logo { max-height:80px; }
  .wf-directory .wf-detail .wf-card > .wf-winery-logo-header {
    min-height:140px;
    padding:16px;
  }
  .wf-directory .wf-detail .wf-winery-logo-header > img.wf-winery-logo {
    max-height:180px;
  }
}
