/* =========================================================
   Provider Directory – Styles
   ========================================================= */

:root{
  --pd-blue: #345DB9;
  --pd-dark-blue: #152654;
  --pd-light-blue: #ECF3FC;
  --pd-font: var(--e-global-typography-d673b06-font-family), Urbanist, Sans-serif;
  --pd-border: #E7ECF3;
}

/* =========================================================
   Base
   ========================================================= */

.provider-directory{
  font-family: var(--pd-font);
}

/* =========================================================
   Filter Bar
   ========================================================= */

.provider-directory__filters{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  background: var(--pd-blue);
  border-radius: 29px;
  padding: 24px 14px;
  border: 1px solid var(--pd-border);
}

.provider-directory__filters label{
  display: block;
  margin: 0 0 6px;
  color: #FFF;
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 400;
  line-height: 35.851px;
  letter-spacing: 0.6px;
}

.provider-directory__filters input,
.provider-directory__filters select{
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #D7DFEA;
  background: #fff;
  padding: 0 12px;
  font-size: 14px;
  color: #2B3440;
  outline: none;
}

.provider-directory__filters input::placeholder{
  color: #8A97A8;
}

.provider-directory__filters #pd_search_btn{
  height: 44px;
  border: 1px solid #FFF;
  background: var(--pd-blue);
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  padding: 0 18px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.provider-directory__filters #pd_search_btn:hover{
  background: #FFF;
  color: var(--pd-blue);
}

.provider-directory__filters #pd_search_btn::before{
  content:"";
  width: 18px;
  height: 18px;
  display:inline-block;
  background: currentColor;
  -webkit-mask: url("/wp-content/uploads/2025/12/Vector-6.svg") no-repeat center / contain;
  mask: url("/wp-content/uploads/2025/12/Vector-6.svg") no-repeat center / contain;
}

/* =========================================================
   Type Buttons
   ========================================================= */

.pd-typebar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 18px 0;
  justify-content: space-between;
}

.pd-typebar .pd-type{
  border:1px solid #345DB9;
  background:#fff;
  color:#345DB9;
  border-radius:999px;
  padding:10px 16px;
  cursor:pointer;
  font-weight:600;
  min-width:220px;
}

.pd-typebar .pd-type.is-active,
.pd-typebar .pd-type:hover{
  background:#345DB9;
  color:#fff;
}

/* =========================================================
   Section Title
   ========================================================= */

.provider-section-title{
  margin-top:40px;
  margin-bottom:60px;
  color: #000;
  text-align: center;
  font-family: var(--pd-font);
  font-size: 25px;
  font-weight: 400;
  line-height: 31.39px;
  letter-spacing: 0.75px;
}

/* =========================================================
   Pagination
   ========================================================= */

.pd-toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin: 10px 0 18px;
  flex-direction: row-reverse;
}

.pd-toprow__title{
  font-weight:700;
  color:#345DB9;
}

nav.pd-pagination{
  text-align:right;
  padding-top:40px;
  padding-bottom:20px;
}

span.pd-pagination__label{
  color: #345DB9;
  font-family: var(--e-global-typography-be73252-font-family), Sans-serif;
  font-size: 18px;
}

button.pd-page{
  border: unset;
  color: #B4B4B4;
  font-family: var(--e-global-typography-be73252-font-family), Sans-serif;
  font-size: 18px;
  padding: 5px;
  background: transparent;
}

button.pd-page:hover,
button.pd-page.is-active{
  color: #345DB9;
}

/* =========================================================
   Grid
   ========================================================= */

