.cf-cta {
  background-color: #1f0040;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px 0;
  color: white;
  font-family: "Greed Condensed Light", "Greed Condensed Heavy", Arial;
  font-weight: 400;
}

.cf-cta-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cf-cta-title {
  font-family: "Greed Condensed Light", "Greed Condensed Heavy", Arial;
  font-weight: 300;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 40px;
}

.cf-cta-desc {
  font-family: grotesque, ESRebond, Arial;
  font-weight: 400;
  margin: 0;
  font-size: 20px;
  max-width: 900px;
}

.cf-cta-postcode {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.cf-cta-form {
  width: 100%;
  min-width: 750px
  margin: 0;
  padding: 0;
}

.cf-cta-input-group {
  background: white;
  display: flex;
  width: 100%;
  border: 2px solid #dbd8dd;
}

.cf-cta-input-group input {
  flex: 1 auto;
  border: none !important;
  height: 80px !important;
  font-size: 20px !important;
  font-family: ESRebond, Arial, Arial !important;
  font-weight: 500 !important;
  line-height: 80px !important;
  padding: 0 1.5em !important;
}

#cf-cta-search-button {
  background: none;
  font-size: 24px;
  width: 50px;
  border: none;
  height: 80px;
  line-height: 80px;
  width: 80px;
  color: #5e008d;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#cf-cta-search-button:hover {
  background: #eee;
  cursor: pointer;
}

#cf-cta-link {
  background: #ff685e;
  color: white;
  line-height: 50px;
  height: 50px;
  text-align: center;
  padding: 0 2.5rem;
}

#cf-cta-link:hover {
  background: #ff685e;
  color: #1f0040;
}

#cf-cta-list-view {
  display: none;
}

#cf-cta-clinic-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;

  padding-left: 8px;
  padding-right: 8px;
}

.cf-cta-list-card-body > div {
  flex: 0 50%;
}
#cf-cta-clinic-list > .clinic {
  width: 100%;
}

.cf-cta-list-card {
  display: grid;
  width: 100%;
  grid-template-columns: 3fr 7fr 2fr;
  align-items: flex-start;
  column-gap: 1.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid #dbd8dd;
  border-left-width: 8px;
  border-left-color: #5e008d;
  text-align: left;
}

.cf-cta-list-card-header {
  flex: 0 auto;
}

.cf-cta-list-card-footer {
  flex: 0 auto;
  display: flex;
  min-height: 140px;
}

.cf-cta-list-card-body {
  flex: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.cf-cta-list-card-footer {
  flex: 1 auto;
  width: 100%;
  min-height: auto !important;
}

.cf-cta-clinic-opening-hours {
  margin-bottom: 8px;
}

.cf-cta-clinic-address,
.cf-cta-clinic-opening-hours {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-family: ESRebond, Arial, Arial;
  font-weight: 400;
}

.cf-cta-clinic-address svg,
.cf-cta-clinic-tel svg,
.cf-cta-clinic-opening-hours svg {
  font-size: 24px;
  flex-shrink: 0;
}

.cf-cta-clinic-address address,
.cf-cta-clinic-times {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-style: normal;
}

.cf-cta-clinic-tel,
.cf-cta-clinic-address a {
  color:var(--clr-btn-lt);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: ESRebond, Arial, Arial;
  font-weight: 600;
}

.cf-cta-clinic-tel:hover,
.cf-cta-clinic-address:hover a {
  color:var(--clr-btn-txt-dk);
}

.active .cf-cta-clinic-tel,
.active .cf-cta-clinic-address a {
  color: white !important;
}

.cf-cta-list-card-footer .cf-cta-clinic-cta {
  width: 100% !important;
  max-width: 380px;
}

.cf-cta-clinic-cta {
  font-family: ESRebond, Arial, Arial;
  color: var(--clr-btn-txt-dk) !important;
  background-color: var(--clr-btn-lt) !important;
  font-weight: 600;
  line-height: 50px;
  height: 50px;
  text-align: center;
  padding: 0 1rem;
  width: 100%;
  text-decoration: none;
}

.cf-cta-clinic-cta:hover {
  color: var(--clr-btn-txt-lt) !important;
  background-color: var(--clr-btn-lt) !important;
}

.active .cf-cta-clinic-cta {
  border: 2px solid white;
  color: white;
}

.active .cf-cta-clinic-cta:hover {
  background-color: white;
  color: #5e008d;
}

@media (max-width: 1024px) {
    .cf-cta-list-card, .cf-cta-list-card-body {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px;
    }
}

@media(max-width:768px){
  .cf-cta-postcode {
    display: flex !important;
    flex-direction: column !important;
  }
}
