/* DPF native communities — accepted legacy parity */

.dpf-communities-native{
  background:#fff;
}

.dpf-communities-native .subHeader{
  background:linear-gradient(
    110deg,
    #e5b900 0%,
    #c4a900 20%,
    #647622 58%,
    #004b43 100%
  );
  padding:48px 20px;
  text-align:center;
}

.dpf-communities-native .subHeader .title{
  color:#fff;
  font-size:34px;
  line-height:1.35;
  font-weight:700;
  max-width:1100px;
  margin:0 auto;
}

.dpf-communities-native .breadcrumbs{
  margin-top:10px;
  color:#fff;
  gap:8px;
  font-size:13px;
}

.dpf-communities-native .breadcrumbs a{
  color:#fff;
  text-decoration:none;
}

.dpf-communities-native .communities-wrap{
  max-width:1240px;
  margin:0 auto;
  padding:58px 20px 50px;
}

.dpf-communities-native .communities-toolbar{
  display:flex;
  justify-content:flex-end;
  margin-bottom:28px;
}

.dpf-communities-native .community-search{
  width:50%;
  min-width:320px;
  border:1px solid #e5b900;
  border-radius:10px;
  padding:13px 16px;
  font-size:15px;
  outline:none;
  background:#fff;
}

.dpf-communities-native .community-search:focus{
  border-color:#d7aa00;
}

.dpf-communities-native .separator{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:38px;
}

.dpf-communities-native .separator:before{
  content:"";
  width:185px;
  height:2px;
  background:#064b43;
  flex:none;
}

.dpf-communities-native .separator:after{
  content:"";
  height:1px;
  background:#e1e1e1;
  flex:1;
}

.dpf-communities-native .community-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:34px 24px;
}

.dpf-communities-native .community-card{
  display:flex;
  min-height:150px;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 1px 8px rgba(0,0,0,.15);
}

.dpf-communities-native .community-card-image{
  width:34%;
  min-width:190px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:block;
}

.dpf-communities-native .community-card-body{
  flex:1;
  padding:22px 18px;
}

.dpf-communities-native .community-card h4{
  margin:0 0 15px;
  font-size:18px;
  line-height:1.3;
  font-weight:700;
  color:#111;
}

.dpf-communities-native .community-card h4 a{
  color:inherit;
  text-decoration:none;
}

.dpf-communities-native .community-count{
  padding:12px 14px;
  background:#f2f2f4;
  border-radius:6px;
  font-size:13px;
  color:#222;
}

.dpf-communities-native .community-count b{
  font-weight:700;
}

.dpf-communities-native .community-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:34px 0 10px;
}

.dpf-communities-native .community-pagination a,
.dpf-communities-native .community-pagination span{
  width:32px;
  height:32px;
  border:1px solid #d1d5db;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#333;
  background:#fff;
  font-size:13px;
}

.dpf-communities-native .community-pagination .active{
  background:#e3b263;
  border-color:#e3b263;
  color:#111;
}

.dpf-communities-native .community-pagination .disabled{
  opacity:.45;
  pointer-events:none;
}

.dpf-communities-native .community-empty{
  text-align:center;
  padding:40px 0;
  color:#666;
}

@media (max-width:900px){
  .dpf-communities-native .community-grid{
    grid-template-columns:1fr;
  }

  .dpf-communities-native .community-search{
    width:100%;
    min-width:0;
  }
}

@media (max-width:640px){
  .dpf-communities-native .subHeader{
    padding:35px 16px;
  }

  .dpf-communities-native .subHeader .title{
    font-size:26px;
  }

  .dpf-communities-native .communities-wrap{
    padding:36px 14px;
  }

  .dpf-communities-native .community-card{
    min-height:125px;
  }

  .dpf-communities-native .community-card-image{
    min-width:125px;
    width:38%;
  }

  .dpf-communities-native .community-card-body{
    padding:16px 12px;
  }

  .dpf-communities-native .community-card h4{
    font-size:16px;
  }
}