.provider-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 1024px){
  .provider-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 767px){
  .provider-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Card Base
   ========================================================= */
   .provider-card__front-title{
margin-top:0px;
   }
   .provider-card__front-head {
  height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 10px;
}

.provider-card__front-title {
  margin-top: 0;
  line-height: 1.2;
}

.provider-card__board-certified {
  margin-top: 4px;
}

.provider-card__imgwrap {
  margin: 10px auto 0;
}
   .provider-card__board-certified{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #000;
  font-family: Urbanist;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.3px;
  margin-top: 4px;
}

.provider-card__board-certified::before{
  content: "";
  width: 11px;
  height: 11px;
  display: inline-block;
  background: url("/wp-content/uploads/2026/05/Vector-7.png") center / contain no-repeat;
  flex: 0 0 auto;
}
.provider-card__creds{
    display:none !important;
}
.provider-card__name{
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}
.provider-card{
  position: relative;
  width: 100%;
  max-width: 285px;
  min-height: 455px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: var(--pd-light-blue);
  box-shadow: 0 2px 7px rgba(0,0,0,.35);
  perspective: 1200px;
  border: 1px solid rgba(21,38,84,.18);
}

.provider-card__top,
.provider-card__bio{
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform .5s ease;
}
.provider-card__bio{
  min-height: 455px;
}
.provider-card__top{
  min-height: 405px;
}

.provider-card__top{
  transform: rotateY(0deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--pd-light-blue);
}

.provider-card__bio{
  transform: rotateY(180deg);
  background: var(--pd-light-blue);
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.provider-card.is-open .provider-card__top{
  transform: rotateY(-180deg);
}

.provider-card.is-open .provider-card__bio{
  transform: rotateY(0deg);
}

.provider-card__bio[hidden]{
  display:block !important;
}

/* =========================================================
   Front Curves
   ========================================================= */

.provider-card__top::before{
  content: "";
  position: absolute;
  top: -58px;
  left: 50%;
  width: 360px;
  height: 150px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 0 0 50% 50%;
  z-index: 2;
}

.provider-card__top::after{
  content: "";
  position: absolute;
  top: 58px;
  left: 0;
  width: 100%;
  height: 130px;
  background: var(--pd-blue);
  z-index: 1;
}

.provider-card__top > div:first-child{
  position: relative;
  z-index: 4;
  flex: 1 1 auto;
  text-align: center;
  padding: 12px 18px 0;
}

/* =========================================================
   Front Top Title
   ========================================================= */

.provider-card__front-title,
.provider-card__back-head .provider-card__name{
  color: var(--Blue-Iris, #345DB9);
  text-align: center;
  font-family: Urbanist;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.6px;
  position: relative;
  z-index: 2;
}

/* =========================================================
   Image
   ========================================================= */

.provider-card__imgwrap{
  width: 138px;
  height: 138px;
  margin: 10px auto 0px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.provider-card__imgwrap img{
  width: 106px;
  height: 106px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   Typography
   ========================================================= */

.provider-card__top h3{
  margin: 0 0 7px;
  color: #000;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 500;
  text-align: center;
}

.provider-card__creds,
.provider-card__affil{
  color: #000;
  font-family: Urbanist;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.75px;
  position: relative;
  z-index: 2;
}

.provider-card__section,
.provider-card__badges{
  display:none;
}

/* =========================================================
   Location
   ========================================================= */

.provider-card__loc{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.2;
  color: #345DB9;
}

.provider-card__loc::before{
  content:"";
  width: 13px;
  height: 13px;
  display:inline-block;
  background: var(--pd-blue);
  -webkit-mask: url("/wp-content/uploads/2025/12/Group-62-1.svg") no-repeat center / contain;
  mask: url("/wp-content/uploads/2025/12/Group-62-1.svg") no-repeat center / contain;
}

.offices{
  width:70%;
}

/* =========================================================
   Flip Button
   ========================================================= */

.provider-card__toggle{
  position: absolute;
  top: 96px;
  right: 14px;
  width: 82px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.provider-card__toggle span{
  order: 1;
  color: #fff;
  font-family: Urbanist;
  font-size: 7px;
  line-height: 1.05;
  text-align: center;
  width: 70px;
  margin: 0;
  text-wrap: auto;
}

.provider-card__toggle::before{
  order: 2;
  content: "";
  width: 26px;
  height: 26px;
  display: block;
  background: url("/wp-content/uploads/2026/05/Flip-ICON.png") center / contain no-repeat;
}

.provider-card__toggle::after{
  display:none;
}

.provider-card__back-head .provider-card__toggle{
  top: 147px;
  right: 13px;
}

/* =========================================================
   Front Buttons
   ========================================================= */

.provider-card__top > div:last-child,
.provider-card__back-actions{
  position: relative;
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 18px 16px;
}

.provider-card__top > div:last-child > a,
.provider-card__back-actions a{
  min-height: 34px;
  border: 1px solid var(--pd-blue);
  border-radius: 999px;
  color: var(--pd-blue);
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
}



.provider-card__top > div:last-child > a:first-child::before{
  content:"";
  width:18px;
  height:18px;
  background:url("/wp-content/uploads/2026/05/Patient-Portal-ICON-1.png") center / contain no-repeat;
  flex:0 0 auto;
}

.provider-card__top > div:last-child > a:last-child::before{
  content:"";
  width:18px;
  height:18px;
  background:url("/wp-content/uploads/2026/05/Schedule-ICON-1.png") center / contain no-repeat;
  flex:0 0 auto;
}

/* =========================================================
   Back Head
   ========================================================= */

.provider-card__back-head{
  position: relative;
  min-height: 230px;
  padding: 18px 20px 0;
  background: #152654;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.provider-card__back-head::before{
  content: "";
  position: absolute;
  top: -78px;
  left: 50%;
  width: 360px;
  height: 220px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 0 0 50% 50%;
  z-index: 1;
}

/* =========================================================
   Quick Info
   ========================================================= */

.provider-card__quick-info{
  position:absolute;
  left:22px;
  bottom:17px;
  z-index:3;
  color:#fff;
  font-size:10px;
  line-height:1.25;
  text-align:left;
  font-weight:600;
}

.provider-card__quick-info a{
  color:#fff;
  text-decoration:none;
  display:block;
  border:0;
  background:transparent;
  margin:0;
  font-size:10px;
  font-weight:600;
  line-height:1.25;
}

/* =========================================================
   Bio Body
   ========================================================= */

.provider-card__back-body{
  padding: 18px 22px 10px;
  color: #000000;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  flex:1;
  overflow:hidden;
}

.provider-card__bio p{
  font-size:10px;
  line-height:1.2;
  color: #345DB9;
  margin:0;
}

/* =========================================================
   Back Buttons
   ========================================================= */












.provider-card__back-actions{
  padding-bottom:18px;
}

.provider-card__back-actions a{
  color: #152654;
  border-color: #152654;
  background:#fff;
}
[type=button].provider-card__toggle:focus, [type=button].provider-card__toggle:hover, button.provider-card__toggle:focus, button.provider-card__toggle:hover{
    background-color:unset !important;
}


.provider-card__back-actions a:first-child::before{
  content:"";
  width:18px;
  height:18px;
  background:url("/wp-content/uploads/2026/05/Patient-Portal-ICON-2.png") center / contain no-repeat;
}

.provider-card__back-actions a:last-child::before{
  content:"";
  width:18px;
  height:18px;
  background:url("/wp-content/uploads/2026/05/Schedule-ICON-2.png") center / contain no-repeat;
}

/* =========================================================
   Empty State
   ========================================================= */

.pd-empty{
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed #CFD7E3;
  border-radius: 12px;
  text-align:center;
  background:#fff;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px){

  .provider-directory__filters{
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .provider-directory__filters #pd_search_btn{
    width: 100%;
    justify-content: center;
  }
}